AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CompositeComponentUpdateRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/ComponentUpdateType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iottwinmaker/model/PropertyRequest.h>
12#include <aws/iottwinmaker/model/ComponentPropertyGroupRequest.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace IoTTwinMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_IOTTWINMAKER_API CompositeComponentUpdateRequest();
42 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ComponentUpdateType& GetUpdateType() const{ return m_updateType; }
50 inline bool UpdateTypeHasBeenSet() const { return m_updateTypeHasBeenSet; }
51 inline void SetUpdateType(const ComponentUpdateType& value) { m_updateTypeHasBeenSet = true; m_updateType = value; }
52 inline void SetUpdateType(ComponentUpdateType&& value) { m_updateTypeHasBeenSet = true; m_updateType = std::move(value); }
54 inline CompositeComponentUpdateRequest& WithUpdateType(ComponentUpdateType&& value) { SetUpdateType(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline CompositeComponentUpdateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CompositeComponentUpdateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CompositeComponentUpdateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
76 inline const Aws::Map<Aws::String, PropertyRequest>& GetPropertyUpdates() const{ return m_propertyUpdates; }
77 inline bool PropertyUpdatesHasBeenSet() const { return m_propertyUpdatesHasBeenSet; }
78 inline void SetPropertyUpdates(const Aws::Map<Aws::String, PropertyRequest>& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates = value; }
79 inline void SetPropertyUpdates(Aws::Map<Aws::String, PropertyRequest>&& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates = std::move(value); }
82 inline CompositeComponentUpdateRequest& AddPropertyUpdates(const Aws::String& key, const PropertyRequest& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates.emplace(key, value); return *this; }
83 inline CompositeComponentUpdateRequest& AddPropertyUpdates(Aws::String&& key, const PropertyRequest& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates.emplace(std::move(key), value); return *this; }
84 inline CompositeComponentUpdateRequest& AddPropertyUpdates(const Aws::String& key, PropertyRequest&& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates.emplace(key, std::move(value)); return *this; }
85 inline CompositeComponentUpdateRequest& AddPropertyUpdates(Aws::String&& key, PropertyRequest&& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates.emplace(std::move(key), std::move(value)); return *this; }
86 inline CompositeComponentUpdateRequest& AddPropertyUpdates(const char* key, PropertyRequest&& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates.emplace(key, std::move(value)); return *this; }
87 inline CompositeComponentUpdateRequest& AddPropertyUpdates(const char* key, const PropertyRequest& value) { m_propertyUpdatesHasBeenSet = true; m_propertyUpdates.emplace(key, value); return *this; }
89
91
94 inline const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& GetPropertyGroupUpdates() const{ return m_propertyGroupUpdates; }
95 inline bool PropertyGroupUpdatesHasBeenSet() const { return m_propertyGroupUpdatesHasBeenSet; }
96 inline void SetPropertyGroupUpdates(const Aws::Map<Aws::String, ComponentPropertyGroupRequest>& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates = value; }
97 inline void SetPropertyGroupUpdates(Aws::Map<Aws::String, ComponentPropertyGroupRequest>&& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates = std::move(value); }
100 inline CompositeComponentUpdateRequest& AddPropertyGroupUpdates(const Aws::String& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates.emplace(key, value); return *this; }
101 inline CompositeComponentUpdateRequest& AddPropertyGroupUpdates(Aws::String&& key, const ComponentPropertyGroupRequest& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates.emplace(std::move(key), value); return *this; }
102 inline CompositeComponentUpdateRequest& AddPropertyGroupUpdates(const Aws::String& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates.emplace(key, std::move(value)); return *this; }
103 inline CompositeComponentUpdateRequest& AddPropertyGroupUpdates(Aws::String&& key, ComponentPropertyGroupRequest&& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates.emplace(std::move(key), std::move(value)); return *this; }
104 inline CompositeComponentUpdateRequest& AddPropertyGroupUpdates(const char* key, ComponentPropertyGroupRequest&& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates.emplace(key, std::move(value)); return *this; }
105 inline CompositeComponentUpdateRequest& AddPropertyGroupUpdates(const char* key, const ComponentPropertyGroupRequest& value) { m_propertyGroupUpdatesHasBeenSet = true; m_propertyGroupUpdates.emplace(key, value); return *this; }
107 private:
108
109 ComponentUpdateType m_updateType;
110 bool m_updateTypeHasBeenSet = false;
111
112 Aws::String m_description;
113 bool m_descriptionHasBeenSet = false;
114
116 bool m_propertyUpdatesHasBeenSet = false;
117
119 bool m_propertyGroupUpdatesHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace IoTTwinMaker
124} // namespace Aws
CompositeComponentUpdateRequest & AddPropertyUpdates(const Aws::String &key, const PropertyRequest &value)
void SetPropertyUpdates(Aws::Map< Aws::String, PropertyRequest > &&value)
CompositeComponentUpdateRequest & AddPropertyUpdates(const char *key, const PropertyRequest &value)
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(const char *key, ComponentPropertyGroupRequest &&value)
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(Aws::String &&key, const ComponentPropertyGroupRequest &value)
const Aws::Map< Aws::String, ComponentPropertyGroupRequest > & GetPropertyGroupUpdates() const
CompositeComponentUpdateRequest & WithPropertyUpdates(Aws::Map< Aws::String, PropertyRequest > &&value)
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(Aws::String &&key, ComponentPropertyGroupRequest &&value)
CompositeComponentUpdateRequest & WithDescription(const Aws::String &value)
CompositeComponentUpdateRequest & WithDescription(Aws::String &&value)
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(const Aws::String &key, const ComponentPropertyGroupRequest &value)
CompositeComponentUpdateRequest & AddPropertyUpdates(Aws::String &&key, const PropertyRequest &value)
void SetPropertyGroupUpdates(const Aws::Map< Aws::String, ComponentPropertyGroupRequest > &value)
CompositeComponentUpdateRequest & AddPropertyUpdates(Aws::String &&key, PropertyRequest &&value)
CompositeComponentUpdateRequest & WithUpdateType(const ComponentUpdateType &value)
const Aws::Map< Aws::String, PropertyRequest > & GetPropertyUpdates() const
CompositeComponentUpdateRequest & WithPropertyGroupUpdates(Aws::Map< Aws::String, ComponentPropertyGroupRequest > &&value)
CompositeComponentUpdateRequest & WithPropertyGroupUpdates(const Aws::Map< Aws::String, ComponentPropertyGroupRequest > &value)
CompositeComponentUpdateRequest & WithPropertyUpdates(const Aws::Map< Aws::String, PropertyRequest > &value)
CompositeComponentUpdateRequest & AddPropertyUpdates(const char *key, PropertyRequest &&value)
CompositeComponentUpdateRequest & AddPropertyUpdates(const Aws::String &key, PropertyRequest &&value)
CompositeComponentUpdateRequest & WithDescription(const char *value)
void SetPropertyUpdates(const Aws::Map< Aws::String, PropertyRequest > &value)
AWS_IOTTWINMAKER_API CompositeComponentUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyGroupUpdates(Aws::Map< Aws::String, ComponentPropertyGroupRequest > &&value)
CompositeComponentUpdateRequest & WithUpdateType(ComponentUpdateType &&value)
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(const char *key, const ComponentPropertyGroupRequest &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
CompositeComponentUpdateRequest & AddPropertyGroupUpdates(const Aws::String &key, ComponentPropertyGroupRequest &&value)
AWS_IOTTWINMAKER_API CompositeComponentUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
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