AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PlatformSummary.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/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElasticBeanstalk
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ELASTICBEANSTALK_API PlatformSummary() = default;
37 AWS_ELASTICBEANSTALK_API PlatformSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICBEANSTALK_API PlatformSummary& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICBEANSTALK_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
49 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
50 template<typename PlatformArnT = Aws::String>
51 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
52 template<typename PlatformArnT = Aws::String>
53 PlatformSummary& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
55
57
60 inline const Aws::String& GetPlatformOwner() const { return m_platformOwner; }
61 inline bool PlatformOwnerHasBeenSet() const { return m_platformOwnerHasBeenSet; }
62 template<typename PlatformOwnerT = Aws::String>
63 void SetPlatformOwner(PlatformOwnerT&& value) { m_platformOwnerHasBeenSet = true; m_platformOwner = std::forward<PlatformOwnerT>(value); }
64 template<typename PlatformOwnerT = Aws::String>
65 PlatformSummary& WithPlatformOwner(PlatformOwnerT&& value) { SetPlatformOwner(std::forward<PlatformOwnerT>(value)); return *this;}
67
69
73 inline PlatformStatus GetPlatformStatus() const { return m_platformStatus; }
74 inline bool PlatformStatusHasBeenSet() const { return m_platformStatusHasBeenSet; }
75 inline void SetPlatformStatus(PlatformStatus value) { m_platformStatusHasBeenSet = true; m_platformStatus = value; }
78
80
83 inline const Aws::String& GetPlatformCategory() const { return m_platformCategory; }
84 inline bool PlatformCategoryHasBeenSet() const { return m_platformCategoryHasBeenSet; }
85 template<typename PlatformCategoryT = Aws::String>
86 void SetPlatformCategory(PlatformCategoryT&& value) { m_platformCategoryHasBeenSet = true; m_platformCategory = std::forward<PlatformCategoryT>(value); }
87 template<typename PlatformCategoryT = Aws::String>
88 PlatformSummary& WithPlatformCategory(PlatformCategoryT&& value) { SetPlatformCategory(std::forward<PlatformCategoryT>(value)); return *this;}
90
92
95 inline const Aws::String& GetOperatingSystemName() const { return m_operatingSystemName; }
96 inline bool OperatingSystemNameHasBeenSet() const { return m_operatingSystemNameHasBeenSet; }
97 template<typename OperatingSystemNameT = Aws::String>
98 void SetOperatingSystemName(OperatingSystemNameT&& value) { m_operatingSystemNameHasBeenSet = true; m_operatingSystemName = std::forward<OperatingSystemNameT>(value); }
99 template<typename OperatingSystemNameT = Aws::String>
100 PlatformSummary& WithOperatingSystemName(OperatingSystemNameT&& value) { SetOperatingSystemName(std::forward<OperatingSystemNameT>(value)); return *this;}
102
104
107 inline const Aws::String& GetOperatingSystemVersion() const { return m_operatingSystemVersion; }
108 inline bool OperatingSystemVersionHasBeenSet() const { return m_operatingSystemVersionHasBeenSet; }
109 template<typename OperatingSystemVersionT = Aws::String>
110 void SetOperatingSystemVersion(OperatingSystemVersionT&& value) { m_operatingSystemVersionHasBeenSet = true; m_operatingSystemVersion = std::forward<OperatingSystemVersionT>(value); }
111 template<typename OperatingSystemVersionT = Aws::String>
112 PlatformSummary& WithOperatingSystemVersion(OperatingSystemVersionT&& value) { SetOperatingSystemVersion(std::forward<OperatingSystemVersionT>(value)); return *this;}
114
116
119 inline const Aws::Vector<Aws::String>& GetSupportedTierList() const { return m_supportedTierList; }
120 inline bool SupportedTierListHasBeenSet() const { return m_supportedTierListHasBeenSet; }
121 template<typename SupportedTierListT = Aws::Vector<Aws::String>>
122 void SetSupportedTierList(SupportedTierListT&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList = std::forward<SupportedTierListT>(value); }
123 template<typename SupportedTierListT = Aws::Vector<Aws::String>>
124 PlatformSummary& WithSupportedTierList(SupportedTierListT&& value) { SetSupportedTierList(std::forward<SupportedTierListT>(value)); return *this;}
125 template<typename SupportedTierListT = Aws::String>
126 PlatformSummary& AddSupportedTierList(SupportedTierListT&& value) { m_supportedTierListHasBeenSet = true; m_supportedTierList.emplace_back(std::forward<SupportedTierListT>(value)); return *this; }
128
130
133 inline const Aws::Vector<Aws::String>& GetSupportedAddonList() const { return m_supportedAddonList; }
134 inline bool SupportedAddonListHasBeenSet() const { return m_supportedAddonListHasBeenSet; }
135 template<typename SupportedAddonListT = Aws::Vector<Aws::String>>
136 void SetSupportedAddonList(SupportedAddonListT&& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList = std::forward<SupportedAddonListT>(value); }
137 template<typename SupportedAddonListT = Aws::Vector<Aws::String>>
138 PlatformSummary& WithSupportedAddonList(SupportedAddonListT&& value) { SetSupportedAddonList(std::forward<SupportedAddonListT>(value)); return *this;}
139 template<typename SupportedAddonListT = Aws::String>
140 PlatformSummary& AddSupportedAddonList(SupportedAddonListT&& value) { m_supportedAddonListHasBeenSet = true; m_supportedAddonList.emplace_back(std::forward<SupportedAddonListT>(value)); return *this; }
142
144
149 inline const Aws::String& GetPlatformLifecycleState() const { return m_platformLifecycleState; }
150 inline bool PlatformLifecycleStateHasBeenSet() const { return m_platformLifecycleStateHasBeenSet; }
151 template<typename PlatformLifecycleStateT = Aws::String>
152 void SetPlatformLifecycleState(PlatformLifecycleStateT&& value) { m_platformLifecycleStateHasBeenSet = true; m_platformLifecycleState = std::forward<PlatformLifecycleStateT>(value); }
153 template<typename PlatformLifecycleStateT = Aws::String>
154 PlatformSummary& WithPlatformLifecycleState(PlatformLifecycleStateT&& value) { SetPlatformLifecycleState(std::forward<PlatformLifecycleStateT>(value)); return *this;}
156
158
161 inline const Aws::String& GetPlatformVersion() const { return m_platformVersion; }
162 inline bool PlatformVersionHasBeenSet() const { return m_platformVersionHasBeenSet; }
163 template<typename PlatformVersionT = Aws::String>
164 void SetPlatformVersion(PlatformVersionT&& value) { m_platformVersionHasBeenSet = true; m_platformVersion = std::forward<PlatformVersionT>(value); }
165 template<typename PlatformVersionT = Aws::String>
166 PlatformSummary& WithPlatformVersion(PlatformVersionT&& value) { SetPlatformVersion(std::forward<PlatformVersionT>(value)); return *this;}
168
170
173 inline const Aws::String& GetPlatformBranchName() const { return m_platformBranchName; }
174 inline bool PlatformBranchNameHasBeenSet() const { return m_platformBranchNameHasBeenSet; }
175 template<typename PlatformBranchNameT = Aws::String>
176 void SetPlatformBranchName(PlatformBranchNameT&& value) { m_platformBranchNameHasBeenSet = true; m_platformBranchName = std::forward<PlatformBranchNameT>(value); }
177 template<typename PlatformBranchNameT = Aws::String>
178 PlatformSummary& WithPlatformBranchName(PlatformBranchNameT&& value) { SetPlatformBranchName(std::forward<PlatformBranchNameT>(value)); return *this;}
180
182
187 inline const Aws::String& GetPlatformBranchLifecycleState() const { return m_platformBranchLifecycleState; }
188 inline bool PlatformBranchLifecycleStateHasBeenSet() const { return m_platformBranchLifecycleStateHasBeenSet; }
189 template<typename PlatformBranchLifecycleStateT = Aws::String>
190 void SetPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) { m_platformBranchLifecycleStateHasBeenSet = true; m_platformBranchLifecycleState = std::forward<PlatformBranchLifecycleStateT>(value); }
191 template<typename PlatformBranchLifecycleStateT = Aws::String>
192 PlatformSummary& WithPlatformBranchLifecycleState(PlatformBranchLifecycleStateT&& value) { SetPlatformBranchLifecycleState(std::forward<PlatformBranchLifecycleStateT>(value)); return *this;}
194 private:
195
196 Aws::String m_platformArn;
197 bool m_platformArnHasBeenSet = false;
198
199 Aws::String m_platformOwner;
200 bool m_platformOwnerHasBeenSet = false;
201
202 PlatformStatus m_platformStatus{PlatformStatus::NOT_SET};
203 bool m_platformStatusHasBeenSet = false;
204
205 Aws::String m_platformCategory;
206 bool m_platformCategoryHasBeenSet = false;
207
208 Aws::String m_operatingSystemName;
209 bool m_operatingSystemNameHasBeenSet = false;
210
211 Aws::String m_operatingSystemVersion;
212 bool m_operatingSystemVersionHasBeenSet = false;
213
214 Aws::Vector<Aws::String> m_supportedTierList;
215 bool m_supportedTierListHasBeenSet = false;
216
217 Aws::Vector<Aws::String> m_supportedAddonList;
218 bool m_supportedAddonListHasBeenSet = false;
219
220 Aws::String m_platformLifecycleState;
221 bool m_platformLifecycleStateHasBeenSet = false;
222
223 Aws::String m_platformVersion;
224 bool m_platformVersionHasBeenSet = false;
225
226 Aws::String m_platformBranchName;
227 bool m_platformBranchNameHasBeenSet = false;
228
229 Aws::String m_platformBranchLifecycleState;
230 bool m_platformBranchLifecycleStateHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace ElasticBeanstalk
235} // 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