7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/model/Status.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iottwinmaker/model/PropertyResponse.h>
12#include <aws/iottwinmaker/model/ComponentPropertyGroupResponse.h>
13#include <aws/iottwinmaker/model/ComponentSummary.h>
52 template<
typename ComponentNameT = Aws::String>
53 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet =
true; m_componentName = std::forward<ComponentNameT>(value); }
54 template<
typename ComponentNameT = Aws::String>
64 template<
typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
66 template<
typename DescriptionT = Aws::String>
76 template<
typename ComponentTypeIdT = Aws::String>
77 void SetComponentTypeId(ComponentTypeIdT&& value) { m_componentTypeIdHasBeenSet =
true; m_componentTypeId = std::forward<ComponentTypeIdT>(value); }
78 template<
typename ComponentTypeIdT = Aws::String>
88 template<
typename StatusT = Status>
89 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
90 template<
typename StatusT = Status>
100 template<
typename DefinedInT = Aws::String>
101 void SetDefinedIn(DefinedInT&& value) { m_definedInHasBeenSet =
true; m_definedIn = std::forward<DefinedInT>(value); }
102 template<
typename DefinedInT = Aws::String>
113 template<
typename PropertiesT = Aws::Map<Aws::String, PropertyResponse>>
114 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
115 template<
typename PropertiesT = Aws::Map<Aws::String, PropertyResponse>>
117 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = PropertyResponse>
119 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
129 template<
typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupResponse>>
130 void SetPropertyGroups(PropertyGroupsT&& value) { m_propertyGroupsHasBeenSet =
true; m_propertyGroups = std::forward<PropertyGroupsT>(value); }
131 template<
typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupResponse>>
133 template<
typename PropertyGroupsKeyT = Aws::String,
typename PropertyGroupsValueT = ComponentPropertyGroupResponse>
135 m_propertyGroupsHasBeenSet =
true; m_propertyGroups.emplace(std::forward<PropertyGroupsKeyT>(key), std::forward<PropertyGroupsValueT>(value));
return *
this;
145 template<
typename SyncSourceT = Aws::String>
146 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet =
true; m_syncSource = std::forward<SyncSourceT>(value); }
147 template<
typename SyncSourceT = Aws::String>
169 template<
typename CompositeComponentsT = Aws::Map<Aws::String, ComponentSummary>>
170 void SetCompositeComponents(CompositeComponentsT&& value) { m_compositeComponentsHasBeenSet =
true; m_compositeComponents = std::forward<CompositeComponentsT>(value); }
171 template<
typename CompositeComponentsT = Aws::Map<Aws::String, ComponentSummary>>
173 template<
typename CompositeComponentsKeyT = Aws::String,
typename CompositeComponentsValueT = ComponentSummary>
175 m_compositeComponentsHasBeenSet =
true; m_compositeComponents.emplace(std::forward<CompositeComponentsKeyT>(key), std::forward<CompositeComponentsValueT>(value));
return *
this;
192 bool m_componentNameHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
198 bool m_componentTypeIdHasBeenSet =
false;
201 bool m_statusHasBeenSet =
false;
204 bool m_definedInHasBeenSet =
false;
207 bool m_propertiesHasBeenSet =
false;
210 bool m_propertyGroupsHasBeenSet =
false;
213 bool m_syncSourceHasBeenSet =
false;
215 bool m_areAllPropertiesReturned{
false};
216 bool m_areAllPropertiesReturnedHasBeenSet =
false;
219 bool m_compositeComponentsHasBeenSet =
false;
221 bool m_areAllCompositeComponentsReturned{
false};
222 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