AWS SDK for C++

AWS SDK for C++ Version 1.11.909

Loading...
Searching...
No Matches
PlatformSummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
11#include <aws/elasticbeanstalk/model/PlatformStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElasticBeanstalk {
22namespace Model {
23
30 public:
31 AWS_ELASTICBEANSTALK_API PlatformSummary() = default;
32 AWS_ELASTICBEANSTALK_API PlatformSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_ELASTICBEANSTALK_API PlatformSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index,
36 const char* locationValue) const;
37 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
40
43 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
44 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
45 template <typename PlatformArnT = Aws::String>
46 void SetPlatformArn(PlatformArnT&& value) {
47 m_platformArnHasBeenSet = true;
48 m_platformArn = std::forward<PlatformArnT>(value);
49 }
50 template <typename PlatformArnT = Aws::String>
51 PlatformSummary& WithPlatformArn(PlatformArnT&& value) {
52 SetPlatformArn(std::forward<PlatformArnT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetPlatformOwner() const { return m_platformOwner; }
63 inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; }
64 template <typename PlatformOwnerT = Aws::String>
65 void SetPlatformOwner(PlatformOwnerT&& value) {
66 m_platformOwnerHasBeenSet = true;
67 m_platformOwner = std::forward<PlatformOwnerT>(value);
68 }
69 template <typename PlatformOwnerT = Aws::String>
70 PlatformSummary& WithPlatformOwner(PlatformOwnerT&& value) {
71 SetPlatformOwner(std::forward<PlatformOwnerT>(value));
72 return *this;
73 }
75
77
81 inline PlatformStatus GetPlatformStatus() const { return m_platformStatus; }
82 inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; }
83 inline void SetPlatformStatus(PlatformStatus value) {
84 m_platformStatusHasBeenSet = true;
85 m_platformStatus = value;
86 }
88 SetPlatformStatus(value);
89 return *this;
90 }
92
94
97 inline const Aws::String& GetPlatformCategory() const { return m_platformCategory; }
98 inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; }
99 template <typename PlatformCategoryT = Aws::String>
100 void SetPlatformCategory(PlatformCategoryT&& value) {
101 m_platformCategoryHasBeenSet = true;
102 m_platformCategory = std::forward<PlatformCategoryT>(value);
103 }
104 template <typename PlatformCategoryT = Aws::String>
105 PlatformSummary& WithPlatformCategory(PlatformCategoryT&& value) {
106 SetPlatformCategory(std::forward<PlatformCategoryT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetOperatingSystemName() const { return m_operatingSystemName; }
116 inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; }
117 template <typename OperatingSystemNameT = Aws::String>
118 void SetOperatingSystemName(OperatingSystemNameT&& value) {
119 m_operatingSystemNameHasBeenSet = true;
120 m_operatingSystemName = std::forward<OperatingSystemNameT>(value);
121 }
122 template <typename OperatingSystemNameT = Aws::String>
123 PlatformSummary& WithOperatingSystemName(OperatingSystemNameT&& value) {
124 SetOperatingSystemName(std::forward<OperatingSystemNameT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetOperatingSystemVersion() const { return m_operatingSystemVersion; }
134 inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; }
135 template <typename OperatingSystemVersionT = Aws::String>
136 void SetOperatingSystemVersion(OperatingSystemVersionT&& value) {
137 m_operatingSystemVersionHasBeenSet = true;
138 m_operatingSystemVersion = std::forward<OperatingSystemVersionT>(value);
139 }
140 template <typename OperatingSystemVersionT = Aws::String>
141 PlatformSummary& WithOperatingSystemVersion(OperatingSystemVersionT&& value) {
142 SetOperatingSystemVersion(std::forward<OperatingSystemVersionT>(value));
143 return *this;
144 }
146
148
151 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
152 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
153 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
154 void SetSupportedTierList(SupportedTierListT&& value) {
155 m_supportedTierListHasBeenSet = true;
156 m_supportedTierList = std::forward<SupportedTierListT>(value);
157 }
158 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
159 PlatformSummary& WithSupportedTierList(SupportedTierListT&& value) {
160 SetSupportedTierList(std::forward<SupportedTierListT>(value));
161 return *this;
162 }
163 template <typename SupportedTierListT = Aws::String>
164 PlatformSummary& AddSupportedTierList(SupportedTierListT&& value) {
165 m_supportedTierListHasBeenSet = true;
166 m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value));
167 return *this;
168 }
170
172
175 inline const Aws::Vector<Aws::String>& GetSupportedAddonList() const { return m_supportedAddonList; }
176 inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; }
177 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
178 void SetSupportedAddonList(SupportedAddonListT&& value) {
179 m_supportedAddonListHasBeenSet = true;
180 m_supportedAddonList = std::forward<SupportedAddonListT>(value);
181 }
182 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
183 PlatformSummary& WithSupportedAddonList(SupportedAddonListT&& value) {
184 SetSupportedAddonList(std::forward<SupportedAddonListT>(value));
185 return *this;
186 }
187 template <typename SupportedAddonListT = Aws::String>
188 PlatformSummary& AddSupportedAddonList(SupportedAddonListT&& value) {
189 m_supportedAddonListHasBeenSet = true;
190 m_supportedAddonList.emplace_back(std::forward<SupportedAddonListT>(value));
191 return *this;
192 }
194
196
201 inline const Aws::String& GetPlatformLifecycleState() const { return m_platformLifecycleState; }
202 inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; }
203 template <typename PlatformLifecycleStateT = Aws::String>
204 void SetPlatformLifecycleState(PlatformLifecycleStateT&& value) {
205 m_platformLifecycleStateHasBeenSet = true;
206 m_platformLifecycleState = std::forward<PlatformLifecycleStateT>(value);
207 }
208 template <typename PlatformLifecycleStateT = Aws::String>
209 PlatformSummary& WithPlatformLifecycleState(PlatformLifecycleStateT&& value) {
210 SetPlatformLifecycleState(std::forward<PlatformLifecycleStateT>(value));
211 return *this;
212 }
214
216
219 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
220 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
221 template <typename PlatformVersionT = Aws::String>
222 void SetPlatformVersion(PlatformVersionT&& value) {
223 m_platformVersionHasBeenSet = true;
224 m_platformVersion = std::forward<PlatformVersionT>(value);
225 }
226 template <typename PlatformVersionT = Aws::String>
227 PlatformSummary& WithPlatformVersion(PlatformVersionT&& value) {
228 SetPlatformVersion(std::forward<PlatformVersionT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::String& GetPlatformBranchName() const { return m_platformBranchName; }
238 inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; }
239 template <typename PlatformBranchNameT = Aws::String>
240 void SetPlatformBranchName(PlatformBranchNameT&& value) {
241 m_platformBranchNameHasBeenSet = true;
242 m_platformBranchName = std::forward<PlatformBranchNameT>(value);
243 }
244 template <typename PlatformBranchNameT = Aws::String>
245 PlatformSummary& WithPlatformBranchName(PlatformBranchNameT&& value) {
246 SetPlatformBranchName(std::forward<PlatformBranchNameT>(value));
247 return *this;
248 }
250
252
257 inline const Aws::String& GetPlatformBranchLifecycleState() const { return m_platformBranchLifecycleState; }
258 inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; }
259 template <typename PlatformBranchLifecycleStateT = Aws::String>
260 void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
261 m_platformBranchLifecycleStateHasBeenSet = true;
262 m_platformBranchLifecycleState = std::forward<PlatformBranchLifecycleStateT>(value);
263 }
264 template <typename PlatformBranchLifecycleStateT = Aws::String>
265 PlatformSummary& WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
266 SetPlatformBranchLifecycleState(std::forward<PlatformBranchLifecycleStateT>(value));
267 return *this;
268 }
270 private:
271 Aws::String m_platformArn;
272
273 Aws::String m_platformOwner;
274
275 PlatformStatus m_platformStatus{PlatformStatus::NOT_SET};
276
277 Aws::String m_platformCategory;
278
279 Aws::String m_operatingSystemName;
280
281 Aws::String m_operatingSystemVersion;
282
283 Aws::Vector<Aws::String> m_supportedTierList;
284
285 Aws::Vector<Aws::String> m_supportedAddonList;
286
287 Aws::String m_platformLifecycleState;
288
289 Aws::String m_platformVersion;
290
291 Aws::String m_platformBranchName;
292
293 Aws::String m_platformBranchLifecycleState;
294 bool m_platformArnHasBeenSet = false;
295 bool m_platformOwnerHasBeenSet = false;
296 bool m_platformStatusHasBeenSet = false;
297 bool m_platformCategoryHasBeenSet = false;
298 bool m_operatingSystemNameHasBeenSet = false;
299 bool m_operatingSystemVersionHasBeenSet = false;
300 bool m_supportedTierListHasBeenSet = false;
301 bool m_supportedAddonListHasBeenSet = false;
302 bool m_platformLifecycleStateHasBeenSet = false;
303 bool m_platformVersionHasBeenSet = false;
304 bool m_platformBranchNameHasBeenSet = false;
305 bool m_platformBranchLifecycleStateHasBeenSet = false;
306};
307
308} // namespace Model
309} // namespace ElasticBeanstalk
310} // namespace Aws
const Aws::String & GetPlatformBranchLifecycleState() const
void SetPlatformOwner(PlatformOwnerT &&value)
const Aws::String & GetOperatingSystemName() const
PlatformSummary & WithOperatingSystemName(OperatingSystemNameT &&value)
void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT &&value)
const Aws::Vector< Aws::String > & GetSupportedAddonList() const
AWS_ELASTICBEANSTALK_API PlatformSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPlatformLifecycleState(PlatformLifecycleStateT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PlatformSummary & WithPlatformLifecycleState(PlatformLifecycleStateT &&value)
PlatformSummary & WithPlatformStatus(PlatformStatus value)
PlatformSummary & WithSupportedAddonList(SupportedAddonListT &&value)
AWS_ELASTICBEANSTALK_API PlatformSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOperatingSystemName(OperatingSystemNameT &&value)
void SetPlatformCategory(PlatformCategoryT &&value)
const Aws::String & GetPlatformBranchName() const
const Aws::String & GetPlatformLifecycleState() const
PlatformSummary & WithPlatformCategory(PlatformCategoryT &&value)
PlatformSummary & WithPlatformVersion(PlatformVersionT &&value)
PlatformSummary & AddSupportedTierList(SupportedTierListT &&value)
void SetPlatformBranchName(PlatformBranchNameT &&value)
PlatformSummary & WithOperatingSystemVersion(OperatingSystemVersionT &&value)
const Aws::String & GetPlatformCategory() const
const Aws::Vector< Aws::String > & GetSupportedTierList() const
void SetSupportedTierList(SupportedTierListT &&value)
const Aws::String & GetOperatingSystemVersion() const
PlatformSummary & WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT &&value)
PlatformSummary & WithSupportedTierList(SupportedTierListT &&value)
AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PlatformSummary & WithPlatformBranchName(PlatformBranchNameT &&value)
void SetPlatformVersion(PlatformVersionT &&value)
void SetSupportedAddonList(SupportedAddonListT &&value)
PlatformSummary & WithPlatformOwner(PlatformOwnerT &&value)
AWS_ELASTICBEANSTALK_API PlatformSummary()=default
void SetOperatingSystemVersion(OperatingSystemVersionT &&value)
PlatformSummary & AddSupportedAddonList(SupportedAddonListT &&value)
PlatformSummary & WithPlatformArn(PlatformArnT &&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