7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/ComponentUpdateType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iottwinmaker/model/PropertyRequest.h>
12#include <aws/iottwinmaker/model/ComponentPropertyGroupRequest.h>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename ComponentTypeIdT = Aws::String>
73 void SetComponentTypeId(ComponentTypeIdT&& value) { m_componentTypeIdHasBeenSet =
true; m_componentTypeId = std::forward<ComponentTypeIdT>(value); }
74 template<
typename ComponentTypeIdT = Aws::String>
85 template<
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
86 void SetPropertyUpdates(PropertyUpdatesT&& value) { m_propertyUpdatesHasBeenSet =
true; m_propertyUpdates = std::forward<PropertyUpdatesT>(value); }
87 template<
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
89 template<
typename PropertyUpdatesKeyT = Aws::String,
typename PropertyUpdatesValueT = PropertyRequest>
91 m_propertyUpdatesHasBeenSet =
true; m_propertyUpdates.emplace(std::forward<PropertyUpdatesKeyT>(key), std::forward<PropertyUpdatesValueT>(value));
return *
this;
101 template<
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
102 void SetPropertyGroupUpdates(PropertyGroupUpdatesT&& value) { m_propertyGroupUpdatesHasBeenSet =
true; m_propertyGroupUpdates = std::forward<PropertyGroupUpdatesT>(value); }
103 template<
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
105 template<
typename PropertyGroupUpdatesKeyT = Aws::String,
typename PropertyGroupUpdatesValueT = ComponentPropertyGroupRequest>
107 m_propertyGroupUpdatesHasBeenSet =
true; m_propertyGroupUpdates.emplace(std::forward<PropertyGroupUpdatesKeyT>(key), std::forward<PropertyGroupUpdatesValueT>(value));
return *
this;
113 bool m_updateTypeHasBeenSet =
false;
116 bool m_descriptionHasBeenSet =
false;
119 bool m_componentTypeIdHasBeenSet =
false;
122 bool m_propertyUpdatesHasBeenSet =
false;
125 bool m_propertyGroupUpdatesHasBeenSet =
false;
bool ComponentTypeIdHasBeenSet() const
ComponentUpdateRequest & WithPropertyUpdates(PropertyUpdatesT &&value)
bool PropertyUpdatesHasBeenSet() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroupUpdates() const
ComponentUpdateRequest & AddPropertyUpdates(PropertyUpdatesKeyT &&key, PropertyUpdatesValueT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, PropertyRequest > & GetPropertyUpdates() const
void SetPropertyGroupUpdates(PropertyGroupUpdatesT &&value)
void SetUpdateType(ComponentUpdateType value)
ComponentUpdateRequest & WithDescription(DescriptionT &&value)
ComponentUpdateRequest & WithUpdateType(ComponentUpdateType value)
const Aws::String & GetComponentTypeId() const
void SetPropertyUpdates(PropertyUpdatesT &&value)
bool PropertyGroupUpdatesHasBeenSet() const
AWS_IOTTWINMAKER_API ComponentUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentUpdateType GetUpdateType() const
const Aws::String & GetDescription() const
AWS_IOTTWINMAKER_API ComponentUpdateRequest()=default
ComponentUpdateRequest & AddPropertyGroupUpdates(PropertyGroupUpdatesKeyT &&key, PropertyGroupUpdatesValueT &&value)
void SetComponentTypeId(ComponentTypeIdT &&value)
ComponentUpdateRequest & WithPropertyGroupUpdates(PropertyGroupUpdatesT &&value)
AWS_IOTTWINMAKER_API ComponentUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
ComponentUpdateRequest & WithComponentTypeId(ComponentTypeIdT &&value)
bool DescriptionHasBeenSet() const
bool UpdateTypeHasBeenSet() const
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