AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InfrastructureConfigurationSummary.h
1
6#pragma once
7#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/imagebuilder/model/Placement.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 imagebuilder
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IMAGEBUILDER_API InfrastructureConfigurationSummary();
41 AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline InfrastructureConfigurationSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline InfrastructureConfigurationSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline InfrastructureConfigurationSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline InfrastructureConfigurationSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline InfrastructureConfigurationSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline InfrastructureConfigurationSummary& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline InfrastructureConfigurationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline InfrastructureConfigurationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
91 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
92 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
93 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
94 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
96 inline InfrastructureConfigurationSummary& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
97 inline InfrastructureConfigurationSummary& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
99
101
104 inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; }
105 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
106 inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
107 inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); }
108 inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); }
110 inline InfrastructureConfigurationSummary& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;}
111 inline InfrastructureConfigurationSummary& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;}
113
115
118 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const{ return m_resourceTags; }
119 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
120 inline void SetResourceTags(const Aws::Map<Aws::String, Aws::String>& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = value; }
121 inline void SetResourceTags(Aws::Map<Aws::String, Aws::String>&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags = std::move(value); }
124 inline InfrastructureConfigurationSummary& AddResourceTags(const Aws::String& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; }
125 inline InfrastructureConfigurationSummary& AddResourceTags(Aws::String&& key, const Aws::String& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; }
126 inline InfrastructureConfigurationSummary& AddResourceTags(const Aws::String& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; }
127 inline InfrastructureConfigurationSummary& AddResourceTags(Aws::String&& key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), std::move(value)); return *this; }
128 inline InfrastructureConfigurationSummary& AddResourceTags(const char* key, Aws::String&& value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, std::move(value)); return *this; }
129 inline InfrastructureConfigurationSummary& AddResourceTags(Aws::String&& key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(std::move(key), value); return *this; }
130 inline InfrastructureConfigurationSummary& AddResourceTags(const char* key, const char* value) { m_resourceTagsHasBeenSet = true; m_resourceTags.emplace(key, value); return *this; }
132
134
137 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
138 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
139 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
140 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
143 inline InfrastructureConfigurationSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
144 inline InfrastructureConfigurationSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
145 inline InfrastructureConfigurationSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
146 inline InfrastructureConfigurationSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
147 inline InfrastructureConfigurationSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
148 inline InfrastructureConfigurationSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
149 inline InfrastructureConfigurationSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
151
153
156 inline const Aws::Vector<Aws::String>& GetInstanceTypes() const{ return m_instanceTypes; }
157 inline bool InstanceTypesHasBeenSet() const { return m_instanceTypesHasBeenSet; }
158 inline void SetInstanceTypes(const Aws::Vector<Aws::String>& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes = value; }
159 inline void SetInstanceTypes(Aws::Vector<Aws::String>&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes = std::move(value); }
162 inline InfrastructureConfigurationSummary& AddInstanceTypes(const Aws::String& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; }
163 inline InfrastructureConfigurationSummary& AddInstanceTypes(Aws::String&& value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(std::move(value)); return *this; }
164 inline InfrastructureConfigurationSummary& AddInstanceTypes(const char* value) { m_instanceTypesHasBeenSet = true; m_instanceTypes.push_back(value); return *this; }
166
168
171 inline const Aws::String& GetInstanceProfileName() const{ return m_instanceProfileName; }
172 inline bool InstanceProfileNameHasBeenSet() const { return m_instanceProfileNameHasBeenSet; }
173 inline void SetInstanceProfileName(const Aws::String& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = value; }
174 inline void SetInstanceProfileName(Aws::String&& value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName = std::move(value); }
175 inline void SetInstanceProfileName(const char* value) { m_instanceProfileNameHasBeenSet = true; m_instanceProfileName.assign(value); }
180
182
186 inline const Placement& GetPlacement() const{ return m_placement; }
187 inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
188 inline void SetPlacement(const Placement& value) { m_placementHasBeenSet = true; m_placement = value; }
189 inline void SetPlacement(Placement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
190 inline InfrastructureConfigurationSummary& WithPlacement(const Placement& value) { SetPlacement(value); return *this;}
191 inline InfrastructureConfigurationSummary& WithPlacement(Placement&& value) { SetPlacement(std::move(value)); return *this;}
193 private:
194
195 Aws::String m_arn;
196 bool m_arnHasBeenSet = false;
197
198 Aws::String m_name;
199 bool m_nameHasBeenSet = false;
200
201 Aws::String m_description;
202 bool m_descriptionHasBeenSet = false;
203
204 Aws::String m_dateCreated;
205 bool m_dateCreatedHasBeenSet = false;
206
207 Aws::String m_dateUpdated;
208 bool m_dateUpdatedHasBeenSet = false;
209
211 bool m_resourceTagsHasBeenSet = false;
212
214 bool m_tagsHasBeenSet = false;
215
216 Aws::Vector<Aws::String> m_instanceTypes;
217 bool m_instanceTypesHasBeenSet = false;
218
219 Aws::String m_instanceProfileName;
220 bool m_instanceProfileNameHasBeenSet = false;
221
222 Placement m_placement;
223 bool m_placementHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace imagebuilder
228} // namespace Aws
InfrastructureConfigurationSummary & WithInstanceProfileName(const Aws::String &value)
InfrastructureConfigurationSummary & AddInstanceTypes(const Aws::String &value)
InfrastructureConfigurationSummary & AddInstanceTypes(Aws::String &&value)
InfrastructureConfigurationSummary & WithDateUpdated(const char *value)
AWS_IMAGEBUILDER_API InfrastructureConfigurationSummary(Aws::Utils::Json::JsonView jsonValue)
InfrastructureConfigurationSummary & WithDateUpdated(Aws::String &&value)
InfrastructureConfigurationSummary & AddTags(const char *key, const char *value)
InfrastructureConfigurationSummary & AddResourceTags(Aws::String &&key, const char *value)
InfrastructureConfigurationSummary & AddTags(Aws::String &&key, Aws::String &&value)
InfrastructureConfigurationSummary & WithDateCreated(Aws::String &&value)
InfrastructureConfigurationSummary & WithName(const char *value)
InfrastructureConfigurationSummary & AddResourceTags(const char *key, const char *value)
InfrastructureConfigurationSummary & AddResourceTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
InfrastructureConfigurationSummary & WithInstanceProfileName(Aws::String &&value)
InfrastructureConfigurationSummary & WithResourceTags(Aws::Map< Aws::String, Aws::String > &&value)
InfrastructureConfigurationSummary & AddResourceTags(const char *key, Aws::String &&value)
InfrastructureConfigurationSummary & WithDateCreated(const Aws::String &value)
InfrastructureConfigurationSummary & WithInstanceProfileName(const char *value)
InfrastructureConfigurationSummary & WithArn(Aws::String &&value)
InfrastructureConfigurationSummary & AddInstanceTypes(const char *value)
InfrastructureConfigurationSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
InfrastructureConfigurationSummary & AddTags(Aws::String &&key, const Aws::String &value)
InfrastructureConfigurationSummary & WithDateUpdated(const Aws::String &value)
InfrastructureConfigurationSummary & WithArn(const char *value)
InfrastructureConfigurationSummary & WithPlacement(const Placement &value)
InfrastructureConfigurationSummary & WithPlacement(Placement &&value)
InfrastructureConfigurationSummary & WithArn(const Aws::String &value)
AWS_IMAGEBUILDER_API Aws::Utils::Json::JsonValue Jsonize() const
InfrastructureConfigurationSummary & WithDescription(Aws::String &&value)
InfrastructureConfigurationSummary & WithName(const Aws::String &value)
InfrastructureConfigurationSummary & WithDescription(const char *value)
InfrastructureConfigurationSummary & AddTags(const Aws::String &key, Aws::String &&value)
InfrastructureConfigurationSummary & WithInstanceTypes(Aws::Vector< Aws::String > &&value)
InfrastructureConfigurationSummary & AddResourceTags(const Aws::String &key, const Aws::String &value)
AWS_IMAGEBUILDER_API InfrastructureConfigurationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResourceTags(const Aws::Map< Aws::String, Aws::String > &value)
InfrastructureConfigurationSummary & AddResourceTags(const Aws::String &key, Aws::String &&value)
InfrastructureConfigurationSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
InfrastructureConfigurationSummary & AddTags(const char *key, Aws::String &&value)
InfrastructureConfigurationSummary & AddResourceTags(Aws::String &&key, Aws::String &&value)
InfrastructureConfigurationSummary & WithDateCreated(const char *value)
InfrastructureConfigurationSummary & WithName(Aws::String &&value)
InfrastructureConfigurationSummary & AddTags(const Aws::String &key, const Aws::String &value)
InfrastructureConfigurationSummary & WithDescription(const Aws::String &value)
InfrastructureConfigurationSummary & AddTags(Aws::String &&key, const char *value)
InfrastructureConfigurationSummary & WithInstanceTypes(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
InfrastructureConfigurationSummary & WithResourceTags(const Aws::Map< Aws::String, Aws::String > &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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue