7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10#include <aws/iottwinmaker/model/ComponentPropertyGroupResponse.h>
11#include <aws/iottwinmaker/model/ComponentSummary.h>
12#include <aws/iottwinmaker/model/PropertyResponse.h>
13#include <aws/iottwinmaker/model/Status.h>
24namespace IoTTwinMaker {
46 template <
typename ComponentNameT = Aws::String>
48 m_componentNameHasBeenSet =
true;
49 m_componentName = std::forward<ComponentNameT>(value);
51 template <
typename ComponentNameT = Aws::String>
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
82 template <
typename ComponentTypeIdT = Aws::String>
84 m_componentTypeIdHasBeenSet =
true;
85 m_componentTypeId = std::forward<ComponentTypeIdT>(value);
87 template <
typename ComponentTypeIdT = Aws::String>
100 template <
typename StatusT = Status>
102 m_statusHasBeenSet =
true;
103 m_status = std::forward<StatusT>(value);
105 template <
typename StatusT = Status>
118 template <
typename DefinedInT = Aws::String>
120 m_definedInHasBeenSet =
true;
121 m_definedIn = std::forward<DefinedInT>(value);
123 template <
typename DefinedInT = Aws::String>
137 template <
typename PropertiesT = Aws::Map<Aws::String, PropertyResponse>>
139 m_propertiesHasBeenSet =
true;
140 m_properties = std::forward<PropertiesT>(value);
142 template <
typename PropertiesT = Aws::Map<Aws::String, PropertyResponse>>
147 template <
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = PropertyResponse>
149 m_propertiesHasBeenSet =
true;
150 m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
161 template <
typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupResponse>>
163 m_propertyGroupsHasBeenSet =
true;
164 m_propertyGroups = std::forward<PropertyGroupsT>(value);
166 template <
typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupResponse>>
171 template <
typename PropertyGroupsKeyT = Aws::String,
typename PropertyGroupsValueT = ComponentPropertyGroupResponse>
173 m_propertyGroupsHasBeenSet =
true;
174 m_propertyGroups.emplace(std::forward<PropertyGroupsKeyT>(key), std::forward<PropertyGroupsValueT>(value));
185 template <
typename SyncSourceT = Aws::String>
187 m_syncSourceHasBeenSet =
true;
188 m_syncSource = std::forward<SyncSourceT>(value);
190 template <
typename SyncSourceT = Aws::String>
205 m_areAllPropertiesReturnedHasBeenSet =
true;
206 m_areAllPropertiesReturned = value;
221 template <
typename CompositeComponentsT = Aws::Map<Aws::String, ComponentSummary>>
223 m_compositeComponentsHasBeenSet =
true;
224 m_compositeComponents = std::forward<CompositeComponentsT>(value);
226 template <
typename CompositeComponentsT = Aws::Map<Aws::String, ComponentSummary>>
231 template <
typename CompositeComponentsKeyT = Aws::String,
typename CompositeComponentsValueT = ComponentSummary>
233 m_compositeComponentsHasBeenSet =
true;
234 m_compositeComponents.emplace(std::forward<CompositeComponentsKeyT>(key), std::forward<CompositeComponentsValueT>(value));
247 m_areAllCompositeComponentsReturnedHasBeenSet =
true;
248 m_areAllCompositeComponentsReturned = value;
272 bool m_areAllPropertiesReturned{
false};
276 bool m_areAllCompositeComponentsReturned{
false};
277 bool m_componentNameHasBeenSet =
false;
278 bool m_descriptionHasBeenSet =
false;
279 bool m_componentTypeIdHasBeenSet =
false;
280 bool m_statusHasBeenSet =
false;
281 bool m_definedInHasBeenSet =
false;
282 bool m_propertiesHasBeenSet =
false;
283 bool m_propertyGroupsHasBeenSet =
false;
284 bool m_syncSourceHasBeenSet =
false;
285 bool m_areAllPropertiesReturnedHasBeenSet =
false;
286 bool m_compositeComponentsHasBeenSet =
false;
287 bool m_areAllCompositeComponentsReturnedHasBeenSet =
false;
ComponentResponse & WithPropertyGroups(PropertyGroupsT &&value)
bool DefinedInHasBeenSet() const
bool ComponentNameHasBeenSet() const
ComponentResponse & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
const Aws::String & GetComponentTypeId() const
void SetDescription(DescriptionT &&value)
bool StatusHasBeenSet() const
bool SyncSourceHasBeenSet() const
ComponentResponse & WithDefinedIn(DefinedInT &&value)
void SetComponentTypeId(ComponentTypeIdT &&value)
bool ComponentTypeIdHasBeenSet() const
bool GetAreAllPropertiesReturned() const
ComponentResponse & WithCompositeComponents(CompositeComponentsT &&value)
AWS_IOTTWINMAKER_API ComponentResponse()=default
void SetAreAllPropertiesReturned(bool value)
const Aws::String & GetDefinedIn() const
const Status & GetStatus() const
ComponentResponse & AddPropertyGroups(PropertyGroupsKeyT &&key, PropertyGroupsValueT &&value)
const Aws::String & GetDescription() const
ComponentResponse & WithComponentTypeId(ComponentTypeIdT &&value)
bool CompositeComponentsHasBeenSet() const
void SetDefinedIn(DefinedInT &&value)
const Aws::String & GetComponentName() const
const Aws::Map< Aws::String, ComponentSummary > & GetCompositeComponents() const
ComponentResponse & WithDescription(DescriptionT &&value)
bool AreAllPropertiesReturnedHasBeenSet() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPropertyGroups(PropertyGroupsT &&value)
const Aws::String & GetSyncSource() const
void SetStatus(StatusT &&value)
AWS_IOTTWINMAKER_API ComponentResponse(Aws::Utils::Json::JsonView jsonValue)
void SetProperties(PropertiesT &&value)
void SetCompositeComponents(CompositeComponentsT &&value)
void SetAreAllCompositeComponentsReturned(bool value)
ComponentResponse & WithProperties(PropertiesT &&value)
bool PropertyGroupsHasBeenSet() const
AWS_IOTTWINMAKER_API ComponentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentResponse & WithStatus(StatusT &&value)
const Aws::Map< Aws::String, ComponentPropertyGroupResponse > & GetPropertyGroups() const
bool GetAreAllCompositeComponentsReturned() const
void SetComponentName(ComponentNameT &&value)
const Aws::Map< Aws::String, PropertyResponse > & GetProperties() const
bool AreAllCompositeComponentsReturnedHasBeenSet() const
ComponentResponse & WithAreAllPropertiesReturned(bool value)
ComponentResponse & WithAreAllCompositeComponentsReturned(bool value)
bool PropertiesHasBeenSet() const
ComponentResponse & WithSyncSource(SyncSourceT &&value)
ComponentResponse & AddCompositeComponents(CompositeComponentsKeyT &&key, CompositeComponentsValueT &&value)
ComponentResponse & WithComponentName(ComponentNameT &&value)
bool DescriptionHasBeenSet() const
void SetSyncSource(SyncSourceT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue