AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PlatformDescription.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticbeanstalk/model/PlatformStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticbeanstalk/model/PlatformProgrammingLanguage.h>
14#include <aws/elasticbeanstalk/model/PlatformFramework.h>
15#include <aws/elasticbeanstalk/model/CustomAmi.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Xml
23{
24 class XmlNode;
25} // namespace Xml
26} // namespace Utils
27namespace ElasticBeanstalk
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_ELASTICBEANSTALK_API PlatformDescription() = default;
41 AWS_ELASTICBEANSTALK_API PlatformDescription(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_ELASTICBEANSTALK_API PlatformDescription& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
53 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
54 template<typename PlatformArnT = Aws::String>
55 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
56 template<typename PlatformArnT = Aws::String>
57 PlatformDescription& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetPlatformOwner() const { return m_platformOwner; }
65 inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; }
66 template<typename PlatformOwnerT = Aws::String>
67 void SetPlatformOwner(PlatformOwnerT&& value) { m_platformOwnerHasBeenSet = true; m_platformOwner = std::forward<PlatformOwnerT>(value); }
68 template<typename PlatformOwnerT = Aws::String>
69 PlatformDescription& WithPlatformOwner(PlatformOwnerT&& value) { SetPlatformOwner(std::forward<PlatformOwnerT>(value)); return *this;}
71
73
76 inline const Aws::String& GetPlatformName() const { return m_platformName; }
77 inline bool PlatformNameHasBeenSet() const { return m_platformNameHasBeenSet; }
78 template<typename PlatformNameT = Aws::String>
79 void SetPlatformName(PlatformNameT&& value) { m_platformNameHasBeenSet = true; m_platformName = std::forward<PlatformNameT>(value); }
80 template<typename PlatformNameT = Aws::String>
81 PlatformDescription& WithPlatformName(PlatformNameT&& value) { SetPlatformName(std::forward<PlatformNameT>(value)); return *this;}
83
85
88 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
89 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
90 template<typename PlatformVersionT = Aws::String>
91 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::forward<PlatformVersionT>(value); }
92 template<typename PlatformVersionT = Aws::String>
93 PlatformDescription& WithPlatformVersion(PlatformVersionT&& value) { SetPlatformVersion(std::forward<PlatformVersionT>(value)); return *this;}
95
97
100 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
101 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
102 template<typename SolutionStackNameT = Aws::String>
103 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
104 template<typename SolutionStackNameT = Aws::String>
105 PlatformDescription& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
107
109
112 inline PlatformStatus GetPlatformStatus() const { return m_platformStatus; }
113 inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; }
114 inline void SetPlatformStatus(PlatformStatus value) { m_platformStatusHasBeenSet = true; m_platformStatus = value; }
117
119
122 inline const Aws::Utils::DateTime& GetDateCreated() const { return m_dateCreated; }
123 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
124 template<typename DateCreatedT = Aws::Utils::DateTime>
125 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
126 template<typename DateCreatedT = Aws::Utils::DateTime>
127 PlatformDescription& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetDateUpdated() const { return m_dateUpdated; }
135 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
136 template<typename DateUpdatedT = Aws::Utils::DateTime>
137 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
138 template<typename DateUpdatedT = Aws::Utils::DateTime>
139 PlatformDescription& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
141
143
146 inline const Aws::String& GetPlatformCategory() const { return m_platformCategory; }
147 inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; }
148 template<typename PlatformCategoryT = Aws::String>
149 void SetPlatformCategory(PlatformCategoryT&& value) { m_platformCategoryHasBeenSet = true; m_platformCategory = std::forward<PlatformCategoryT>(value); }
150 template<typename PlatformCategoryT = Aws::String>
151 PlatformDescription& WithPlatformCategory(PlatformCategoryT&& value) { SetPlatformCategory(std::forward<PlatformCategoryT>(value)); return *this;}
153
155
158 inline const Aws::String& GetDescription() const { return m_description; }
159 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
160 template<typename DescriptionT = Aws::String>
161 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
162 template<typename DescriptionT = Aws::String>
163 PlatformDescription& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
165
167
170 inline const Aws::String& GetMaintainer() const { return m_maintainer; }
171 inline bool MaintainerHasBeenSet() const { return m_maintainerHasBeenSet; }
172 template<typename MaintainerT = Aws::String>
173 void SetMaintainer(MaintainerT&& value) { m_maintainerHasBeenSet = true; m_maintainer = std::forward<MaintainerT>(value); }
174 template<typename MaintainerT = Aws::String>
175 PlatformDescription& WithMaintainer(MaintainerT&& value) { SetMaintainer(std::forward<MaintainerT>(value)); return *this;}
177
179
182 inline const Aws::String& GetOperatingSystemName() const { return m_operatingSystemName; }
183 inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; }
184 template<typename OperatingSystemNameT = Aws::String>
185 void SetOperatingSystemName(OperatingSystemNameT&& value) { m_operatingSystemNameHasBeenSet = true; m_operatingSystemName = std::forward<OperatingSystemNameT>(value); }
186 template<typename OperatingSystemNameT = Aws::String>
187 PlatformDescription& WithOperatingSystemName(OperatingSystemNameT&& value) { SetOperatingSystemName(std::forward<OperatingSystemNameT>(value)); return *this;}
189
191
194 inline const Aws::String& GetOperatingSystemVersion() const { return m_operatingSystemVersion; }
195 inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; }
196 template<typename OperatingSystemVersionT = Aws::String>
197 void SetOperatingSystemVersion(OperatingSystemVersionT&& value) { m_operatingSystemVersionHasBeenSet = true; m_operatingSystemVersion = std::forward<OperatingSystemVersionT>(value); }
198 template<typename OperatingSystemVersionT = Aws::String>
199 PlatformDescription& WithOperatingSystemVersion(OperatingSystemVersionT&& value) { SetOperatingSystemVersion(std::forward<OperatingSystemVersionT>(value)); return *this;}
201
203
206 inline const Aws::Vector<PlatformProgrammingLanguage>& GetProgrammingLanguages() const { return m_programmingLanguages; }
207 inline bool ProgrammingLanguagesHasBeenSet() const { return m_programmingLanguagesHasBeenSet; }
208 template<typename ProgrammingLanguagesT = Aws::Vector<PlatformProgrammingLanguage>>
209 void SetProgrammingLanguages(ProgrammingLanguagesT&& value) { m_programmingLanguagesHasBeenSet = true; m_programmingLanguages = std::forward<ProgrammingLanguagesT>(value); }
210 template<typename ProgrammingLanguagesT = Aws::Vector<PlatformProgrammingLanguage>>
211 PlatformDescription& WithProgrammingLanguages(ProgrammingLanguagesT&& value) { SetProgrammingLanguages(std::forward<ProgrammingLanguagesT>(value)); return *this;}
212 template<typename ProgrammingLanguagesT = PlatformProgrammingLanguage>
213 PlatformDescription& AddProgrammingLanguages(ProgrammingLanguagesT&& value) { m_programmingLanguagesHasBeenSet = true; m_programmingLanguages.emplace_back(std::forward<ProgrammingLanguagesT>(value)); return *this; }
215
217
220 inline const Aws::Vector<PlatformFramework>& GetFrameworks() const { return m_frameworks; }
221 inline bool FrameworksHasBeenSet() const { return m_frameworksHasBeenSet; }
222 template<typename FrameworksT = Aws::Vector<PlatformFramework>>
223 void SetFrameworks(FrameworksT&& value) { m_frameworksHasBeenSet = true; m_frameworks = std::forward<FrameworksT>(value); }
224 template<typename FrameworksT = Aws::Vector<PlatformFramework>>
225 PlatformDescription& WithFrameworks(FrameworksT&& value) { SetFrameworks(std::forward<FrameworksT>(value)); return *this;}
226 template<typename FrameworksT = PlatformFramework>
227 PlatformDescription& AddFrameworks(FrameworksT&& value) { m_frameworksHasBeenSet = true; m_frameworks.emplace_back(std::forward<FrameworksT>(value)); return *this; }
229
231
234 inline const Aws::Vector<CustomAmi>& GetCustomAmiList() const { return m_customAmiList; }
235 inline bool CustomAmiListHasBeenSet() const { return m_customAmiListHasBeenSet; }
236 template<typename CustomAmiListT = Aws::Vector<CustomAmi>>
237 void SetCustomAmiList(CustomAmiListT&& value) { m_customAmiListHasBeenSet = true; m_customAmiList = std::forward<CustomAmiListT>(value); }
238 template<typename CustomAmiListT = Aws::Vector<CustomAmi>>
239 PlatformDescription& WithCustomAmiList(CustomAmiListT&& value) { SetCustomAmiList(std::forward<CustomAmiListT>(value)); return *this;}
240 template<typename CustomAmiListT = CustomAmi>
241 PlatformDescription& AddCustomAmiList(CustomAmiListT&& value) { m_customAmiListHasBeenSet = true; m_customAmiList.emplace_back(std::forward<CustomAmiListT>(value)); return *this; }
243
245
248 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
249 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
250 template<typename SupportedTierListT = Aws::Vector<Aws::String>>
251 void SetSupportedTierList(SupportedTierListT&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = std::forward<SupportedTierListT>(value); }
252 template<typename SupportedTierListT = Aws::Vector<Aws::String>>
253 PlatformDescription& WithSupportedTierList(SupportedTierListT&& value) { SetSupportedTierList(std::forward<SupportedTierListT>(value)); return *this;}
254 template<typename SupportedTierListT = Aws::String>
255 PlatformDescription& AddSupportedTierList(SupportedTierListT&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value)); return *this; }
257
259
262 inline const Aws::Vector<Aws::String>& GetSupportedAddonList() const { return m_supportedAddonList; }
263 inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; }
264 template<typename SupportedAddonListT = Aws::Vector<Aws::String>>
265 void SetSupportedAddonList(SupportedAddonListT&& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList = std::forward<SupportedAddonListT>(value); }
266 template<typename SupportedAddonListT = Aws::Vector<Aws::String>>
267 PlatformDescription& WithSupportedAddonList(SupportedAddonListT&& value) { SetSupportedAddonList(std::forward<SupportedAddonListT>(value)); return *this;}
268 template<typename SupportedAddonListT = Aws::String>
269 PlatformDescription& AddSupportedAddonList(SupportedAddonListT&& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList.emplace_back(std::forward<SupportedAddonListT>(value)); return *this; }
271
273
280 inline const Aws::String& GetPlatformLifecycleState() const { return m_platformLifecycleState; }
281 inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; }
282 template<typename PlatformLifecycleStateT = Aws::String>
283 void SetPlatformLifecycleState(PlatformLifecycleStateT&& value) { m_platformLifecycleStateHasBeenSet = true; m_platformLifecycleState = std::forward<PlatformLifecycleStateT>(value); }
284 template<typename PlatformLifecycleStateT = Aws::String>
285 PlatformDescription& WithPlatformLifecycleState(PlatformLifecycleStateT&& value) { SetPlatformLifecycleState(std::forward<PlatformLifecycleStateT>(value)); return *this;}
287
289
292 inline const Aws::String& GetPlatformBranchName() const { return m_platformBranchName; }
293 inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; }
294 template<typename PlatformBranchNameT = Aws::String>
295 void SetPlatformBranchName(PlatformBranchNameT&& value) { m_platformBranchNameHasBeenSet = true; m_platformBranchName = std::forward<PlatformBranchNameT>(value); }
296 template<typename PlatformBranchNameT = Aws::String>
297 PlatformDescription& WithPlatformBranchName(PlatformBranchNameT&& value) { SetPlatformBranchName(std::forward<PlatformBranchNameT>(value)); return *this;}
299
301
306 inline const Aws::String& GetPlatformBranchLifecycleState() const { return m_platformBranchLifecycleState; }
307 inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; }
308 template<typename PlatformBranchLifecycleStateT = Aws::String>
309 void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) { m_platformBranchLifecycleStateHasBeenSet = true; m_platformBranchLifecycleState = std::forward<PlatformBranchLifecycleStateT>(value); }
310 template<typename PlatformBranchLifecycleStateT = Aws::String>
311 PlatformDescription& WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) { SetPlatformBranchLifecycleState(std::forward<PlatformBranchLifecycleStateT>(value)); return *this;}
313 private:
314
315 Aws::String m_platformArn;
316 bool m_platformArnHasBeenSet = false;
317
318 Aws::String m_platformOwner;
319 bool m_platformOwnerHasBeenSet = false;
320
321 Aws::String m_platformName;
322 bool m_platformNameHasBeenSet = false;
323
324 Aws::String m_platformVersion;
325 bool m_platformVersionHasBeenSet = false;
326
327 Aws::String m_solutionStackName;
328 bool m_solutionStackNameHasBeenSet = false;
329
330 PlatformStatus m_platformStatus{PlatformStatus::NOT_SET};
331 bool m_platformStatusHasBeenSet = false;
332
333 Aws::Utils::DateTime m_dateCreated{};
334 bool m_dateCreatedHasBeenSet = false;
335
336 Aws::Utils::DateTime m_dateUpdated{};
337 bool m_dateUpdatedHasBeenSet = false;
338
339 Aws::String m_platformCategory;
340 bool m_platformCategoryHasBeenSet = false;
341
342 Aws::String m_description;
343 bool m_descriptionHasBeenSet = false;
344
345 Aws::String m_maintainer;
346 bool m_maintainerHasBeenSet = false;
347
348 Aws::String m_operatingSystemName;
349 bool m_operatingSystemNameHasBeenSet = false;
350
351 Aws::String m_operatingSystemVersion;
352 bool m_operatingSystemVersionHasBeenSet = false;
353
354 Aws::Vector<PlatformProgrammingLanguage> m_programmingLanguages;
355 bool m_programmingLanguagesHasBeenSet = false;
356
358 bool m_frameworksHasBeenSet = false;
359
360 Aws::Vector<CustomAmi> m_customAmiList;
361 bool m_customAmiListHasBeenSet = false;
362
363 Aws::Vector<Aws::String> m_supportedTierList;
364 bool m_supportedTierListHasBeenSet = false;
365
366 Aws::Vector<Aws::String> m_supportedAddonList;
367 bool m_supportedAddonListHasBeenSet = false;
368
369 Aws::String m_platformLifecycleState;
370 bool m_platformLifecycleStateHasBeenSet = false;
371
372 Aws::String m_platformBranchName;
373 bool m_platformBranchNameHasBeenSet = false;
374
375 Aws::String m_platformBranchLifecycleState;
376 bool m_platformBranchLifecycleStateHasBeenSet = false;
377 };
378
379} // namespace Model
380} // namespace ElasticBeanstalk
381} // 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