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>
61 template<
typename DescriptionT = Aws::String>
62 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
63 template<
typename DescriptionT = Aws::String>
74 template<
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
75 void SetPropertyUpdates(PropertyUpdatesT&& value) { m_propertyUpdatesHasBeenSet =
true; m_propertyUpdates = std::forward<PropertyUpdatesT>(value); }
76 template<
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
78 template<
typename PropertyUpdatesKeyT = Aws::String,
typename PropertyUpdatesValueT = PropertyRequest>
80 m_propertyUpdatesHasBeenSet =
true; m_propertyUpdates.emplace(std::forward<PropertyUpdatesKeyT>(key), std::forward<PropertyUpdatesValueT>(value));
return *
this;
90 template<
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
91 void SetPropertyGroupUpdates(PropertyGroupUpdatesT&& value) { m_propertyGroupUpdatesHasBeenSet =
true; m_propertyGroupUpdates = std::forward<PropertyGroupUpdatesT>(value); }
92 template<
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
94 template<
typename PropertyGroupUpdatesKeyT = Aws::String,
typename PropertyGroupUpdatesValueT = ComponentPropertyGroupRequest>
96 m_propertyGroupUpdatesHasBeenSet =
true; m_propertyGroupUpdates.emplace(std::forward<PropertyGroupUpdatesKeyT>(key), std::forward<PropertyGroupUpdatesValueT>(value));
return *
this;
102 bool m_updateTypeHasBeenSet =
false;
105 bool m_descriptionHasBeenSet =
false;
108 bool m_propertyUpdatesHasBeenSet =
false;
111 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