AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComponentRequest.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 ComponentRequest();
39 AWS_IOTTWINMAKER_API ComponentRequest(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API ComponentRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
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 ComponentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
54 inline ComponentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
55 inline ComponentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
57
59
62 inline const Aws::String& GetComponentTypeId() const{ return m_componentTypeId; }
63 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
64 inline void SetComponentTypeId(const Aws::String& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = value; }
65 inline void SetComponentTypeId(Aws::String&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::move(value); }
66 inline void SetComponentTypeId(const char* value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId.assign(value); }
67 inline ComponentRequest& WithComponentTypeId(const Aws::String& value) { SetComponentTypeId(value); return *this;}
68 inline ComponentRequest& WithComponentTypeId(Aws::String&& value) { SetComponentTypeId(std::move(value)); return *this;}
69 inline ComponentRequest& WithComponentTypeId(const char* value) { SetComponentTypeId(value); return *this;}
71
73
77 inline const Aws::Map<Aws::String, PropertyRequest>& GetProperties() const{ return m_properties; }
78 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
79 inline void SetProperties(const Aws::Map<Aws::String, PropertyRequest>& value) { m_propertiesHasBeenSet = true; m_properties = value; }
80 inline void SetProperties(Aws::Map<Aws::String, PropertyRequest>&& value) { m_propertiesHasBeenSet = true; m_properties = std::move(value); }
82 inline ComponentRequest& WithProperties(Aws::Map<Aws::String, PropertyRequest>&& value) { SetProperties(std::move(value)); return *this;}
83 inline ComponentRequest& AddProperties(const Aws::String& key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
84 inline ComponentRequest& AddProperties(Aws::String&& key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), value); return *this; }
85 inline ComponentRequest& AddProperties(const Aws::String& key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
86 inline ComponentRequest& AddProperties(Aws::String&& key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(std::move(key), std::move(value)); return *this; }
87 inline ComponentRequest& AddProperties(const char* key, PropertyRequest&& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, std::move(value)); return *this; }
88 inline ComponentRequest& AddProperties(const char* key, const PropertyRequest& value) { m_propertiesHasBeenSet = true; m_properties.emplace(key, value); return *this; }
90
92
95 inline const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& GetPropertyGroups() const{ return m_propertyGroups; }
96 inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
97 inline void SetPropertyGroups(const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = value; }
98 inline void SetPropertyGroups(Aws::Map<Aws::String, ComponentPropertyGroupRequest>&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::move(value); }
101 inline ComponentRequest& AddPropertyGroups(const Aws::String& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; }
102 inline ComponentRequest& AddPropertyGroups(Aws::String&& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), value); return *this; }
103 inline ComponentRequest& AddPropertyGroups(const Aws::String& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; }
104 inline ComponentRequest& AddPropertyGroups(Aws::String&& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), std::move(value)); return *this; }
105 inline ComponentRequest& AddPropertyGroups(const char* key, ComponentPropertyGroupRequest&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; }
106 inline ComponentRequest& AddPropertyGroups(const char* key, const ComponentPropertyGroupRequest& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; }
108 private:
109
110 Aws::String m_description;
111 bool m_descriptionHasBeenSet = false;
112
113 Aws::String m_componentTypeId;
114 bool m_componentTypeIdHasBeenSet = false;
115
117 bool m_propertiesHasBeenSet = false;
118
120 bool m_propertyGroupsHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace IoTTwinMaker
125} // namespace Aws
ComponentRequest & WithComponentTypeId(const Aws::String &value)
ComponentRequest & AddPropertyGroups(Aws::String &&key, ComponentPropertyGroupRequest &&value)
const Aws::Map< Aws::String, PropertyRequest > & GetProperties() const
void SetPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupRequest > &value)
ComponentRequest & WithDescription(const char *value)
ComponentRequest & AddProperties(Aws::String &&key, PropertyRequest &&value)
ComponentRequest & AddPropertyGroups(const Aws::String &key, ComponentPropertyGroupRequest &&value)
ComponentRequest & WithProperties(const Aws::Map< Aws::String, PropertyRequest > &value)
ComponentRequest & AddPropertyGroups(const char *key, const ComponentPropertyGroupRequest &value)
ComponentRequest & WithComponentTypeId(const char *value)
AWS_IOTTWINMAKER_API ComponentRequest(Aws::Utils::Json::JsonView jsonValue)
ComponentRequest & WithPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupRequest > &value)
ComponentRequest & WithDescription(const Aws::String &value)
const Aws::String & GetComponentTypeId() const
ComponentRequest & AddProperties(const Aws::String &key, const PropertyRequest &value)
AWS_IOTTWINMAKER_API ComponentRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentRequest & WithDescription(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentRequest & WithComponentTypeId(Aws::String &&value)
ComponentRequest & AddPropertyGroups(const char *key, ComponentPropertyGroupRequest &&value)
ComponentRequest & AddProperties(const Aws::String &key, PropertyRequest &&value)
void SetProperties(const Aws::Map< Aws::String, PropertyRequest > &value)
ComponentRequest & AddPropertyGroups(Aws::String &&key, const ComponentPropertyGroupRequest &value)
void SetPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupRequest > &&value)
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroups() const
ComponentRequest & AddProperties(Aws::String &&key, const PropertyRequest &value)
ComponentRequest & AddProperties(const char *key, PropertyRequest &&value)
void SetProperties(Aws::Map< Aws::String, PropertyRequest > &&value)
const Aws::String & GetDescription() const
ComponentRequest & WithPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupRequest > &&value)
void SetComponentTypeId(const Aws::String &value)
ComponentRequest & WithProperties(Aws::Map< Aws::String, PropertyRequest > &&value)
ComponentRequest & AddProperties(const char *key, const PropertyRequest &value)
ComponentRequest & AddPropertyGroups(const Aws::String &key, const ComponentPropertyGroupRequest &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