AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
PlatformDescription.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
12#include <aws/elasticbeanstalk/model/CustomAmi.h>
13#include <aws/elasticbeanstalk/model/PlatformFramework.h>
14#include <aws/elasticbeanstalk/model/PlatformProgrammingLanguage.h>
15#include <aws/elasticbeanstalk/model/PlatformStatus.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Xml {
22class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace ElasticBeanstalk {
26namespace Model {
27
34 public:
35 AWS_ELASTICBEANSTALK_API PlatformDescription() = default;
36 AWS_ELASTICBEANSTALK_API PlatformDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICBEANSTALK_API PlatformDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
40 const char* locationValue) const;
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
44
47 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
48 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
49 template <typename PlatformArnT = Aws::String>
50 void SetPlatformArn(PlatformArnT&& value) {
51 m_platformArnHasBeenSet = true;
52 m_platformArn = std::forward<PlatformArnT>(value);
53 }
54 template <typename PlatformArnT = Aws::String>
55 PlatformDescription& WithPlatformArn(PlatformArnT&& value) {
56 SetPlatformArn(std::forward<PlatformArnT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetPlatformOwner() const { return m_platformOwner; }
66 inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; }
67 template <typename PlatformOwnerT = Aws::String>
68 void SetPlatformOwner(PlatformOwnerT&& value) {
69 m_platformOwnerHasBeenSet = true;
70 m_platformOwner = std::forward<PlatformOwnerT>(value);
71 }
72 template <typename PlatformOwnerT = Aws::String>
73 PlatformDescription& WithPlatformOwner(PlatformOwnerT&& value) {
74 SetPlatformOwner(std::forward<PlatformOwnerT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetPlatformName() const { return m_platformName; }
84 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
85 template <typename PlatformNameT = Aws::String>
86 void SetPlatformName(PlatformNameT&& value) {
87 m_platformNameHasBeenSet = true;
88 m_platformName = std::forward<PlatformNameT>(value);
89 }
90 template <typename PlatformNameT = Aws::String>
91 PlatformDescription& WithPlatformName(PlatformNameT&& value) {
92 SetPlatformName(std::forward<PlatformNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
102 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
103 template <typename PlatformVersionT = Aws::String>
104 void SetPlatformVersion(PlatformVersionT&& value) {
105 m_platformVersionHasBeenSet = true;
106 m_platformVersion = std::forward<PlatformVersionT>(value);
107 }
108 template <typename PlatformVersionT = Aws::String>
109 PlatformDescription& WithPlatformVersion(PlatformVersionT&& value) {
110 SetPlatformVersion(std::forward<PlatformVersionT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
120 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
121 template <typename SolutionStackNameT = Aws::String>
122 void SetSolutionStackName(SolutionStackNameT&& value) {
123 m_solutionStackNameHasBeenSet = true;
124 m_solutionStackName = std::forward<SolutionStackNameT>(value);
125 }
126 template <typename SolutionStackNameT = Aws::String>
127 PlatformDescription& WithSolutionStackName(SolutionStackNameT&& value) {
128 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
129 return *this;
130 }
132
134
137 inline PlatformStatus GetPlatformStatus() const { return m_platformStatus; }
138 inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; }
140 m_platformStatusHasBeenSet = true;
141 m_platformStatus = value;
142 }
144 SetPlatformStatus(value);
145 return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
154 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
155 template <typename DateCreatedT = Aws::Utils::DateTime>
156 void SetDateCreated(DateCreatedT&& value) {
157 m_dateCreatedHasBeenSet = true;
158 m_dateCreated = std::forward<DateCreatedT>(value);
159 }
160 template <typename DateCreatedT = Aws::Utils::DateTime>
161 PlatformDescription& WithDateCreated(DateCreatedT&& value) {
162 SetDateCreated(std::forward<DateCreatedT>(value));
163 return *this;
164 }
166
168
171 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
172 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
173 template <typename DateUpdatedT = Aws::Utils::DateTime>
174 void SetDateUpdated(DateUpdatedT&& value) {
175 m_dateUpdatedHasBeenSet = true;
176 m_dateUpdated = std::forward<DateUpdatedT>(value);
177 }
178 template <typename DateUpdatedT = Aws::Utils::DateTime>
179 PlatformDescription& WithDateUpdated(DateUpdatedT&& value) {
180 SetDateUpdated(std::forward<DateUpdatedT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetPlatformCategory() const { return m_platformCategory; }
190 inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; }
191 template <typename PlatformCategoryT = Aws::String>
192 void SetPlatformCategory(PlatformCategoryT&& value) {
193 m_platformCategoryHasBeenSet = true;
194 m_platformCategory = std::forward<PlatformCategoryT>(value);
195 }
196 template <typename PlatformCategoryT = Aws::String>
197 PlatformDescription& WithPlatformCategory(PlatformCategoryT&& value) {
198 SetPlatformCategory(std::forward<PlatformCategoryT>(value));
199 return *this;
200 }
202
204
207 inline const Aws::String& GetDescription() const { return m_description; }
208 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
209 template <typename DescriptionT = Aws::String>
210 void SetDescription(DescriptionT&& value) {
211 m_descriptionHasBeenSet = true;
212 m_description = std::forward<DescriptionT>(value);
213 }
214 template <typename DescriptionT = Aws::String>
215 PlatformDescription& WithDescription(DescriptionT&& value) {
216 SetDescription(std::forward<DescriptionT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::String& GetMaintainer() const { return m_maintainer; }
226 inline bool MaintainerHasBeenSet() const { return m_maintainerHasBeenSet; }
227 template <typename MaintainerT = Aws::String>
228 void SetMaintainer(MaintainerT&& value) {
229 m_maintainerHasBeenSet = true;
230 m_maintainer = std::forward<MaintainerT>(value);
231 }
232 template <typename MaintainerT = Aws::String>
233 PlatformDescription& WithMaintainer(MaintainerT&& value) {
234 SetMaintainer(std::forward<MaintainerT>(value));
235 return *this;
236 }
238
240
243 inline const Aws::String& GetOperatingSystemName() const { return m_operatingSystemName; }
244 inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; }
245 template <typename OperatingSystemNameT = Aws::String>
246 void SetOperatingSystemName(OperatingSystemNameT&& value) {
247 m_operatingSystemNameHasBeenSet = true;
248 m_operatingSystemName = std::forward<OperatingSystemNameT>(value);
249 }
250 template <typename OperatingSystemNameT = Aws::String>
251 PlatformDescription& WithOperatingSystemName(OperatingSystemNameT&& value) {
252 SetOperatingSystemName(std::forward<OperatingSystemNameT>(value));
253 return *this;
254 }
256
258
261 inline const Aws::String& GetOperatingSystemVersion() const { return m_operatingSystemVersion; }
262 inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; }
263 template <typename OperatingSystemVersionT = Aws::String>
264 void SetOperatingSystemVersion(OperatingSystemVersionT&& value) {
265 m_operatingSystemVersionHasBeenSet = true;
266 m_operatingSystemVersion = std::forward<OperatingSystemVersionT>(value);
267 }
268 template <typename OperatingSystemVersionT = Aws::String>
269 PlatformDescription& WithOperatingSystemVersion(OperatingSystemVersionT&& value) {
270 SetOperatingSystemVersion(std::forward<OperatingSystemVersionT>(value));
271 return *this;
272 }
274
276
279 inline const Aws::Vector<PlatformProgrammingLanguage>& GetProgrammingLanguages() const { return m_programmingLanguages; }
280 inline bool ProgrammingLanguagesHasBeenSet() const { return m_programmingLanguagesHasBeenSet; }
281 template <typename ProgrammingLanguagesT = Aws::Vector<PlatformProgrammingLanguage>>
282 void SetProgrammingLanguages(ProgrammingLanguagesT&& value) {
283 m_programmingLanguagesHasBeenSet = true;
284 m_programmingLanguages = std::forward<ProgrammingLanguagesT>(value);
285 }
286 template <typename ProgrammingLanguagesT = Aws::Vector<PlatformProgrammingLanguage>>
287 PlatformDescription& WithProgrammingLanguages(ProgrammingLanguagesT&& value) {
288 SetProgrammingLanguages(std::forward<ProgrammingLanguagesT>(value));
289 return *this;
290 }
291 template <typename ProgrammingLanguagesT = PlatformProgrammingLanguage>
292 PlatformDescription& AddProgrammingLanguages(ProgrammingLanguagesT&& value) {
293 m_programmingLanguagesHasBeenSet = true;
294 m_programmingLanguages.emplace_back(std::forward<ProgrammingLanguagesT>(value));
295 return *this;
296 }
298
300
303 inline const Aws::Vector<PlatformFramework>& GetFrameworks() const { return m_frameworks; }
304 inline bool FrameworksHasBeenSet() const { return m_frameworksHasBeenSet; }
305 template <typename FrameworksT = Aws::Vector<PlatformFramework>>
306 void SetFrameworks(FrameworksT&& value) {
307 m_frameworksHasBeenSet = true;
308 m_frameworks = std::forward<FrameworksT>(value);
309 }
310 template <typename FrameworksT = Aws::Vector<PlatformFramework>>
311 PlatformDescription& WithFrameworks(FrameworksT&& value) {
312 SetFrameworks(std::forward<FrameworksT>(value));
313 return *this;
314 }
315 template <typename FrameworksT = PlatformFramework>
316 PlatformDescription& AddFrameworks(FrameworksT&& value) {
317 m_frameworksHasBeenSet = true;
318 m_frameworks.emplace_back(std::forward<FrameworksT>(value));
319 return *this;
320 }
322
324
327 inline const Aws::Vector<CustomAmi>& GetCustomAmiList() const { return m_customAmiList; }
328 inline bool CustomAmiListHasBeenSet() const { return m_customAmiListHasBeenSet; }
329 template <typename CustomAmiListT = Aws::Vector<CustomAmi>>
330 void SetCustomAmiList(CustomAmiListT&& value) {
331 m_customAmiListHasBeenSet = true;
332 m_customAmiList = std::forward<CustomAmiListT>(value);
333 }
334 template <typename CustomAmiListT = Aws::Vector<CustomAmi>>
335 PlatformDescription& WithCustomAmiList(CustomAmiListT&& value) {
336 SetCustomAmiList(std::forward<CustomAmiListT>(value));
337 return *this;
338 }
339 template <typename CustomAmiListT = CustomAmi>
340 PlatformDescription& AddCustomAmiList(CustomAmiListT&& value) {
341 m_customAmiListHasBeenSet = true;
342 m_customAmiList.emplace_back(std::forward<CustomAmiListT>(value));
343 return *this;
344 }
346
348
351 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
352 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
353 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
354 void SetSupportedTierList(SupportedTierListT&& value) {
355 m_supportedTierListHasBeenSet = true;
356 m_supportedTierList = std::forward<SupportedTierListT>(value);
357 }
358 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
359 PlatformDescription& WithSupportedTierList(SupportedTierListT&& value) {
360 SetSupportedTierList(std::forward<SupportedTierListT>(value));
361 return *this;
362 }
363 template <typename SupportedTierListT = Aws::String>
364 PlatformDescription& AddSupportedTierList(SupportedTierListT&& value) {
365 m_supportedTierListHasBeenSet = true;
366 m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value));
367 return *this;
368 }
370
372
375 inline const Aws::Vector<Aws::String>& GetSupportedAddonList() const { return m_supportedAddonList; }
376 inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; }
377 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
378 void SetSupportedAddonList(SupportedAddonListT&& value) {
379 m_supportedAddonListHasBeenSet = true;
380 m_supportedAddonList = std::forward<SupportedAddonListT>(value);
381 }
382 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
383 PlatformDescription& WithSupportedAddonList(SupportedAddonListT&& value) {
384 SetSupportedAddonList(std::forward<SupportedAddonListT>(value));
385 return *this;
386 }
387 template <typename SupportedAddonListT = Aws::String>
388 PlatformDescription& AddSupportedAddonList(SupportedAddonListT&& value) {
389 m_supportedAddonListHasBeenSet = true;
390 m_supportedAddonList.emplace_back(std::forward<SupportedAddonListT>(value));
391 return *this;
392 }
394
396
403 inline const Aws::String& GetPlatformLifecycleState() const { return m_platformLifecycleState; }
404 inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; }
405 template <typename PlatformLifecycleStateT = Aws::String>
406 void SetPlatformLifecycleState(PlatformLifecycleStateT&& value) {
407 m_platformLifecycleStateHasBeenSet = true;
408 m_platformLifecycleState = std::forward<PlatformLifecycleStateT>(value);
409 }
410 template <typename PlatformLifecycleStateT = Aws::String>
411 PlatformDescription& WithPlatformLifecycleState(PlatformLifecycleStateT&& value) {
412 SetPlatformLifecycleState(std::forward<PlatformLifecycleStateT>(value));
413 return *this;
414 }
416
418
421 inline const Aws::String& GetPlatformBranchName() const { return m_platformBranchName; }
422 inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; }
423 template <typename PlatformBranchNameT = Aws::String>
424 void SetPlatformBranchName(PlatformBranchNameT&& value) {
425 m_platformBranchNameHasBeenSet = true;
426 m_platformBranchName = std::forward<PlatformBranchNameT>(value);
427 }
428 template <typename PlatformBranchNameT = Aws::String>
429 PlatformDescription& WithPlatformBranchName(PlatformBranchNameT&& value) {
430 SetPlatformBranchName(std::forward<PlatformBranchNameT>(value));
431 return *this;
432 }
434
436
441 inline const Aws::String& GetPlatformBranchLifecycleState() const { return m_platformBranchLifecycleState; }
442 inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; }
443 template <typename PlatformBranchLifecycleStateT = Aws::String>
444 void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
445 m_platformBranchLifecycleStateHasBeenSet = true;
446 m_platformBranchLifecycleState = std::forward<PlatformBranchLifecycleStateT>(value);
447 }
448 template <typename PlatformBranchLifecycleStateT = Aws::String>
449 PlatformDescription& WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
450 SetPlatformBranchLifecycleState(std::forward<PlatformBranchLifecycleStateT>(value));
451 return *this;
452 }
454 private:
455 Aws::String m_platformArn;
456
457 Aws::String m_platformOwner;
458
459 Aws::String m_platformName;
460
461 Aws::String m_platformVersion;
462
463 Aws::String m_solutionStackName;
464
465 PlatformStatus m_platformStatus{PlatformStatus::NOT_SET};
466
467 Aws::Utils::DateTime m_dateCreated{};
468
469 Aws::Utils::DateTime m_dateUpdated{};
470
471 Aws::String m_platformCategory;
472
473 Aws::String m_description;
474
475 Aws::String m_maintainer;
476
477 Aws::String m_operatingSystemName;
478
479 Aws::String m_operatingSystemVersion;
480
481 Aws::Vector<PlatformProgrammingLanguage> m_programmingLanguages;
482
484
485 Aws::Vector<CustomAmi> m_customAmiList;
486
487 Aws::Vector<Aws::String> m_supportedTierList;
488
489 Aws::Vector<Aws::String> m_supportedAddonList;
490
491 Aws::String m_platformLifecycleState;
492
493 Aws::String m_platformBranchName;
494
495 Aws::String m_platformBranchLifecycleState;
496 bool m_platformArnHasBeenSet = false;
497 bool m_platformOwnerHasBeenSet = false;
498 bool m_platformNameHasBeenSet = false;
499 bool m_platformVersionHasBeenSet = false;
500 bool m_solutionStackNameHasBeenSet = false;
501 bool m_platformStatusHasBeenSet = false;
502 bool m_dateCreatedHasBeenSet = false;
503 bool m_dateUpdatedHasBeenSet = false;
504 bool m_platformCategoryHasBeenSet = false;
505 bool m_descriptionHasBeenSet = false;
506 bool m_maintainerHasBeenSet = false;
507 bool m_operatingSystemNameHasBeenSet = false;
508 bool m_operatingSystemVersionHasBeenSet = false;
509 bool m_programmingLanguagesHasBeenSet = false;
510 bool m_frameworksHasBeenSet = false;
511 bool m_customAmiListHasBeenSet = false;
512 bool m_supportedTierListHasBeenSet = false;
513 bool m_supportedAddonListHasBeenSet = false;
514 bool m_platformLifecycleStateHasBeenSet = false;
515 bool m_platformBranchNameHasBeenSet = false;
516 bool m_platformBranchLifecycleStateHasBeenSet = false;
517};
518
519} // namespace Model
520} // namespace ElasticBeanstalk
521} // namespace Aws
void SetSupportedAddonList(SupportedAddonListT &&value)
PlatformDescription & WithPlatformStatus(PlatformStatus value)
PlatformDescription & WithFrameworks(FrameworksT &&value)
PlatformDescription & WithDateCreated(DateCreatedT &&value)
AWS_ELASTICBEANSTALK_API PlatformDescription()=default
const Aws::Utils::DateTime & GetDateUpdated() const
const Aws::Utils::DateTime & GetDateCreated() const
PlatformDescription & WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT &&value)
const Aws::Vector< Aws::String > & GetSupportedAddonList() const
PlatformDescription & AddProgrammingLanguages(ProgrammingLanguagesT &&value)
PlatformDescription & WithSolutionStackName(SolutionStackNameT &&value)
PlatformDescription & WithProgrammingLanguages(ProgrammingLanguagesT &&value)
PlatformDescription & AddSupportedTierList(SupportedTierListT &&value)
PlatformDescription & AddFrameworks(FrameworksT &&value)
const Aws::Vector< CustomAmi > & GetCustomAmiList() const
void SetOperatingSystemName(OperatingSystemNameT &&value)
PlatformDescription & WithPlatformCategory(PlatformCategoryT &&value)
PlatformDescription & WithDateUpdated(DateUpdatedT &&value)
void SetOperatingSystemVersion(OperatingSystemVersionT &&value)
PlatformDescription & AddCustomAmiList(CustomAmiListT &&value)
void SetSolutionStackName(SolutionStackNameT &&value)
void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT &&value)
PlatformDescription & WithSupportedTierList(SupportedTierListT &&value)
PlatformDescription & WithDescription(DescriptionT &&value)
const Aws::Vector< PlatformProgrammingLanguage > & GetProgrammingLanguages() const
PlatformDescription & WithMaintainer(MaintainerT &&value)
PlatformDescription & WithPlatformBranchName(PlatformBranchNameT &&value)
const Aws::Vector< Aws::String > & GetSupportedTierList() const
void SetSupportedTierList(SupportedTierListT &&value)
const Aws::Vector< PlatformFramework > & GetFrameworks() const
PlatformDescription & WithSupportedAddonList(SupportedAddonListT &&value)
PlatformDescription & WithPlatformName(PlatformNameT &&value)
PlatformDescription & WithOperatingSystemVersion(OperatingSystemVersionT &&value)
PlatformDescription & WithPlatformOwner(PlatformOwnerT &&value)
PlatformDescription & WithPlatformArn(PlatformArnT &&value)
void SetPlatformBranchName(PlatformBranchNameT &&value)
PlatformDescription & WithPlatformLifecycleState(PlatformLifecycleStateT &&value)
PlatformDescription & WithCustomAmiList(CustomAmiListT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PlatformDescription & WithPlatformVersion(PlatformVersionT &&value)
void SetProgrammingLanguages(ProgrammingLanguagesT &&value)
PlatformDescription & WithOperatingSystemName(OperatingSystemNameT &&value)
void SetPlatformLifecycleState(PlatformLifecycleStateT &&value)
AWS_ELASTICBEANSTALK_API PlatformDescription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICBEANSTALK_API PlatformDescription(const Aws::Utils::Xml::XmlNode &xmlNode)
PlatformDescription & AddSupportedAddonList(SupportedAddonListT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream