AWS SDK for C++

AWS SDK for C++ Version 1.11.909

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
66 inline const Aws::String& GetPlatformOwner() const { return m_platformOwner; }
67 inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; }
68 template <typename PlatformOwnerT = Aws::String>
69 void SetPlatformOwner(PlatformOwnerT&& value) {
70 m_platformOwnerHasBeenSet = true;
71 m_platformOwner = std::forward<PlatformOwnerT>(value);
72 }
73 template <typename PlatformOwnerT = Aws::String>
74 PlatformDescription& WithPlatformOwner(PlatformOwnerT&& value) {
75 SetPlatformOwner(std::forward<PlatformOwnerT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetPlatformName() const { return m_platformName; }
85 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
86 template <typename PlatformNameT = Aws::String>
87 void SetPlatformName(PlatformNameT&& value) {
88 m_platformNameHasBeenSet = true;
89 m_platformName = std::forward<PlatformNameT>(value);
90 }
91 template <typename PlatformNameT = Aws::String>
92 PlatformDescription& WithPlatformName(PlatformNameT&& value) {
93 SetPlatformName(std::forward<PlatformNameT>(value));
94 return *this;
95 }
97
99
102 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
103 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
104 template <typename PlatformVersionT = Aws::String>
105 void SetPlatformVersion(PlatformVersionT&& value) {
106 m_platformVersionHasBeenSet = true;
107 m_platformVersion = std::forward<PlatformVersionT>(value);
108 }
109 template <typename PlatformVersionT = Aws::String>
110 PlatformDescription& WithPlatformVersion(PlatformVersionT&& value) {
111 SetPlatformVersion(std::forward<PlatformVersionT>(value));
112 return *this;
113 }
115
117
120 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
121 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
122 template <typename SolutionStackNameT = Aws::String>
123 void SetSolutionStackName(SolutionStackNameT&& value) {
124 m_solutionStackNameHasBeenSet = true;
125 m_solutionStackName = std::forward<SolutionStackNameT>(value);
126 }
127 template <typename SolutionStackNameT = Aws::String>
128 PlatformDescription& WithSolutionStackName(SolutionStackNameT&& value) {
129 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
130 return *this;
131 }
133
135
138 inline PlatformStatus GetPlatformStatus() const { return m_platformStatus; }
139 inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; }
141 m_platformStatusHasBeenSet = true;
142 m_platformStatus = value;
143 }
145 SetPlatformStatus(value);
146 return *this;
147 }
149
151
154 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
155 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
156 template <typename DateCreatedT = Aws::Utils::DateTime>
157 void SetDateCreated(DateCreatedT&& value) {
158 m_dateCreatedHasBeenSet = true;
159 m_dateCreated = std::forward<DateCreatedT>(value);
160 }
161 template <typename DateCreatedT = Aws::Utils::DateTime>
162 PlatformDescription& WithDateCreated(DateCreatedT&& value) {
163 SetDateCreated(std::forward<DateCreatedT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
173 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
174 template <typename DateUpdatedT = Aws::Utils::DateTime>
175 void SetDateUpdated(DateUpdatedT&& value) {
176 m_dateUpdatedHasBeenSet = true;
177 m_dateUpdated = std::forward<DateUpdatedT>(value);
178 }
179 template <typename DateUpdatedT = Aws::Utils::DateTime>
180 PlatformDescription& WithDateUpdated(DateUpdatedT&& value) {
181 SetDateUpdated(std::forward<DateUpdatedT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::String& GetPlatformCategory() const { return m_platformCategory; }
191 inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; }
192 template <typename PlatformCategoryT = Aws::String>
193 void SetPlatformCategory(PlatformCategoryT&& value) {
194 m_platformCategoryHasBeenSet = true;
195 m_platformCategory = std::forward<PlatformCategoryT>(value);
196 }
197 template <typename PlatformCategoryT = Aws::String>
198 PlatformDescription& WithPlatformCategory(PlatformCategoryT&& value) {
199 SetPlatformCategory(std::forward<PlatformCategoryT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetDescription() const { return m_description; }
209 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
210 template <typename DescriptionT = Aws::String>
211 void SetDescription(DescriptionT&& value) {
212 m_descriptionHasBeenSet = true;
213 m_description = std::forward<DescriptionT>(value);
214 }
215 template <typename DescriptionT = Aws::String>
216 PlatformDescription& WithDescription(DescriptionT&& value) {
217 SetDescription(std::forward<DescriptionT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::String& GetMaintainer() const { return m_maintainer; }
227 inline bool MaintainerHasBeenSet() const { return m_maintainerHasBeenSet; }
228 template <typename MaintainerT = Aws::String>
229 void SetMaintainer(MaintainerT&& value) {
230 m_maintainerHasBeenSet = true;
231 m_maintainer = std::forward<MaintainerT>(value);
232 }
233 template <typename MaintainerT = Aws::String>
234 PlatformDescription& WithMaintainer(MaintainerT&& value) {
235 SetMaintainer(std::forward<MaintainerT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::String& GetOperatingSystemName() const { return m_operatingSystemName; }
245 inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; }
246 template <typename OperatingSystemNameT = Aws::String>
247 void SetOperatingSystemName(OperatingSystemNameT&& value) {
248 m_operatingSystemNameHasBeenSet = true;
249 m_operatingSystemName = std::forward<OperatingSystemNameT>(value);
250 }
251 template <typename OperatingSystemNameT = Aws::String>
252 PlatformDescription& WithOperatingSystemName(OperatingSystemNameT&& value) {
253 SetOperatingSystemName(std::forward<OperatingSystemNameT>(value));
254 return *this;
255 }
257
259
262 inline const Aws::String& GetOperatingSystemVersion() const { return m_operatingSystemVersion; }
263 inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; }
264 template <typename OperatingSystemVersionT = Aws::String>
265 void SetOperatingSystemVersion(OperatingSystemVersionT&& value) {
266 m_operatingSystemVersionHasBeenSet = true;
267 m_operatingSystemVersion = std::forward<OperatingSystemVersionT>(value);
268 }
269 template <typename OperatingSystemVersionT = Aws::String>
270 PlatformDescription& WithOperatingSystemVersion(OperatingSystemVersionT&& value) {
271 SetOperatingSystemVersion(std::forward<OperatingSystemVersionT>(value));
272 return *this;
273 }
275
277
280 inline const Aws::Vector<PlatformProgrammingLanguage>& GetProgrammingLanguages() const { return m_programmingLanguages; }
281 inline bool ProgrammingLanguagesHasBeenSet() const { return m_programmingLanguagesHasBeenSet; }
282 template <typename ProgrammingLanguagesT = Aws::Vector<PlatformProgrammingLanguage>>
283 void SetProgrammingLanguages(ProgrammingLanguagesT&& value) {
284 m_programmingLanguagesHasBeenSet = true;
285 m_programmingLanguages = std::forward<ProgrammingLanguagesT>(value);
286 }
287 template <typename ProgrammingLanguagesT = Aws::Vector<PlatformProgrammingLanguage>>
288 PlatformDescription& WithProgrammingLanguages(ProgrammingLanguagesT&& value) {
289 SetProgrammingLanguages(std::forward<ProgrammingLanguagesT>(value));
290 return *this;
291 }
292 template <typename ProgrammingLanguagesT = PlatformProgrammingLanguage>
293 PlatformDescription& AddProgrammingLanguages(ProgrammingLanguagesT&& value) {
294 m_programmingLanguagesHasBeenSet = true;
295 m_programmingLanguages.emplace_back(std::forward<ProgrammingLanguagesT>(value));
296 return *this;
297 }
299
301
304 inline const Aws::Vector<PlatformFramework>& GetFrameworks() const { return m_frameworks; }
305 inline bool FrameworksHasBeenSet() const { return m_frameworksHasBeenSet; }
306 template <typename FrameworksT = Aws::Vector<PlatformFramework>>
307 void SetFrameworks(FrameworksT&& value) {
308 m_frameworksHasBeenSet = true;
309 m_frameworks = std::forward<FrameworksT>(value);
310 }
311 template <typename FrameworksT = Aws::Vector<PlatformFramework>>
312 PlatformDescription& WithFrameworks(FrameworksT&& value) {
313 SetFrameworks(std::forward<FrameworksT>(value));
314 return *this;
315 }
316 template <typename FrameworksT = PlatformFramework>
317 PlatformDescription& AddFrameworks(FrameworksT&& value) {
318 m_frameworksHasBeenSet = true;
319 m_frameworks.emplace_back(std::forward<FrameworksT>(value));
320 return *this;
321 }
323
325
328 inline const Aws::Vector<CustomAmi>& GetCustomAmiList() const { return m_customAmiList; }
329 inline bool CustomAmiListHasBeenSet() const { return m_customAmiListHasBeenSet; }
330 template <typename CustomAmiListT = Aws::Vector<CustomAmi>>
331 void SetCustomAmiList(CustomAmiListT&& value) {
332 m_customAmiListHasBeenSet = true;
333 m_customAmiList = std::forward<CustomAmiListT>(value);
334 }
335 template <typename CustomAmiListT = Aws::Vector<CustomAmi>>
336 PlatformDescription& WithCustomAmiList(CustomAmiListT&& value) {
337 SetCustomAmiList(std::forward<CustomAmiListT>(value));
338 return *this;
339 }
340 template <typename CustomAmiListT = CustomAmi>
341 PlatformDescription& AddCustomAmiList(CustomAmiListT&& value) {
342 m_customAmiListHasBeenSet = true;
343 m_customAmiList.emplace_back(std::forward<CustomAmiListT>(value));
344 return *this;
345 }
347
349
352 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
353 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
354 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
355 void SetSupportedTierList(SupportedTierListT&& value) {
356 m_supportedTierListHasBeenSet = true;
357 m_supportedTierList = std::forward<SupportedTierListT>(value);
358 }
359 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
360 PlatformDescription& WithSupportedTierList(SupportedTierListT&& value) {
361 SetSupportedTierList(std::forward<SupportedTierListT>(value));
362 return *this;
363 }
364 template <typename SupportedTierListT = Aws::String>
365 PlatformDescription& AddSupportedTierList(SupportedTierListT&& value) {
366 m_supportedTierListHasBeenSet = true;
367 m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value));
368 return *this;
369 }
371
373
376 inline const Aws::Vector<Aws::String>& GetSupportedAddonList() const { return m_supportedAddonList; }
377 inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; }
378 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
379 void SetSupportedAddonList(SupportedAddonListT&& value) {
380 m_supportedAddonListHasBeenSet = true;
381 m_supportedAddonList = std::forward<SupportedAddonListT>(value);
382 }
383 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
384 PlatformDescription& WithSupportedAddonList(SupportedAddonListT&& value) {
385 SetSupportedAddonList(std::forward<SupportedAddonListT>(value));
386 return *this;
387 }
388 template <typename SupportedAddonListT = Aws::String>
389 PlatformDescription& AddSupportedAddonList(SupportedAddonListT&& value) {
390 m_supportedAddonListHasBeenSet = true;
391 m_supportedAddonList.emplace_back(std::forward<SupportedAddonListT>(value));
392 return *this;
393 }
395
397
404 inline const Aws::String& GetPlatformLifecycleState() const { return m_platformLifecycleState; }
405 inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; }
406 template <typename PlatformLifecycleStateT = Aws::String>
407 void SetPlatformLifecycleState(PlatformLifecycleStateT&& value) {
408 m_platformLifecycleStateHasBeenSet = true;
409 m_platformLifecycleState = std::forward<PlatformLifecycleStateT>(value);
410 }
411 template <typename PlatformLifecycleStateT = Aws::String>
412 PlatformDescription& WithPlatformLifecycleState(PlatformLifecycleStateT&& value) {
413 SetPlatformLifecycleState(std::forward<PlatformLifecycleStateT>(value));
414 return *this;
415 }
417
419
422 inline const Aws::String& GetPlatformBranchName() const { return m_platformBranchName; }
423 inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; }
424 template <typename PlatformBranchNameT = Aws::String>
425 void SetPlatformBranchName(PlatformBranchNameT&& value) {
426 m_platformBranchNameHasBeenSet = true;
427 m_platformBranchName = std::forward<PlatformBranchNameT>(value);
428 }
429 template <typename PlatformBranchNameT = Aws::String>
430 PlatformDescription& WithPlatformBranchName(PlatformBranchNameT&& value) {
431 SetPlatformBranchName(std::forward<PlatformBranchNameT>(value));
432 return *this;
433 }
435
437
442 inline const Aws::String& GetPlatformBranchLifecycleState() const { return m_platformBranchLifecycleState; }
443 inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; }
444 template <typename PlatformBranchLifecycleStateT = Aws::String>
445 void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
446 m_platformBranchLifecycleStateHasBeenSet = true;
447 m_platformBranchLifecycleState = std::forward<PlatformBranchLifecycleStateT>(value);
448 }
449 template <typename PlatformBranchLifecycleStateT = Aws::String>
450 PlatformDescription& WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
451 SetPlatformBranchLifecycleState(std::forward<PlatformBranchLifecycleStateT>(value));
452 return *this;
453 }
455 private:
456 Aws::String m_platformArn;
457
458 Aws::String m_platformOwner;
459
460 Aws::String m_platformName;
461
462 Aws::String m_platformVersion;
463
464 Aws::String m_solutionStackName;
465
466 PlatformStatus m_platformStatus{PlatformStatus::NOT_SET};
467
468 Aws::Utils::DateTime m_dateCreated{};
469
470 Aws::Utils::DateTime m_dateUpdated{};
471
472 Aws::String m_platformCategory;
473
474 Aws::String m_description;
475
476 Aws::String m_maintainer;
477
478 Aws::String m_operatingSystemName;
479
480 Aws::String m_operatingSystemVersion;
481
482 Aws::Vector<PlatformProgrammingLanguage> m_programmingLanguages;
483
485
486 Aws::Vector<CustomAmi> m_customAmiList;
487
488 Aws::Vector<Aws::String> m_supportedTierList;
489
490 Aws::Vector<Aws::String> m_supportedAddonList;
491
492 Aws::String m_platformLifecycleState;
493
494 Aws::String m_platformBranchName;
495
496 Aws::String m_platformBranchLifecycleState;
497 bool m_platformArnHasBeenSet = false;
498 bool m_platformOwnerHasBeenSet = false;
499 bool m_platformNameHasBeenSet = false;
500 bool m_platformVersionHasBeenSet = false;
501 bool m_solutionStackNameHasBeenSet = false;
502 bool m_platformStatusHasBeenSet = false;
503 bool m_dateCreatedHasBeenSet = false;
504 bool m_dateUpdatedHasBeenSet = false;
505 bool m_platformCategoryHasBeenSet = false;
506 bool m_descriptionHasBeenSet = false;
507 bool m_maintainerHasBeenSet = false;
508 bool m_operatingSystemNameHasBeenSet = false;
509 bool m_operatingSystemVersionHasBeenSet = false;
510 bool m_programmingLanguagesHasBeenSet = false;
511 bool m_frameworksHasBeenSet = false;
512 bool m_customAmiListHasBeenSet = false;
513 bool m_supportedTierListHasBeenSet = false;
514 bool m_supportedAddonListHasBeenSet = false;
515 bool m_platformLifecycleStateHasBeenSet = false;
516 bool m_platformBranchNameHasBeenSet = false;
517 bool m_platformBranchLifecycleStateHasBeenSet = false;
518};
519
520} // namespace Model
521} // namespace ElasticBeanstalk
522} // 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