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>
54 inline void SetComponentName(
const char* value) { m_componentNameHasBeenSet =
true; m_componentName.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
82 inline void SetComponentTypeId(
const char* value) { m_componentTypeIdHasBeenSet =
true; m_componentTypeId.assign(value); }
94 inline void SetStatus(
const Status& value) { m_statusHasBeenSet =
true; m_status = value; }
95 inline void SetStatus(
Status&& value) { m_statusHasBeenSet =
true; m_status = std::move(value); }
108 inline void SetDefinedIn(
const char* value) { m_definedInHasBeenSet =
true; m_definedIn.assign(value); }
159 inline void SetSyncSource(
const char* value) { m_syncSourceHasBeenSet =
true; m_syncSource.assign(value); }
208 bool m_componentNameHasBeenSet =
false;
211 bool m_descriptionHasBeenSet =
false;
214 bool m_componentTypeIdHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
220 bool m_definedInHasBeenSet =
false;
223 bool m_propertiesHasBeenSet =
false;
226 bool m_propertyGroupsHasBeenSet =
false;
229 bool m_syncSourceHasBeenSet =
false;
231 bool m_areAllPropertiesReturned;
232 bool m_areAllPropertiesReturnedHasBeenSet =
false;
235 bool m_compositeComponentsHasBeenSet =
false;
237 bool m_areAllCompositeComponentsReturned;
238 bool m_areAllCompositeComponentsReturnedHasBeenSet =
false;
ComponentResponse & AddPropertyGroups(const char *key, const ComponentPropertyGroupResponse &value)
ComponentResponse & AddProperties(const Aws::String &key, const PropertyResponse &value)
ComponentResponse & AddPropertyGroups(const Aws::String &key, ComponentPropertyGroupResponse &&value)
bool DefinedInHasBeenSet() const
bool ComponentNameHasBeenSet() const
ComponentResponse & WithCompositeComponents(const Aws::Map< Aws::String, ComponentSummary > &value)
const Aws::String & GetComponentTypeId() const
void SetCompositeComponents(const Aws::Map< Aws::String, ComponentSummary > &value)
ComponentResponse & WithDescription(const char *value)
ComponentResponse & AddCompositeComponents(Aws::String &&key, const ComponentSummary &value)
bool StatusHasBeenSet() const
ComponentResponse & WithProperties(Aws::Map< Aws::String, PropertyResponse > &&value)
ComponentResponse & AddProperties(const Aws::String &key, PropertyResponse &&value)
bool SyncSourceHasBeenSet() const
void SetDescription(const char *value)
bool ComponentTypeIdHasBeenSet() const
bool GetAreAllPropertiesReturned() const
void SetDefinedIn(const Aws::String &value)
ComponentResponse & WithPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupResponse > &value)
AWS_IOTTWINMAKER_API ComponentResponse()
void SetSyncSource(const char *value)
ComponentResponse & WithDescription(Aws::String &&value)
void SetAreAllPropertiesReturned(bool value)
const Aws::String & GetDefinedIn() const
const Status & GetStatus() const
const Aws::String & GetDescription() const
void SetComponentTypeId(Aws::String &&value)
ComponentResponse & WithComponentTypeId(Aws::String &&value)
void SetStatus(Status &&value)
bool CompositeComponentsHasBeenSet() const
ComponentResponse & AddPropertyGroups(const Aws::String &key, const ComponentPropertyGroupResponse &value)
ComponentResponse & WithDefinedIn(const char *value)
ComponentResponse & AddCompositeComponents(const Aws::String &key, const ComponentSummary &value)
ComponentResponse & AddCompositeComponents(const Aws::String &key, ComponentSummary &&value)
ComponentResponse & AddProperties(Aws::String &&key, const PropertyResponse &value)
ComponentResponse & WithStatus(Status &&value)
const Aws::String & GetComponentName() const
ComponentResponse & AddPropertyGroups(Aws::String &&key, const ComponentPropertyGroupResponse &value)
const Aws::Map< Aws::String, ComponentSummary > & GetCompositeComponents() const
ComponentResponse & WithComponentName(Aws::String &&value)
void SetComponentTypeId(const char *value)
bool AreAllPropertiesReturnedHasBeenSet() const
ComponentResponse & WithDescription(const Aws::String &value)
ComponentResponse & WithCompositeComponents(Aws::Map< Aws::String, ComponentSummary > &&value)
void SetCompositeComponents(Aws::Map< Aws::String, ComponentSummary > &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentResponse & WithSyncSource(const char *value)
const Aws::String & GetSyncSource() const
ComponentResponse & AddPropertyGroups(Aws::String &&key, ComponentPropertyGroupResponse &&value)
void SetComponentName(const Aws::String &value)
AWS_IOTTWINMAKER_API ComponentResponse(Aws::Utils::Json::JsonView jsonValue)
ComponentResponse & WithComponentTypeId(const char *value)
void SetPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupResponse > &&value)
void SetDescription(const Aws::String &value)
ComponentResponse & AddProperties(const char *key, const PropertyResponse &value)
ComponentResponse & AddCompositeComponents(const char *key, ComponentSummary &&value)
void SetAreAllCompositeComponentsReturned(bool value)
void SetDescription(Aws::String &&value)
ComponentResponse & WithPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupResponse > &&value)
bool PropertyGroupsHasBeenSet() const
ComponentResponse & AddPropertyGroups(const char *key, ComponentPropertyGroupResponse &&value)
ComponentResponse & WithSyncSource(const Aws::String &value)
ComponentResponse & WithDefinedIn(Aws::String &&value)
void SetProperties(const Aws::Map< Aws::String, PropertyResponse > &value)
AWS_IOTTWINMAKER_API ComponentResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(const Status &value)
const Aws::Map< Aws::String, ComponentPropertyGroupResponse > & GetPropertyGroups() const
ComponentResponse & WithComponentTypeId(const Aws::String &value)
void SetPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupResponse > &value)
ComponentResponse & AddCompositeComponents(const char *key, const ComponentSummary &value)
bool GetAreAllCompositeComponentsReturned() const
void SetDefinedIn(const char *value)
void SetComponentTypeId(const Aws::String &value)
ComponentResponse & WithDefinedIn(const Aws::String &value)
ComponentResponse & WithProperties(const Aws::Map< Aws::String, PropertyResponse > &value)
const Aws::Map< Aws::String, PropertyResponse > & GetProperties() const
ComponentResponse & WithComponentName(const Aws::String &value)
ComponentResponse & WithComponentName(const char *value)
bool AreAllCompositeComponentsReturnedHasBeenSet() const
ComponentResponse & AddProperties(Aws::String &&key, PropertyResponse &&value)
ComponentResponse & AddProperties(const char *key, PropertyResponse &&value)
ComponentResponse & WithAreAllPropertiesReturned(bool value)
ComponentResponse & WithAreAllCompositeComponentsReturned(bool value)
void SetProperties(Aws::Map< Aws::String, PropertyResponse > &&value)
ComponentResponse & AddCompositeComponents(Aws::String &&key, ComponentSummary &&value)
void SetComponentName(const char *value)
bool PropertiesHasBeenSet() const
void SetComponentName(Aws::String &&value)
ComponentResponse & WithSyncSource(Aws::String &&value)
void SetSyncSource(Aws::String &&value)
void SetDefinedIn(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetSyncSource(const Aws::String &value)
ComponentResponse & WithStatus(const Status &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