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 {
45 m_updateTypeHasBeenSet =
true;
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 template <
typename ComponentTypeIdT = Aws::String>
80 m_componentTypeIdHasBeenSet =
true;
81 m_componentTypeId = std::forward<ComponentTypeIdT>(value);
83 template <
typename ComponentTypeIdT = Aws::String>
97 template <
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
99 m_propertyUpdatesHasBeenSet =
true;
100 m_propertyUpdates = std::forward<PropertyUpdatesT>(value);
102 template <
typename PropertyUpdatesT = Aws::Map<Aws::String, PropertyRequest>>
107 template <
typename PropertyUpdatesKeyT = Aws::String,
typename PropertyUpdatesValueT = PropertyRequest>
109 m_propertyUpdatesHasBeenSet =
true;
110 m_propertyUpdates.emplace(std::forward<PropertyUpdatesKeyT>(key), std::forward<PropertyUpdatesValueT>(value));
121 template <
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
123 m_propertyGroupUpdatesHasBeenSet =
true;
124 m_propertyGroupUpdates = std::forward<PropertyGroupUpdatesT>(value);
126 template <
typename PropertyGroupUpdatesT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
131 template <
typename PropertyGroupUpdatesKeyT = Aws::String,
typename PropertyGroupUpdatesValueT = ComponentPropertyGroupRequest>
133 m_propertyGroupUpdatesHasBeenSet =
true;
134 m_propertyGroupUpdates.emplace(std::forward<PropertyGroupUpdatesKeyT>(key), std::forward<PropertyGroupUpdatesValueT>(value));
148 bool m_updateTypeHasBeenSet =
false;
149 bool m_descriptionHasBeenSet =
false;
150 bool m_componentTypeIdHasBeenSet =
false;
151 bool m_propertyUpdatesHasBeenSet =
false;
152 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