AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CompositeComponentRequest.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTTWINMAKER_API CompositeComponentRequest() = default;
41 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetDescription() const { return m_description; }
49 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
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>
53 CompositeComponentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
55
57
61 inline const Aws::Map<Aws::String, PropertyRequest>& GetProperties() const { return m_properties; }
62 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
63 template<typename PropertiesT = Aws::Map<Aws::String, PropertyRequest>>
64 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet = true; m_properties = std::forward<PropertiesT>(value); }
65 template<typename PropertiesT = Aws::Map<Aws::String, PropertyRequest>>
66 CompositeComponentRequest& WithProperties(PropertiesT&& value) { SetProperties(std::forward<PropertiesT>(value)); return *this;}
67 template<typename PropertiesKeyT = Aws::String, typename PropertiesValueT = PropertyRequest>
68 CompositeComponentRequest& AddProperties(PropertiesKeyT&& key, PropertiesValueT&& value) {
69 m_propertiesHasBeenSet = true; m_properties.emplace(std::forward<PropertiesKeyT>(key), std::forward<PropertiesValueT>(value)); return *this;
70 }
72
74
77 inline const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& GetPropertyGroups() const { return m_propertyGroups; }
78 inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
79 template<typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
80 void SetPropertyGroups(PropertyGroupsT&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::forward<PropertyGroupsT>(value); }
81 template<typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupRequest>>
82 CompositeComponentRequest& WithPropertyGroups(PropertyGroupsT&& value) { SetPropertyGroups(std::forward<PropertyGroupsT>(value)); return *this;}
83 template<typename PropertyGroupsKeyT = Aws::String, typename PropertyGroupsValueT = ComponentPropertyGroupRequest>
84 CompositeComponentRequest& AddPropertyGroups(PropertyGroupsKeyT&& key, PropertyGroupsValueT&& value) {
85 m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::forward<PropertyGroupsKeyT>(key), std::forward<PropertyGroupsValueT>(value)); return *this;
86 }
88 private:
89
90 Aws::String m_description;
91 bool m_descriptionHasBeenSet = false;
92
94 bool m_propertiesHasBeenSet = false;
95
97 bool m_propertyGroupsHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace IoTTwinMaker
102} // namespace Aws
CompositeComponentRequest & WithProperties(PropertiesT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, PropertyRequest > & GetProperties() const
CompositeComponentRequest & WithDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API CompositeComponentRequest()=default
CompositeComponentRequest & WithPropertyGroups(PropertyGroupsT &&value)
AWS_IOTTWINMAKER_API CompositeComponentRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API CompositeComponentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
CompositeComponentRequest & AddPropertyGroups(PropertyGroupsKeyT &&key, PropertyGroupsValueT &&value)
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroups() const
CompositeComponentRequest & AddProperties(PropertiesKeyT &&key, PropertiesValueT &&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