AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
51 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
52 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
53 inline CompositeComponentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline CompositeComponentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline CompositeComponentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
63 inline const Aws::Map<Aws::String, PropertyRequest>& GetProperties() const{ return m_properties; }
64 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
65 inline void SetProperties(const Aws::Map<Aws::String, PropertyRequest>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
66 inline void SetProperties(Aws::Map<Aws::String, PropertyRequest>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
69 inline CompositeComponentRequest& AddProperties(const Aws::String& key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
70 inline CompositeComponentRequest& AddProperties(Aws::String&& key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
71 inline CompositeComponentRequest& AddProperties(const Aws::String& key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
72 inline CompositeComponentRequest& AddProperties(Aws::String&& key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
73 inline CompositeComponentRequest& AddProperties(const char* key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
74 inline CompositeComponentRequest& AddProperties(const char* key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
76
78
81 inline const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& GetPropertyGroups() const{ return m_propertyGroups; }
82 inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
83 inline void SetPropertyGroups(const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = value; }
84 inline void SetPropertyGroups(Aws::Map<Aws::String, ComponentPropertyGroupRequest>&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::move(value); }
87 inline CompositeComponentRequest& AddPropertyGroups(const Aws::String& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; }
88 inline CompositeComponentRequest& AddPropertyGroups(Aws::String&& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), value); return *this; }
89 inline CompositeComponentRequest& AddPropertyGroups(const Aws::String& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; }
90 inline CompositeComponentRequest& AddPropertyGroups(Aws::String&& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), std::move(value)); return *this; }
91 inline CompositeComponentRequest& AddPropertyGroups(const char* key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; }
92 inline CompositeComponentRequest& AddPropertyGroups(const char* key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; }
94 private:
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
100 bool m_propertiesHasBeenSet = false;
101
103 bool m_propertyGroupsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTTwinMaker
108} // namespace Aws
CompositeComponentRequest & WithProperties(Aws::Map< Aws::String, PropertyRequest > &&value)
CompositeComponentRequest & AddProperties(Aws::String &&key, const PropertyRequest &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, PropertyRequest > & GetProperties() const
CompositeComponentRequest & AddPropertyGroups(const Aws::String &key, const ComponentPropertyGroupRequest &value)
CompositeComponentRequest & AddProperties(const char *key, PropertyRequest &&value)
CompositeComponentRequest & AddPropertyGroups(const char *key, ComponentPropertyGroupRequest &&value)
CompositeComponentRequest & AddProperties(Aws::String &&key, PropertyRequest &&value)
CompositeComponentRequest & AddProperties(const Aws::String &key, PropertyRequest &&value)
CompositeComponentRequest & WithDescription(Aws::String &&value)
CompositeComponentRequest & AddPropertyGroups(Aws::String &&key, ComponentPropertyGroupRequest &&value)
void SetPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupRequest > &value)
void SetProperties(Aws::Map< Aws::String, PropertyRequest > &&value)
CompositeComponentRequest & AddProperties(const char *key, const PropertyRequest &value)
CompositeComponentRequest & WithProperties(const Aws::Map< Aws::String, PropertyRequest > &value)
CompositeComponentRequest & AddPropertyGroups(const Aws::String &key, ComponentPropertyGroupRequest &&value)
CompositeComponentRequest & WithPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupRequest > &value)
AWS_IOTTWINMAKER_API CompositeComponentRequest(Aws::Utils::Json::JsonView jsonValue)
CompositeComponentRequest & AddPropertyGroups(const char *key, const ComponentPropertyGroupRequest &value)
AWS_IOTTWINMAKER_API CompositeComponentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
CompositeComponentRequest & WithDescription(const char *value)
CompositeComponentRequest & AddPropertyGroups(Aws::String &&key, const ComponentPropertyGroupRequest &value)
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroups() const
CompositeComponentRequest & WithDescription(const Aws::String &value)
void SetProperties(const Aws::Map< Aws::String, PropertyRequest > &value)
CompositeComponentRequest & WithPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupRequest > &&value)
void SetPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupRequest > &&value)
CompositeComponentRequest & AddProperties(const Aws::String &key, const PropertyRequest &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