AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
ListPropertiesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace IoTTwinMaker {
15namespace Model {
16
20 public:
21 AWS_IOTTWINMAKER_API ListPropertiesRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "ListProperties"; }
28
29 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
36 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
37 template <typename WorkspaceIdT = Aws::String>
38 void SetWorkspaceId(WorkspaceIdT&& value) {
39 m_workspaceIdHasBeenSet = true;
40 m_workspaceId = std::forward<WorkspaceIdT>(value);
41 }
42 template <typename WorkspaceIdT = Aws::String>
43 ListPropertiesRequest& WithWorkspaceId(WorkspaceIdT&& value) {
44 SetWorkspaceId(std::forward<WorkspaceIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetComponentName() const { return m_componentName; }
54 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
55 template <typename ComponentNameT = Aws::String>
56 void SetComponentName(ComponentNameT&& value) {
57 m_componentNameHasBeenSet = true;
58 m_componentName = std::forward<ComponentNameT>(value);
59 }
60 template <typename ComponentNameT = Aws::String>
61 ListPropertiesRequest& WithComponentName(ComponentNameT&& value) {
62 SetComponentName(std::forward<ComponentNameT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
73 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
74 template <typename ComponentPathT = Aws::String>
75 void SetComponentPath(ComponentPathT&& value) {
76 m_componentPathHasBeenSet = true;
77 m_componentPath = std::forward<ComponentPathT>(value);
78 }
79 template <typename ComponentPathT = Aws::String>
80 ListPropertiesRequest& WithComponentPath(ComponentPathT&& value) {
81 SetComponentPath(std::forward<ComponentPathT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetEntityId() const { return m_entityId; }
92 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
93 template <typename EntityIdT = Aws::String>
94 void SetEntityId(EntityIdT&& value) {
95 m_entityIdHasBeenSet = true;
96 m_entityId = std::forward<EntityIdT>(value);
97 }
98 template <typename EntityIdT = Aws::String>
99 ListPropertiesRequest& WithEntityId(EntityIdT&& value) {
100 SetEntityId(std::forward<EntityIdT>(value));
101 return *this;
102 }
104
106
109 inline int GetMaxResults() const { return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) {
112 m_maxResultsHasBeenSet = true;
113 m_maxResults = value;
114 }
116 SetMaxResults(value);
117 return *this;
118 }
120
122
125 inline const Aws::String& GetNextToken() const { return m_nextToken; }
126 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
127 template <typename NextTokenT = Aws::String>
128 void SetNextToken(NextTokenT&& value) {
129 m_nextTokenHasBeenSet = true;
130 m_nextToken = std::forward<NextTokenT>(value);
131 }
132 template <typename NextTokenT = Aws::String>
134 SetNextToken(std::forward<NextTokenT>(value));
135 return *this;
136 }
138 private:
139 Aws::String m_workspaceId;
140
141 Aws::String m_componentName;
142
143 Aws::String m_componentPath;
144
145 Aws::String m_entityId;
146
147 int m_maxResults{0};
148
149 Aws::String m_nextToken;
150 bool m_workspaceIdHasBeenSet = false;
151 bool m_componentNameHasBeenSet = false;
152 bool m_componentPathHasBeenSet = false;
153 bool m_entityIdHasBeenSet = false;
154 bool m_maxResultsHasBeenSet = false;
155 bool m_nextTokenHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace IoTTwinMaker
160} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
ListPropertiesRequest & WithMaxResults(int value)
ListPropertiesRequest & WithComponentName(ComponentNameT &&value)
ListPropertiesRequest & WithEntityId(EntityIdT &&value)
ListPropertiesRequest & WithComponentPath(ComponentPathT &&value)
ListPropertiesRequest & WithWorkspaceId(WorkspaceIdT &&value)
ListPropertiesRequest & WithNextToken(NextTokenT &&value)
AWS_IOTTWINMAKER_API ListPropertiesRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String