AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
61 inline const Aws::String& GetPlatformOwner() const { return m_platformOwner; }
62 inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; }
63 template <typename PlatformOwnerT = Aws::String>
64 void SetPlatformOwner(PlatformOwnerT&& value) {
65 m_platformOwnerHasBeenSet = true;
66 m_platformOwner = std::forward<PlatformOwnerT>(value);
67 }
68 template <typename PlatformOwnerT = Aws::String>
69 PlatformSummary& WithPlatformOwner(PlatformOwnerT&& value) {
70 SetPlatformOwner(std::forward<PlatformOwnerT>(value));
71 return *this;
72 }
74
76
80 inline PlatformStatus GetPlatformStatus() const { return m_platformStatus; }
81 inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; }
82 inline void SetPlatformStatus(PlatformStatus value) {
83 m_platformStatusHasBeenSet = true;
84 m_platformStatus = value;
85 }
87 SetPlatformStatus(value);
88 return *this;
89 }
91
93
96 inline const Aws::String& GetPlatformCategory() const { return m_platformCategory; }
97 inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; }
98 template <typename PlatformCategoryT = Aws::String>
99 void SetPlatformCategory(PlatformCategoryT&& value) {
100 m_platformCategoryHasBeenSet = true;
101 m_platformCategory = std::forward<PlatformCategoryT>(value);
102 }
103 template <typename PlatformCategoryT = Aws::String>
104 PlatformSummary& WithPlatformCategory(PlatformCategoryT&& value) {
105 SetPlatformCategory(std::forward<PlatformCategoryT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetOperatingSystemName() const { return m_operatingSystemName; }
115 inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; }
116 template <typename OperatingSystemNameT = Aws::String>
117 void SetOperatingSystemName(OperatingSystemNameT&& value) {
118 m_operatingSystemNameHasBeenSet = true;
119 m_operatingSystemName = std::forward<OperatingSystemNameT>(value);
120 }
121 template <typename OperatingSystemNameT = Aws::String>
122 PlatformSummary& WithOperatingSystemName(OperatingSystemNameT&& value) {
123 SetOperatingSystemName(std::forward<OperatingSystemNameT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetOperatingSystemVersion() const { return m_operatingSystemVersion; }
133 inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; }
134 template <typename OperatingSystemVersionT = Aws::String>
135 void SetOperatingSystemVersion(OperatingSystemVersionT&& value) {
136 m_operatingSystemVersionHasBeenSet = true;
137 m_operatingSystemVersion = std::forward<OperatingSystemVersionT>(value);
138 }
139 template <typename OperatingSystemVersionT = Aws::String>
140 PlatformSummary& WithOperatingSystemVersion(OperatingSystemVersionT&& value) {
141 SetOperatingSystemVersion(std::forward<OperatingSystemVersionT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
151 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
152 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
153 void SetSupportedTierList(SupportedTierListT&& value) {
154 m_supportedTierListHasBeenSet = true;
155 m_supportedTierList = std::forward<SupportedTierListT>(value);
156 }
157 template <typename SupportedTierListT = Aws::Vector<Aws::String>>
158 PlatformSummary& WithSupportedTierList(SupportedTierListT&& value) {
159 SetSupportedTierList(std::forward<SupportedTierListT>(value));
160 return *this;
161 }
162 template <typename SupportedTierListT = Aws::String>
163 PlatformSummary& AddSupportedTierList(SupportedTierListT&& value) {
164 m_supportedTierListHasBeenSet = true;
165 m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::Vector<Aws::String>& GetSupportedAddonList() const { return m_supportedAddonList; }
175 inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; }
176 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
177 void SetSupportedAddonList(SupportedAddonListT&& value) {
178 m_supportedAddonListHasBeenSet = true;
179 m_supportedAddonList = std::forward<SupportedAddonListT>(value);
180 }
181 template <typename SupportedAddonListT = Aws::Vector<Aws::String>>
182 PlatformSummary& WithSupportedAddonList(SupportedAddonListT&& value) {
183 SetSupportedAddonList(std::forward<SupportedAddonListT>(value));
184 return *this;
185 }
186 template <typename SupportedAddonListT = Aws::String>
187 PlatformSummary& AddSupportedAddonList(SupportedAddonListT&& value) {
188 m_supportedAddonListHasBeenSet = true;
189 m_supportedAddonList.emplace_back(std::forward<SupportedAddonListT>(value));
190 return *this;
191 }
193
195
200 inline const Aws::String& GetPlatformLifecycleState() const { return m_platformLifecycleState; }
201 inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; }
202 template <typename PlatformLifecycleStateT = Aws::String>
203 void SetPlatformLifecycleState(PlatformLifecycleStateT&& value) {
204 m_platformLifecycleStateHasBeenSet = true;
205 m_platformLifecycleState = std::forward<PlatformLifecycleStateT>(value);
206 }
207 template <typename PlatformLifecycleStateT = Aws::String>
208 PlatformSummary& WithPlatformLifecycleState(PlatformLifecycleStateT&& value) {
209 SetPlatformLifecycleState(std::forward<PlatformLifecycleStateT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
219 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
220 template <typename PlatformVersionT = Aws::String>
221 void SetPlatformVersion(PlatformVersionT&& value) {
222 m_platformVersionHasBeenSet = true;
223 m_platformVersion = std::forward<PlatformVersionT>(value);
224 }
225 template <typename PlatformVersionT = Aws::String>
226 PlatformSummary& WithPlatformVersion(PlatformVersionT&& value) {
227 SetPlatformVersion(std::forward<PlatformVersionT>(value));
228 return *this;
229 }
231
233
236 inline const Aws::String& GetPlatformBranchName() const { return m_platformBranchName; }
237 inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; }
238 template <typename PlatformBranchNameT = Aws::String>
239 void SetPlatformBranchName(PlatformBranchNameT&& value) {
240 m_platformBranchNameHasBeenSet = true;
241 m_platformBranchName = std::forward<PlatformBranchNameT>(value);
242 }
243 template <typename PlatformBranchNameT = Aws::String>
244 PlatformSummary& WithPlatformBranchName(PlatformBranchNameT&& value) {
245 SetPlatformBranchName(std::forward<PlatformBranchNameT>(value));
246 return *this;
247 }
249
251
256 inline const Aws::String& GetPlatformBranchLifecycleState() const { return m_platformBranchLifecycleState; }
257 inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; }
258 template <typename PlatformBranchLifecycleStateT = Aws::String>
259 void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
260 m_platformBranchLifecycleStateHasBeenSet = true;
261 m_platformBranchLifecycleState = std::forward<PlatformBranchLifecycleStateT>(value);
262 }
263 template <typename PlatformBranchLifecycleStateT = Aws::String>
264 PlatformSummary& WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) {
265 SetPlatformBranchLifecycleState(std::forward<PlatformBranchLifecycleStateT>(value));
266 return *this;
267 }
269 private:
270 Aws::String m_platformArn;
271
272 Aws::String m_platformOwner;
273
274 PlatformStatus m_platformStatus{PlatformStatus::NOT_SET};
275
276 Aws::String m_platformCategory;
277
278 Aws::String m_operatingSystemName;
279
280 Aws::String m_operatingSystemVersion;
281
282 Aws::Vector<Aws::String> m_supportedTierList;
283
284 Aws::Vector<Aws::String> m_supportedAddonList;
285
286 Aws::String m_platformLifecycleState;
287
288 Aws::String m_platformVersion;
289
290 Aws::String m_platformBranchName;
291
292 Aws::String m_platformBranchLifecycleState;
293 bool m_platformArnHasBeenSet = false;
294 bool m_platformOwnerHasBeenSet = false;
295 bool m_platformStatusHasBeenSet = false;
296 bool m_platformCategoryHasBeenSet = false;
297 bool m_operatingSystemNameHasBeenSet = false;
298 bool m_operatingSystemVersionHasBeenSet = false;
299 bool m_supportedTierListHasBeenSet = false;
300 bool m_supportedAddonListHasBeenSet = false;
301 bool m_platformLifecycleStateHasBeenSet = false;
302 bool m_platformVersionHasBeenSet = false;
303 bool m_platformBranchNameHasBeenSet = false;
304 bool m_platformBranchLifecycleStateHasBeenSet = false;
305};
306
307} // namespace Model
308} // namespace ElasticBeanstalk
309} // 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