AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AwsElasticBeanstalkEnvironmentDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/AwsElasticBeanstalkEnvironmentEnvironmentLink.h>
11#include <aws/securityhub/model/AwsElasticBeanstalkEnvironmentOptionSetting.h>
12#include <aws/securityhub/model/AwsElasticBeanstalkEnvironmentTier.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub {
24namespace Model {
25
33 public:
34 AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentDetails() = default;
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetApplicationName() const { return m_applicationName; }
44 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
45 template <typename ApplicationNameT = Aws::String>
46 void SetApplicationName(ApplicationNameT&& value) {
47 m_applicationNameHasBeenSet = true;
48 m_applicationName = std::forward<ApplicationNameT>(value);
49 }
50 template <typename ApplicationNameT = Aws::String>
52 SetApplicationName(std::forward<ApplicationNameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetCname() const { return m_cname; }
62 inline bool CnameHasBeenSet() const { return m_cnameHasBeenSet; }
63 template <typename CnameT = Aws::String>
64 void SetCname(CnameT&& value) {
65 m_cnameHasBeenSet = true;
66 m_cname = std::forward<CnameT>(value);
67 }
68 template <typename CnameT = Aws::String>
70 SetCname(std::forward<CnameT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
80 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
81 template <typename DateCreatedT = Aws::String>
82 void SetDateCreated(DateCreatedT&& value) {
83 m_dateCreatedHasBeenSet = true;
84 m_dateCreated = std::forward<DateCreatedT>(value);
85 }
86 template <typename DateCreatedT = Aws::String>
88 SetDateCreated(std::forward<DateCreatedT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetDateUpdated() const { return m_dateUpdated; }
98 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
99 template <typename DateUpdatedT = Aws::String>
100 void SetDateUpdated(DateUpdatedT&& value) {
101 m_dateUpdatedHasBeenSet = true;
102 m_dateUpdated = std::forward<DateUpdatedT>(value);
103 }
104 template <typename DateUpdatedT = Aws::String>
106 SetDateUpdated(std::forward<DateUpdatedT>(value));
107 return *this;
108 }
110
112
115 inline const Aws::String& GetDescription() const { return m_description; }
116 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
117 template <typename DescriptionT = Aws::String>
118 void SetDescription(DescriptionT&& value) {
119 m_descriptionHasBeenSet = true;
120 m_description = std::forward<DescriptionT>(value);
121 }
122 template <typename DescriptionT = Aws::String>
124 SetDescription(std::forward<DescriptionT>(value));
125 return *this;
126 }
128
130
134 inline const Aws::String& GetEndpointUrl() const { return m_endpointUrl; }
135 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
136 template <typename EndpointUrlT = Aws::String>
137 void SetEndpointUrl(EndpointUrlT&& value) {
138 m_endpointUrlHasBeenSet = true;
139 m_endpointUrl = std::forward<EndpointUrlT>(value);
140 }
141 template <typename EndpointUrlT = Aws::String>
143 SetEndpointUrl(std::forward<EndpointUrlT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
153 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
154 template <typename EnvironmentArnT = Aws::String>
155 void SetEnvironmentArn(EnvironmentArnT&& value) {
156 m_environmentArnHasBeenSet = true;
157 m_environmentArn = std::forward<EnvironmentArnT>(value);
158 }
159 template <typename EnvironmentArnT = Aws::String>
161 SetEnvironmentArn(std::forward<EnvironmentArnT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
171 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
172 template <typename EnvironmentIdT = Aws::String>
173 void SetEnvironmentId(EnvironmentIdT&& value) {
174 m_environmentIdHasBeenSet = true;
175 m_environmentId = std::forward<EnvironmentIdT>(value);
176 }
177 template <typename EnvironmentIdT = Aws::String>
179 SetEnvironmentId(std::forward<EnvironmentIdT>(value));
180 return *this;
181 }
183
185
188 inline const Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>& GetEnvironmentLinks() const { return m_environmentLinks; }
189 inline bool EnvironmentLinksHasBeenSet() const { return m_environmentLinksHasBeenSet; }
190 template <typename EnvironmentLinksT = Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>>
191 void SetEnvironmentLinks(EnvironmentLinksT&& value) {
192 m_environmentLinksHasBeenSet = true;
193 m_environmentLinks = std::forward<EnvironmentLinksT>(value);
194 }
195 template <typename EnvironmentLinksT = Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>>
197 SetEnvironmentLinks(std::forward<EnvironmentLinksT>(value));
198 return *this;
199 }
200 template <typename EnvironmentLinksT = AwsElasticBeanstalkEnvironmentEnvironmentLink>
202 m_environmentLinksHasBeenSet = true;
203 m_environmentLinks.emplace_back(std::forward<EnvironmentLinksT>(value));
204 return *this;
205 }
207
209
212 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
213 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
214 template <typename EnvironmentNameT = Aws::String>
215 void SetEnvironmentName(EnvironmentNameT&& value) {
216 m_environmentNameHasBeenSet = true;
217 m_environmentName = std::forward<EnvironmentNameT>(value);
218 }
219 template <typename EnvironmentNameT = Aws::String>
221 SetEnvironmentName(std::forward<EnvironmentNameT>(value));
222 return *this;
223 }
225
227
230 inline const Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
231 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
232 template <typename OptionSettingsT = Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>>
233 void SetOptionSettings(OptionSettingsT&& value) {
234 m_optionSettingsHasBeenSet = true;
235 m_optionSettings = std::forward<OptionSettingsT>(value);
236 }
237 template <typename OptionSettingsT = Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>>
239 SetOptionSettings(std::forward<OptionSettingsT>(value));
240 return *this;
241 }
242 template <typename OptionSettingsT = AwsElasticBeanstalkEnvironmentOptionSetting>
244 m_optionSettingsHasBeenSet = true;
245 m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
255 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
256 template <typename PlatformArnT = Aws::String>
257 void SetPlatformArn(PlatformArnT&& value) {
258 m_platformArnHasBeenSet = true;
259 m_platformArn = std::forward<PlatformArnT>(value);
260 }
261 template <typename PlatformArnT = Aws::String>
263 SetPlatformArn(std::forward<PlatformArnT>(value));
264 return *this;
265 }
267
269
272 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
273 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
274 template <typename SolutionStackNameT = Aws::String>
275 void SetSolutionStackName(SolutionStackNameT&& value) {
276 m_solutionStackNameHasBeenSet = true;
277 m_solutionStackName = std::forward<SolutionStackNameT>(value);
278 }
279 template <typename SolutionStackNameT = Aws::String>
281 SetSolutionStackName(std::forward<SolutionStackNameT>(value));
282 return *this;
283 }
285
287
296 inline const Aws::String& GetStatus() const { return m_status; }
297 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
298 template <typename StatusT = Aws::String>
299 void SetStatus(StatusT&& value) {
300 m_statusHasBeenSet = true;
301 m_status = std::forward<StatusT>(value);
302 }
303 template <typename StatusT = Aws::String>
305 SetStatus(std::forward<StatusT>(value));
306 return *this;
307 }
309
311
314 inline const AwsElasticBeanstalkEnvironmentTier& GetTier() const { return m_tier; }
315 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
316 template <typename TierT = AwsElasticBeanstalkEnvironmentTier>
317 void SetTier(TierT&& value) {
318 m_tierHasBeenSet = true;
319 m_tier = std::forward<TierT>(value);
320 }
321 template <typename TierT = AwsElasticBeanstalkEnvironmentTier>
323 SetTier(std::forward<TierT>(value));
324 return *this;
325 }
327
329
332 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
333 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
334 template <typename VersionLabelT = Aws::String>
335 void SetVersionLabel(VersionLabelT&& value) {
336 m_versionLabelHasBeenSet = true;
337 m_versionLabel = std::forward<VersionLabelT>(value);
338 }
339 template <typename VersionLabelT = Aws::String>
341 SetVersionLabel(std::forward<VersionLabelT>(value));
342 return *this;
343 }
345 private:
346 Aws::String m_applicationName;
347
348 Aws::String m_cname;
349
350 Aws::String m_dateCreated;
351
352 Aws::String m_dateUpdated;
353
354 Aws::String m_description;
355
356 Aws::String m_endpointUrl;
357
358 Aws::String m_environmentArn;
359
360 Aws::String m_environmentId;
361
363
364 Aws::String m_environmentName;
365
367
368 Aws::String m_platformArn;
369
370 Aws::String m_solutionStackName;
371
372 Aws::String m_status;
373
375
376 Aws::String m_versionLabel;
377 bool m_applicationNameHasBeenSet = false;
378 bool m_cnameHasBeenSet = false;
379 bool m_dateCreatedHasBeenSet = false;
380 bool m_dateUpdatedHasBeenSet = false;
381 bool m_descriptionHasBeenSet = false;
382 bool m_endpointUrlHasBeenSet = false;
383 bool m_environmentArnHasBeenSet = false;
384 bool m_environmentIdHasBeenSet = false;
385 bool m_environmentLinksHasBeenSet = false;
386 bool m_environmentNameHasBeenSet = false;
387 bool m_optionSettingsHasBeenSet = false;
388 bool m_platformArnHasBeenSet = false;
389 bool m_solutionStackNameHasBeenSet = false;
390 bool m_statusHasBeenSet = false;
391 bool m_tierHasBeenSet = false;
392 bool m_versionLabelHasBeenSet = false;
393};
394
395} // namespace Model
396} // namespace SecurityHub
397} // namespace Aws
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AwsElasticBeanstalkEnvironmentOptionSetting > & GetOptionSettings() const
AwsElasticBeanstalkEnvironmentDetails & WithDateCreated(DateCreatedT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithOptionSettings(OptionSettingsT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentArn(EnvironmentArnT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithSolutionStackName(SolutionStackNameT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< AwsElasticBeanstalkEnvironmentEnvironmentLink > & GetEnvironmentLinks() const
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentLinks(EnvironmentLinksT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithDateUpdated(DateUpdatedT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithVersionLabel(VersionLabelT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentId(EnvironmentIdT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentName(EnvironmentNameT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithDescription(DescriptionT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEndpointUrl(EndpointUrlT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithPlatformArn(PlatformArnT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithStatus(StatusT &&value)
AwsElasticBeanstalkEnvironmentDetails & AddOptionSettings(OptionSettingsT &&value)
AwsElasticBeanstalkEnvironmentDetails & AddEnvironmentLinks(EnvironmentLinksT &&value)
AwsElasticBeanstalkEnvironmentDetails & WithApplicationName(ApplicationNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue