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/ComponentPropertyGroupRequest.h>
11#include <aws/iottwinmaker/model/ComponentUpdateType.h>
12#include <aws/iottwinmaker/model/PropertyRequest.h>
23namespace IoTTwinMaker {
46 m_updateTypeHasBeenSet =
true;
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
80 template <
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
82 m_propertyUpdatesHasBeenSet =
true;
83 m_propertyUpdates = std::forward<PropertyUpdatesT>(value);
85 template <
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
90 template <
typename PropertyUpdatesKeyT = Aws::String,
typename PropertyUpdatesValueT = PropertyRequest>
92 m_propertyUpdatesHasBeenSet =
true;
93 m_propertyUpdates.emplace(std::forward<PropertyUpdatesKeyT>(key), std::forward<PropertyUpdatesValueT>(value));
104 template <
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
106 m_propertyGroupUpdatesHasBeenSet =
true;
107 m_propertyGroupUpdates = std::forward<PropertyGroupUpdatesT>(value);
109 template <
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
114 template <
typename PropertyGroupUpdatesKeyT = Aws::String,
typename PropertyGroupUpdatesValueT = ComponentPropertyGroupRequest>
116 m_propertyGroupUpdatesHasBeenSet =
true;
117 m_propertyGroupUpdates.emplace(std::forward<PropertyGroupUpdatesKeyT>(key), std::forward<PropertyGroupUpdatesValueT>(value));
129 bool m_updateTypeHasBeenSet =
false;
130 bool m_descriptionHasBeenSet =
false;
131 bool m_propertyUpdatesHasBeenSet =
false;
132 bool m_propertyGroupUpdatesHasBeenSet =
false;
CompositeComponentUpdateRequest & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroupUpdates() const
CompositeComponentUpdateRequest & WithUpdateType(ComponentUpdateType value)
CompositeComponentUpdateRequest & AddPropertyUpdates(PropertyUpdatesKeyT &&key, PropertyUpdatesValueT &&value)
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(PropertyGroupUpdatesKeyT &&key, PropertyGroupUpdatesValueT &&value)
CompositeComponentUpdateRequest & WithPropertyGroupUpdates(PropertyGroupUpdatesT &&value)
ComponentUpdateType GetUpdateType() const
bool DescriptionHasBeenSet() const
const Aws::Map< Aws::String, PropertyRequest > & GetPropertyUpdates() const
CompositeComponentUpdateRequest & WithPropertyUpdates(PropertyUpdatesT &&value)
void SetPropertyGroupUpdates(PropertyGroupUpdatesT &&value)
void SetPropertyUpdates(PropertyUpdatesT &&value)
void SetUpdateType(ComponentUpdateType value)
bool UpdateTypeHasBeenSet() const
AWS_IOTTWINMAKER_API CompositeComponentUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
bool PropertyUpdatesHasBeenSet() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API CompositeComponentUpdateRequest()=default
const Aws::String & GetDescription() const
bool PropertyGroupUpdatesHasBeenSet() const
AWS_IOTTWINMAKER_API CompositeComponentUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
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