AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetPropertyValueRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/iottwinmaker/model/TabularConditions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace IoTTwinMaker
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_IOTTWINMAKER_API GetPropertyValueRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetPropertyValue"; }
33
34 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetComponentName() const { return m_componentName; }
42 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
43 template<typename ComponentNameT = Aws::String>
44 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
45 template<typename ComponentNameT = Aws::String>
46 GetPropertyValueRequest& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
48
50
54 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
55 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
56 template<typename ComponentPathT = Aws::String>
57 void SetComponentPath(ComponentPathT&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::forward<ComponentPathT>(value); }
58 template<typename ComponentPathT = Aws::String>
59 GetPropertyValueRequest& WithComponentPath(ComponentPathT&& value) { SetComponentPath(std::forward<ComponentPathT>(value)); return *this;}
61
63
66 inline const Aws::String& GetComponentTypeId() const { return m_componentTypeId; }
67 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
68 template<typename ComponentTypeIdT = Aws::String>
69 void SetComponentTypeId(ComponentTypeIdT&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::forward<ComponentTypeIdT>(value); }
70 template<typename ComponentTypeIdT = Aws::String>
71 GetPropertyValueRequest& WithComponentTypeId(ComponentTypeIdT&& value) { SetComponentTypeId(std::forward<ComponentTypeIdT>(value)); return *this;}
73
75
78 inline const Aws::String& GetEntityId() const { return m_entityId; }
79 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
80 template<typename EntityIdT = Aws::String>
81 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
82 template<typename EntityIdT = Aws::String>
83 GetPropertyValueRequest& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
85
87
90 inline const Aws::Vector<Aws::String>& GetSelectedProperties() const { return m_selectedProperties; }
91 inline bool SelectedPropertiesHasBeenSet() const { return m_selectedPropertiesHasBeenSet; }
92 template<typename SelectedPropertiesT = Aws::Vector<Aws::String>>
93 void SetSelectedProperties(SelectedPropertiesT&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties = std::forward<SelectedPropertiesT>(value); }
94 template<typename SelectedPropertiesT = Aws::Vector<Aws::String>>
95 GetPropertyValueRequest& WithSelectedProperties(SelectedPropertiesT&& value) { SetSelectedProperties(std::forward<SelectedPropertiesT>(value)); return *this;}
96 template<typename SelectedPropertiesT = Aws::String>
97 GetPropertyValueRequest& AddSelectedProperties(SelectedPropertiesT&& value) { m_selectedPropertiesHasBeenSet = true; m_selectedProperties.emplace_back(std::forward<SelectedPropertiesT>(value)); return *this; }
99
101
104 inline const Aws::String& GetWorkspaceId() const { return m_workspaceId; }
105 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
106 template<typename WorkspaceIdT = Aws::String>
107 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
108 template<typename WorkspaceIdT = Aws::String>
109 GetPropertyValueRequest& WithWorkspaceId(WorkspaceIdT&& value) { SetWorkspaceId(std::forward<WorkspaceIdT>(value)); return *this;}
111
113
117 inline int GetMaxResults() const { return m_maxResults; }
118 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
119 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
120 inline GetPropertyValueRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
122
124
127 inline const Aws::String& GetNextToken() const { return m_nextToken; }
128 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
129 template<typename NextTokenT = Aws::String>
130 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
131 template<typename NextTokenT = Aws::String>
132 GetPropertyValueRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
134
136
139 inline const Aws::String& GetPropertyGroupName() const { return m_propertyGroupName; }
140 inline bool PropertyGroupNameHasBeenSet() const { return m_propertyGroupNameHasBeenSet; }
141 template<typename PropertyGroupNameT = Aws::String>
142 void SetPropertyGroupName(PropertyGroupNameT&& value) { m_propertyGroupNameHasBeenSet = true; m_propertyGroupName = std::forward<PropertyGroupNameT>(value); }
143 template<typename PropertyGroupNameT = Aws::String>
144 GetPropertyValueRequest& WithPropertyGroupName(PropertyGroupNameT&& value) { SetPropertyGroupName(std::forward<PropertyGroupNameT>(value)); return *this;}
146
148
151 inline const TabularConditions& GetTabularConditions() const { return m_tabularConditions; }
152 inline bool TabularConditionsHasBeenSet() const { return m_tabularConditionsHasBeenSet; }
153 template<typename TabularConditionsT = TabularConditions>
154 void SetTabularConditions(TabularConditionsT&& value) { m_tabularConditionsHasBeenSet = true; m_tabularConditions = std::forward<TabularConditionsT>(value); }
155 template<typename TabularConditionsT = TabularConditions>
156 GetPropertyValueRequest& WithTabularConditions(TabularConditionsT&& value) { SetTabularConditions(std::forward<TabularConditionsT>(value)); return *this;}
158 private:
159
160 Aws::String m_componentName;
161 bool m_componentNameHasBeenSet = false;
162
163 Aws::String m_componentPath;
164 bool m_componentPathHasBeenSet = false;
165
166 Aws::String m_componentTypeId;
167 bool m_componentTypeIdHasBeenSet = false;
168
169 Aws::String m_entityId;
170 bool m_entityIdHasBeenSet = false;
171
172 Aws::Vector<Aws::String> m_selectedProperties;
173 bool m_selectedPropertiesHasBeenSet = false;
174
175 Aws::String m_workspaceId;
176 bool m_workspaceIdHasBeenSet = false;
177
178 int m_maxResults{0};
179 bool m_maxResultsHasBeenSet = false;
180
181 Aws::String m_nextToken;
182 bool m_nextTokenHasBeenSet = false;
183
184 Aws::String m_propertyGroupName;
185 bool m_propertyGroupNameHasBeenSet = false;
186
187 TabularConditions m_tabularConditions;
188 bool m_tabularConditionsHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace IoTTwinMaker
193} // namespace Aws
GetPropertyValueRequest & WithNextToken(NextTokenT &&value)
GetPropertyValueRequest & WithComponentName(ComponentNameT &&value)
GetPropertyValueRequest & WithComponentPath(ComponentPathT &&value)
GetPropertyValueRequest & WithEntityId(EntityIdT &&value)
GetPropertyValueRequest & WithSelectedProperties(SelectedPropertiesT &&value)
GetPropertyValueRequest & WithWorkspaceId(WorkspaceIdT &&value)
GetPropertyValueRequest & WithComponentTypeId(ComponentTypeIdT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetSelectedProperties() const
GetPropertyValueRequest & WithTabularConditions(TabularConditionsT &&value)
AWS_IOTTWINMAKER_API GetPropertyValueRequest()=default
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
GetPropertyValueRequest & AddSelectedProperties(SelectedPropertiesT &&value)
GetPropertyValueRequest & WithPropertyGroupName(PropertyGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector