AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Outpost.h
1
6#pragma once
7#include <aws/outposts/Outposts_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/outposts/model/SupportedHardwareType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Outposts
24{
25namespace Model
26{
27
33 class Outpost
34 {
35 public:
36 AWS_OUTPOSTS_API Outpost();
37 AWS_OUTPOSTS_API Outpost(Aws::Utils::Json::JsonView jsonValue);
38 AWS_OUTPOSTS_API Outpost& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetOutpostId() const{ return m_outpostId; }
47 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
48 inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; }
49 inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); }
50 inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); }
51 inline Outpost& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;}
52 inline Outpost& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;}
53 inline Outpost& WithOutpostId(const char* value) { SetOutpostId(value); return *this;}
55
57
58 inline const Aws::String& GetOwnerId() const{ return m_ownerId; }
59 inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; }
60 inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; }
61 inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); }
62 inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); }
63 inline Outpost& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;}
64 inline Outpost& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;}
65 inline Outpost& WithOwnerId(const char* value) { SetOwnerId(value); return *this;}
67
69
70 inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
71 inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
72 inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
73 inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
74 inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
75 inline Outpost& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
76 inline Outpost& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
77 inline Outpost& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
79
81
82 inline const Aws::String& GetSiteId() const{ return m_siteId; }
83 inline bool SiteIdHasBeenSet() const { return m_siteIdHasBeenSet; }
84 inline void SetSiteId(const Aws::String& value) { m_siteIdHasBeenSet = true; m_siteId = value; }
85 inline void SetSiteId(Aws::String&& value) { m_siteIdHasBeenSet = true; m_siteId = std::move(value); }
86 inline void SetSiteId(const char* value) { m_siteIdHasBeenSet = true; m_siteId.assign(value); }
87 inline Outpost& WithSiteId(const Aws::String& value) { SetSiteId(value); return *this;}
88 inline Outpost& WithSiteId(Aws::String&& value) { SetSiteId(std::move(value)); return *this;}
89 inline Outpost& WithSiteId(const char* value) { SetSiteId(value); return *this;}
91
93
94 inline const Aws::String& GetName() const{ return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
98 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
99 inline Outpost& WithName(const Aws::String& value) { SetName(value); return *this;}
100 inline Outpost& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
101 inline Outpost& WithName(const char* value) { SetName(value); return *this;}
103
105
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
108 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
109 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
110 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline Outpost& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 inline Outpost& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 inline Outpost& WithDescription(const char* value) { SetDescription(value); return *this;}
115
117
118 inline const Aws::String& GetLifeCycleStatus() const{ return m_lifeCycleStatus; }
119 inline bool LifeCycleStatusHasBeenSet() const { return m_lifeCycleStatusHasBeenSet; }
120 inline void SetLifeCycleStatus(const Aws::String& value) { m_lifeCycleStatusHasBeenSet = true; m_lifeCycleStatus = value; }
121 inline void SetLifeCycleStatus(Aws::String&& value) { m_lifeCycleStatusHasBeenSet = true; m_lifeCycleStatus = std::move(value); }
122 inline void SetLifeCycleStatus(const char* value) { m_lifeCycleStatusHasBeenSet = true; m_lifeCycleStatus.assign(value); }
123 inline Outpost& WithLifeCycleStatus(const Aws::String& value) { SetLifeCycleStatus(value); return *this;}
124 inline Outpost& WithLifeCycleStatus(Aws::String&& value) { SetLifeCycleStatus(std::move(value)); return *this;}
125 inline Outpost& WithLifeCycleStatus(const char* value) { SetLifeCycleStatus(value); return *this;}
127
129
130 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
131 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
132 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
133 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
134 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
135 inline Outpost& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
136 inline Outpost& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
137 inline Outpost& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
139
141
142 inline const Aws::String& GetAvailabilityZoneId() const{ return m_availabilityZoneId; }
143 inline bool AvailabilityZoneIdHasBeenSet() const { return m_availabilityZoneIdHasBeenSet; }
144 inline void SetAvailabilityZoneId(const Aws::String& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = value; }
145 inline void SetAvailabilityZoneId(Aws::String&& value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId = std::move(value); }
146 inline void SetAvailabilityZoneId(const char* value) { m_availabilityZoneIdHasBeenSet = true; m_availabilityZoneId.assign(value); }
147 inline Outpost& WithAvailabilityZoneId(const Aws::String& value) { SetAvailabilityZoneId(value); return *this;}
148 inline Outpost& WithAvailabilityZoneId(Aws::String&& value) { SetAvailabilityZoneId(std::move(value)); return *this;}
149 inline Outpost& WithAvailabilityZoneId(const char* value) { SetAvailabilityZoneId(value); return *this;}
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
157 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
158 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
159 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
160 inline Outpost& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
161 inline Outpost& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
162 inline Outpost& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
163 inline Outpost& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
164 inline Outpost& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
165 inline Outpost& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
166 inline Outpost& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
167 inline Outpost& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
168 inline Outpost& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
170
172
173 inline const Aws::String& GetSiteArn() const{ return m_siteArn; }
174 inline bool SiteArnHasBeenSet() const { return m_siteArnHasBeenSet; }
175 inline void SetSiteArn(const Aws::String& value) { m_siteArnHasBeenSet = true; m_siteArn = value; }
176 inline void SetSiteArn(Aws::String&& value) { m_siteArnHasBeenSet = true; m_siteArn = std::move(value); }
177 inline void SetSiteArn(const char* value) { m_siteArnHasBeenSet = true; m_siteArn.assign(value); }
178 inline Outpost& WithSiteArn(const Aws::String& value) { SetSiteArn(value); return *this;}
179 inline Outpost& WithSiteArn(Aws::String&& value) { SetSiteArn(std::move(value)); return *this;}
180 inline Outpost& WithSiteArn(const char* value) { SetSiteArn(value); return *this;}
182
184
187 inline const SupportedHardwareType& GetSupportedHardwareType() const{ return m_supportedHardwareType; }
188 inline bool SupportedHardwareTypeHasBeenSet() const { return m_supportedHardwareTypeHasBeenSet; }
189 inline void SetSupportedHardwareType(const SupportedHardwareType& value) { m_supportedHardwareTypeHasBeenSet = true; m_supportedHardwareType = value; }
190 inline void SetSupportedHardwareType(SupportedHardwareType&& value) { m_supportedHardwareTypeHasBeenSet = true; m_supportedHardwareType = std::move(value); }
192 inline Outpost& WithSupportedHardwareType(SupportedHardwareType&& value) { SetSupportedHardwareType(std::move(value)); return *this;}
194 private:
195
196 Aws::String m_outpostId;
197 bool m_outpostIdHasBeenSet = false;
198
199 Aws::String m_ownerId;
200 bool m_ownerIdHasBeenSet = false;
201
202 Aws::String m_outpostArn;
203 bool m_outpostArnHasBeenSet = false;
204
205 Aws::String m_siteId;
206 bool m_siteIdHasBeenSet = false;
207
208 Aws::String m_name;
209 bool m_nameHasBeenSet = false;
210
211 Aws::String m_description;
212 bool m_descriptionHasBeenSet = false;
213
214 Aws::String m_lifeCycleStatus;
215 bool m_lifeCycleStatusHasBeenSet = false;
216
217 Aws::String m_availabilityZone;
218 bool m_availabilityZoneHasBeenSet = false;
219
220 Aws::String m_availabilityZoneId;
221 bool m_availabilityZoneIdHasBeenSet = false;
222
224 bool m_tagsHasBeenSet = false;
225
226 Aws::String m_siteArn;
227 bool m_siteArnHasBeenSet = false;
228
229 SupportedHardwareType m_supportedHardwareType;
230 bool m_supportedHardwareTypeHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace Outposts
235} // namespace Aws
bool LifeCycleStatusHasBeenSet() const
Definition Outpost.h:119
bool OutpostArnHasBeenSet() const
Definition Outpost.h:71
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Outpost.h:158
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Outpost.h:159
AWS_OUTPOSTS_API Outpost(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition Outpost.h:156
AWS_OUTPOSTS_API Outpost()
void SetSiteArn(const Aws::String &value)
Definition Outpost.h:175
void SetAvailabilityZone(const Aws::String &value)
Definition Outpost.h:132
Outpost & AddTags(Aws::String &&key, Aws::String &&value)
Definition Outpost.h:165
AWS_OUTPOSTS_API Outpost & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetOutpostId(const Aws::String &value)
Definition Outpost.h:48
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAvailabilityZone(const char *value)
Definition Outpost.h:134
Outpost & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition Outpost.h:161
bool OutpostIdHasBeenSet() const
Definition Outpost.h:47
const Aws::String & GetLifeCycleStatus() const
Definition Outpost.h:118
void SetLifeCycleStatus(const Aws::String &value)
Definition Outpost.h:120
void SetDescription(const Aws::String &value)
Definition Outpost.h:108
Outpost & WithName(const Aws::String &value)
Definition Outpost.h:99
void SetSiteArn(Aws::String &&value)
Definition Outpost.h:176
const Aws::String & GetDescription() const
Definition Outpost.h:106
Outpost & WithDescription(const Aws::String &value)
Definition Outpost.h:111
Outpost & AddTags(const Aws::String &key, Aws::String &&value)
Definition Outpost.h:164
void SetSupportedHardwareType(SupportedHardwareType &&value)
Definition Outpost.h:190
Outpost & WithLifeCycleStatus(const char *value)
Definition Outpost.h:125
bool SiteArnHasBeenSet() const
Definition Outpost.h:174
Outpost & WithAvailabilityZoneId(const Aws::String &value)
Definition Outpost.h:147
void SetSiteId(const char *value)
Definition Outpost.h:86
Outpost & WithOutpostArn(const char *value)
Definition Outpost.h:77
void SetOutpostId(const char *value)
Definition Outpost.h:50
void SetSiteId(Aws::String &&value)
Definition Outpost.h:85
const Aws::String & GetOutpostId() const
Definition Outpost.h:46
void SetSiteId(const Aws::String &value)
Definition Outpost.h:84
void SetOutpostArn(const Aws::String &value)
Definition Outpost.h:72
Outpost & WithAvailabilityZone(const Aws::String &value)
Definition Outpost.h:135
void SetAvailabilityZone(Aws::String &&value)
Definition Outpost.h:133
Outpost & WithSiteId(Aws::String &&value)
Definition Outpost.h:88
void SetName(Aws::String &&value)
Definition Outpost.h:97
Outpost & WithSiteArn(const char *value)
Definition Outpost.h:180
Outpost & WithSiteId(const char *value)
Definition Outpost.h:89
Outpost & WithDescription(Aws::String &&value)
Definition Outpost.h:112
Outpost & WithOwnerId(const Aws::String &value)
Definition Outpost.h:63
void SetAvailabilityZoneId(Aws::String &&value)
Definition Outpost.h:145
Outpost & WithAvailabilityZone(const char *value)
Definition Outpost.h:137
void SetAvailabilityZoneId(const char *value)
Definition Outpost.h:146
Outpost & WithSiteId(const Aws::String &value)
Definition Outpost.h:87
void SetSiteArn(const char *value)
Definition Outpost.h:177
bool OwnerIdHasBeenSet() const
Definition Outpost.h:59
void SetOwnerId(Aws::String &&value)
Definition Outpost.h:61
Outpost & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition Outpost.h:160
void SetLifeCycleStatus(Aws::String &&value)
Definition Outpost.h:121
void SetOutpostArn(const char *value)
Definition Outpost.h:74
Outpost & AddTags(const Aws::String &key, const Aws::String &value)
Definition Outpost.h:162
void SetAvailabilityZoneId(const Aws::String &value)
Definition Outpost.h:144
void SetDescription(Aws::String &&value)
Definition Outpost.h:109
void SetSupportedHardwareType(const SupportedHardwareType &value)
Definition Outpost.h:189
const Aws::String & GetOutpostArn() const
Definition Outpost.h:70
Outpost & WithOutpostArn(Aws::String &&value)
Definition Outpost.h:76
Outpost & WithName(Aws::String &&value)
Definition Outpost.h:100
Outpost & WithOwnerId(Aws::String &&value)
Definition Outpost.h:64
const Aws::String & GetSiteId() const
Definition Outpost.h:82
const Aws::String & GetOwnerId() const
Definition Outpost.h:58
void SetName(const Aws::String &value)
Definition Outpost.h:96
bool SiteIdHasBeenSet() const
Definition Outpost.h:83
Outpost & AddTags(const char *key, const char *value)
Definition Outpost.h:168
bool AvailabilityZoneHasBeenSet() const
Definition Outpost.h:131
Outpost & WithOutpostId(const Aws::String &value)
Definition Outpost.h:51
Outpost & AddTags(Aws::String &&key, const Aws::String &value)
Definition Outpost.h:163
Outpost & WithOutpostArn(const Aws::String &value)
Definition Outpost.h:75
Outpost & WithOutpostId(const char *value)
Definition Outpost.h:53
Outpost & WithAvailabilityZoneId(Aws::String &&value)
Definition Outpost.h:148
void SetOwnerId(const char *value)
Definition Outpost.h:62
bool AvailabilityZoneIdHasBeenSet() const
Definition Outpost.h:143
void SetOutpostId(Aws::String &&value)
Definition Outpost.h:49
bool DescriptionHasBeenSet() const
Definition Outpost.h:107
Outpost & WithSupportedHardwareType(SupportedHardwareType &&value)
Definition Outpost.h:192
Outpost & WithName(const char *value)
Definition Outpost.h:101
Outpost & WithOwnerId(const char *value)
Definition Outpost.h:65
Outpost & WithLifeCycleStatus(Aws::String &&value)
Definition Outpost.h:124
Outpost & AddTags(Aws::String &&key, const char *value)
Definition Outpost.h:167
Outpost & WithSiteArn(Aws::String &&value)
Definition Outpost.h:179
Outpost & WithSiteArn(const Aws::String &value)
Definition Outpost.h:178
bool SupportedHardwareTypeHasBeenSet() const
Definition Outpost.h:188
Outpost & WithDescription(const char *value)
Definition Outpost.h:113
Outpost & AddTags(const char *key, Aws::String &&value)
Definition Outpost.h:166
Outpost & WithLifeCycleStatus(const Aws::String &value)
Definition Outpost.h:123
Outpost & WithSupportedHardwareType(const SupportedHardwareType &value)
Definition Outpost.h:191
const Aws::String & GetAvailabilityZoneId() const
Definition Outpost.h:142
const Aws::String & GetName() const
Definition Outpost.h:94
const Aws::String & GetAvailabilityZone() const
Definition Outpost.h:130
Outpost & WithAvailabilityZone(Aws::String &&value)
Definition Outpost.h:136
void SetLifeCycleStatus(const char *value)
Definition Outpost.h:122
bool NameHasBeenSet() const
Definition Outpost.h:95
Outpost & WithOutpostId(Aws::String &&value)
Definition Outpost.h:52
Outpost & WithAvailabilityZoneId(const char *value)
Definition Outpost.h:149
void SetOutpostArn(Aws::String &&value)
Definition Outpost.h:73
void SetName(const char *value)
Definition Outpost.h:98
void SetOwnerId(const Aws::String &value)
Definition Outpost.h:60
const SupportedHardwareType & GetSupportedHardwareType() const
Definition Outpost.h:187
void SetDescription(const char *value)
Definition Outpost.h:110
const Aws::String & GetSiteArn() const
Definition Outpost.h:173
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