7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iottwinmaker/model/PropertyRequest.h>
11#include <aws/iottwinmaker/model/ComponentPropertyGroupRequest.h>
50 template<
typename DescriptionT = Aws::String>
51 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
52 template<
typename DescriptionT = Aws::String>
62 template<
typename ComponentTypeIdT = Aws::String>
63 void SetComponentTypeId(ComponentTypeIdT&& value) { m_componentTypeIdHasBeenSet =
true; m_componentTypeId = std::forward<ComponentTypeIdT>(value); }
64 template<
typename ComponentTypeIdT = Aws::String>
75 template<
typename PropertiesT = Aws::Map<Aws::String, PropertyRequest>>
76 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
77 template<
typename PropertiesT = Aws::Map<Aws::String, PropertyRequest>>
79 template<
typename PropertiesKeyT = Aws::String,
typename PropertiesValueT = PropertyRequest>
81 m_propertiesHasBeenSet =
true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value));
return *
this;
91 template<
typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
92 void SetPropertyGroups(PropertyGroupsT&& value) { m_propertyGroupsHasBeenSet =
true; m_propertyGroups = std::forward<PropertyGroupsT>(value); }
93 template<
typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
95 template<
typename PropertyGroupsKeyT = Aws::String,
typename PropertyGroupsValueT = ComponentPropertyGroupRequest>
97 m_propertyGroupsHasBeenSet =
true; m_propertyGroups.emplace(std::forward<PropertyGroupsKeyT>(key), std::forward<PropertyGroupsValueT>(value));
return *
this;
103 bool m_descriptionHasBeenSet =
false;
106 bool m_componentTypeIdHasBeenSet =
false;
109 bool m_propertiesHasBeenSet =
false;
112 bool m_propertyGroupsHasBeenSet =
false;
const Aws::Map< Aws::String, PropertyRequest > & GetProperties() const
void SetProperties(PropertiesT &&value)
AWS_IOTTWINMAKER_API ComponentRequest(Aws::Utils::Json::JsonView jsonValue)
ComponentRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&value)
void SetComponentTypeId(ComponentTypeIdT &&value)
const Aws::String & GetComponentTypeId() const
bool DescriptionHasBeenSet() const
AWS_IOTTWINMAKER_API ComponentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
bool ComponentTypeIdHasBeenSet() const
ComponentRequest & WithPropertyGroups(PropertyGroupsT &&value)
bool PropertiesHasBeenSet() const
void SetPropertyGroups(PropertyGroupsT &&value)
ComponentRequest & WithComponentTypeId(ComponentTypeIdT &&value)
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroups() const
ComponentRequest & AddPropertyGroups(PropertyGroupsKeyT &&key, PropertyGroupsValueT &&value)
AWS_IOTTWINMAKER_API ComponentRequest()=default
bool PropertyGroupsHasBeenSet() const
const Aws::String & GetDescription() const
ComponentRequest & WithProperties(PropertiesT &&value)
void SetDescription(DescriptionT &&value)
ComponentRequest & WithDescription(DescriptionT &&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