AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsElasticBeanstalkEnvironmentDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsElasticBeanstalkEnvironmentTier.h>
11#include <aws/securityhub/model/AwsElasticBeanstalkEnvironmentEnvironmentLink.h>
12#include <aws/securityhub/model/AwsElasticBeanstalkEnvironmentOptionSetting.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityHub
26{
27namespace Model
28{
29
37 {
38 public:
42 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
50 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
51 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
52 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
53 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
56 inline AwsElasticBeanstalkEnvironmentDetails& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
58
60
63 inline const Aws::String& GetCname() const{ return m_cname; }
64 inline bool CnameHasBeenSet() const { return m_cnameHasBeenSet; }
65 inline void SetCname(const Aws::String& value) { m_cnameHasBeenSet = true; m_cname = value; }
66 inline void SetCname(Aws::String&& value) { m_cnameHasBeenSet = true; m_cname = std::move(value); }
67 inline void SetCname(const char* value) { m_cnameHasBeenSet = true; m_cname.assign(value); }
68 inline AwsElasticBeanstalkEnvironmentDetails& WithCname(const Aws::String& value) { SetCname(value); return *this;}
69 inline AwsElasticBeanstalkEnvironmentDetails& WithCname(Aws::String&& value) { SetCname(std::move(value)); return *this;}
70 inline AwsElasticBeanstalkEnvironmentDetails& WithCname(const char* value) { SetCname(value); return *this;}
72
74
77 inline const Aws::String& GetDateCreated() const{ return m_dateCreated; }
78 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
79 inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; }
80 inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); }
81 inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); }
83 inline AwsElasticBeanstalkEnvironmentDetails& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;}
84 inline AwsElasticBeanstalkEnvironmentDetails& WithDateCreated(const char* value) { SetDateCreated(value); return *this;}
86
88
91 inline const Aws::String& GetDateUpdated() const{ return m_dateUpdated; }
92 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
93 inline void SetDateUpdated(const Aws::String& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = value; }
94 inline void SetDateUpdated(Aws::String&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::move(value); }
95 inline void SetDateUpdated(const char* value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated.assign(value); }
97 inline AwsElasticBeanstalkEnvironmentDetails& WithDateUpdated(Aws::String&& value) { SetDateUpdated(std::move(value)); return *this;}
98 inline AwsElasticBeanstalkEnvironmentDetails& WithDateUpdated(const char* value) { SetDateUpdated(value); return *this;}
100
102
105 inline const Aws::String& GetDescription() const{ return m_description; }
106 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
107 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
108 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
109 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
111 inline AwsElasticBeanstalkEnvironmentDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
112 inline AwsElasticBeanstalkEnvironmentDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
114
116
120 inline const Aws::String& GetEndpointUrl() const{ return m_endpointUrl; }
121 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
122 inline void SetEndpointUrl(const Aws::String& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = value; }
123 inline void SetEndpointUrl(Aws::String&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::move(value); }
124 inline void SetEndpointUrl(const char* value) { m_endpointUrlHasBeenSet = true; m_endpointUrl.assign(value); }
126 inline AwsElasticBeanstalkEnvironmentDetails& WithEndpointUrl(Aws::String&& value) { SetEndpointUrl(std::move(value)); return *this;}
127 inline AwsElasticBeanstalkEnvironmentDetails& WithEndpointUrl(const char* value) { SetEndpointUrl(value); return *this;}
129
131
134 inline const Aws::String& GetEnvironmentArn() const{ return m_environmentArn; }
135 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
136 inline void SetEnvironmentArn(const Aws::String& value) { m_environmentArnHasBeenSet = true; m_environmentArn = value; }
137 inline void SetEnvironmentArn(Aws::String&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::move(value); }
138 inline void SetEnvironmentArn(const char* value) { m_environmentArnHasBeenSet = true; m_environmentArn.assign(value); }
141 inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentArn(const char* value) { SetEnvironmentArn(value); return *this;}
143
145
148 inline const Aws::String& GetEnvironmentId() const{ return m_environmentId; }
149 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
150 inline void SetEnvironmentId(const Aws::String& value) { m_environmentIdHasBeenSet = true; m_environmentId = value; }
151 inline void SetEnvironmentId(Aws::String&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::move(value); }
152 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }
154 inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentId(Aws::String&& value) { SetEnvironmentId(std::move(value)); return *this;}
155 inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentId(const char* value) { SetEnvironmentId(value); return *this;}
157
159
162 inline const Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>& GetEnvironmentLinks() const{ return m_environmentLinks; }
163 inline bool EnvironmentLinksHasBeenSet() const { return m_environmentLinksHasBeenSet; }
164 inline void SetEnvironmentLinks(const Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks = value; }
165 inline void SetEnvironmentLinks(Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks = std::move(value); }
168 inline AwsElasticBeanstalkEnvironmentDetails& AddEnvironmentLinks(const AwsElasticBeanstalkEnvironmentEnvironmentLink& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.push_back(value); return *this; }
169 inline AwsElasticBeanstalkEnvironmentDetails& AddEnvironmentLinks(AwsElasticBeanstalkEnvironmentEnvironmentLink&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.push_back(std::move(value)); return *this; }
171
173
176 inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; }
177 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
178 inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; }
179 inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); }
180 inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); }
183 inline AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;}
185
187
190 inline const Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>& GetOptionSettings() const{ return m_optionSettings; }
191 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
192 inline void SetOptionSettings(const Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = value; }
193 inline void SetOptionSettings(Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::move(value); }
196 inline AwsElasticBeanstalkEnvironmentDetails& AddOptionSettings(const AwsElasticBeanstalkEnvironmentOptionSetting& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(value); return *this; }
197 inline AwsElasticBeanstalkEnvironmentDetails& AddOptionSettings(AwsElasticBeanstalkEnvironmentOptionSetting&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.push_back(std::move(value)); return *this; }
199
201
204 inline const Aws::String& GetPlatformArn() const{ return m_platformArn; }
205 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
206 inline void SetPlatformArn(const Aws::String& value) { m_platformArnHasBeenSet = true; m_platformArn = value; }
207 inline void SetPlatformArn(Aws::String&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::move(value); }
208 inline void SetPlatformArn(const char* value) { m_platformArnHasBeenSet = true; m_platformArn.assign(value); }
210 inline AwsElasticBeanstalkEnvironmentDetails& WithPlatformArn(Aws::String&& value) { SetPlatformArn(std::move(value)); return *this;}
211 inline AwsElasticBeanstalkEnvironmentDetails& WithPlatformArn(const char* value) { SetPlatformArn(value); return *this;}
213
215
218 inline const Aws::String& GetSolutionStackName() const{ return m_solutionStackName; }
219 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
220 inline void SetSolutionStackName(const Aws::String& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = value; }
221 inline void SetSolutionStackName(Aws::String&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::move(value); }
222 inline void SetSolutionStackName(const char* value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName.assign(value); }
225 inline AwsElasticBeanstalkEnvironmentDetails& WithSolutionStackName(const char* value) { SetSolutionStackName(value); return *this;}
227
229
238 inline const Aws::String& GetStatus() const{ return m_status; }
239 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
240 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
241 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
242 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
243 inline AwsElasticBeanstalkEnvironmentDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
244 inline AwsElasticBeanstalkEnvironmentDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
245 inline AwsElasticBeanstalkEnvironmentDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
247
249
252 inline const AwsElasticBeanstalkEnvironmentTier& GetTier() const{ return m_tier; }
253 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
254 inline void SetTier(const AwsElasticBeanstalkEnvironmentTier& value) { m_tierHasBeenSet = true; m_tier = value; }
255 inline void SetTier(AwsElasticBeanstalkEnvironmentTier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); }
259
261
264 inline const Aws::String& GetVersionLabel() const{ return m_versionLabel; }
265 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
266 inline void SetVersionLabel(const Aws::String& value) { m_versionLabelHasBeenSet = true; m_versionLabel = value; }
267 inline void SetVersionLabel(Aws::String&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::move(value); }
268 inline void SetVersionLabel(const char* value) { m_versionLabelHasBeenSet = true; m_versionLabel.assign(value); }
270 inline AwsElasticBeanstalkEnvironmentDetails& WithVersionLabel(Aws::String&& value) { SetVersionLabel(std::move(value)); return *this;}
271 inline AwsElasticBeanstalkEnvironmentDetails& WithVersionLabel(const char* value) { SetVersionLabel(value); return *this;}
273 private:
274
275 Aws::String m_applicationName;
276 bool m_applicationNameHasBeenSet = false;
277
278 Aws::String m_cname;
279 bool m_cnameHasBeenSet = false;
280
281 Aws::String m_dateCreated;
282 bool m_dateCreatedHasBeenSet = false;
283
284 Aws::String m_dateUpdated;
285 bool m_dateUpdatedHasBeenSet = false;
286
287 Aws::String m_description;
288 bool m_descriptionHasBeenSet = false;
289
290 Aws::String m_endpointUrl;
291 bool m_endpointUrlHasBeenSet = false;
292
293 Aws::String m_environmentArn;
294 bool m_environmentArnHasBeenSet = false;
295
296 Aws::String m_environmentId;
297 bool m_environmentIdHasBeenSet = false;
298
300 bool m_environmentLinksHasBeenSet = false;
301
302 Aws::String m_environmentName;
303 bool m_environmentNameHasBeenSet = false;
304
306 bool m_optionSettingsHasBeenSet = false;
307
308 Aws::String m_platformArn;
309 bool m_platformArnHasBeenSet = false;
310
311 Aws::String m_solutionStackName;
312 bool m_solutionStackNameHasBeenSet = false;
313
314 Aws::String m_status;
315 bool m_statusHasBeenSet = false;
316
318 bool m_tierHasBeenSet = false;
319
320 Aws::String m_versionLabel;
321 bool m_versionLabelHasBeenSet = false;
322 };
323
324} // namespace Model
325} // namespace SecurityHub
326} // namespace Aws
AwsElasticBeanstalkEnvironmentDetails & WithSolutionStackName(const char *value)
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentDetails(Aws::Utils::Json::JsonView jsonValue)
AwsElasticBeanstalkEnvironmentDetails & WithOptionSettings(const Aws::Vector< AwsElasticBeanstalkEnvironmentOptionSetting > &value)
AwsElasticBeanstalkEnvironmentDetails & WithPlatformArn(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithCname(const char *value)
const Aws::Vector< AwsElasticBeanstalkEnvironmentOptionSetting > & GetOptionSettings() const
AwsElasticBeanstalkEnvironmentDetails & AddOptionSettings(const AwsElasticBeanstalkEnvironmentOptionSetting &value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentName(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithApplicationName(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithApplicationName(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentArn(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithPlatformArn(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEndpointUrl(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithDateUpdated(const char *value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentArn(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithOptionSettings(Aws::Vector< AwsElasticBeanstalkEnvironmentOptionSetting > &&value)
const Aws::Vector< AwsElasticBeanstalkEnvironmentEnvironmentLink > & GetEnvironmentLinks() const
void SetOptionSettings(const Aws::Vector< AwsElasticBeanstalkEnvironmentOptionSetting > &value)
AwsElasticBeanstalkEnvironmentDetails & WithCname(const Aws::String &value)
void SetEnvironmentLinks(const Aws::Vector< AwsElasticBeanstalkEnvironmentEnvironmentLink > &value)
AwsElasticBeanstalkEnvironmentDetails & WithDescription(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentLinks(const Aws::Vector< AwsElasticBeanstalkEnvironmentEnvironmentLink > &value)
void SetEnvironmentLinks(Aws::Vector< AwsElasticBeanstalkEnvironmentEnvironmentLink > &&value)
AwsElasticBeanstalkEnvironmentDetails & WithDescription(Aws::String &&value)
AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentName(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithEndpointUrl(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithCname(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithDateUpdated(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentId(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithSolutionStackName(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & AddOptionSettings(AwsElasticBeanstalkEnvironmentOptionSetting &&value)
void SetOptionSettings(Aws::Vector< AwsElasticBeanstalkEnvironmentOptionSetting > &&value)
AwsElasticBeanstalkEnvironmentDetails & WithStatus(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithDateCreated(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithDateCreated(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentArn(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithPlatformArn(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithEndpointUrl(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithApplicationName(const char *value)
AwsElasticBeanstalkEnvironmentDetails & AddEnvironmentLinks(AwsElasticBeanstalkEnvironmentEnvironmentLink &&value)
AwsElasticBeanstalkEnvironmentDetails & WithDateCreated(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithSolutionStackName(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentLinks(Aws::Vector< AwsElasticBeanstalkEnvironmentEnvironmentLink > &&value)
AwsElasticBeanstalkEnvironmentDetails & AddEnvironmentLinks(const AwsElasticBeanstalkEnvironmentEnvironmentLink &value)
AwsElasticBeanstalkEnvironmentDetails & WithStatus(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithVersionLabel(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithDescription(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithVersionLabel(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentId(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithDateUpdated(const Aws::String &value)
AwsElasticBeanstalkEnvironmentDetails & WithStatus(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithVersionLabel(const char *value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentId(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithEnvironmentName(Aws::String &&value)
AwsElasticBeanstalkEnvironmentDetails & WithTier(const AwsElasticBeanstalkEnvironmentTier &value)
AwsElasticBeanstalkEnvironmentDetails & WithTier(AwsElasticBeanstalkEnvironmentTier &&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