AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
39 AWS_SECURITYHUB_API AwsElasticBeanstalkEnvironmentDetails() = default;
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 template<typename ApplicationNameT = Aws::String>
52 void SetApplicationName(ApplicationNameT&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::forward<ApplicationNameT>(value); }
53 template<typename ApplicationNameT = Aws::String>
54 AwsElasticBeanstalkEnvironmentDetails& WithApplicationName(ApplicationNameT&& value) { SetApplicationName(std::forward<ApplicationNameT>(value)); return *this;}
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) { m_cnameHasBeenSet = true; m_cname = std::forward<CnameT>(value); }
65 template<typename CnameT = Aws::String>
66 AwsElasticBeanstalkEnvironmentDetails& WithCname(CnameT&& value) { SetCname(std::forward<CnameT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDateCreated() const { return m_dateCreated; }
74 inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; }
75 template<typename DateCreatedT = Aws::String>
76 void SetDateCreated(DateCreatedT&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::forward<DateCreatedT>(value); }
77 template<typename DateCreatedT = Aws::String>
78 AwsElasticBeanstalkEnvironmentDetails& WithDateCreated(DateCreatedT&& value) { SetDateCreated(std::forward<DateCreatedT>(value)); return *this;}
80
82
85 inline const Aws::String& GetDateUpdated() const { return m_dateUpdated; }
86 inline bool DateUpdatedHasBeenSet() const { return m_dateUpdatedHasBeenSet; }
87 template<typename DateUpdatedT = Aws::String>
88 void SetDateUpdated(DateUpdatedT&& value) { m_dateUpdatedHasBeenSet = true; m_dateUpdated = std::forward<DateUpdatedT>(value); }
89 template<typename DateUpdatedT = Aws::String>
90 AwsElasticBeanstalkEnvironmentDetails& WithDateUpdated(DateUpdatedT&& value) { SetDateUpdated(std::forward<DateUpdatedT>(value)); return *this;}
92
94
97 inline const Aws::String& GetDescription() const { return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 template<typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
101 template<typename DescriptionT = Aws::String>
102 AwsElasticBeanstalkEnvironmentDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
104
106
110 inline const Aws::String& GetEndpointUrl() const { return m_endpointUrl; }
111 inline bool EndpointUrlHasBeenSet() const { return m_endpointUrlHasBeenSet; }
112 template<typename EndpointUrlT = Aws::String>
113 void SetEndpointUrl(EndpointUrlT&& value) { m_endpointUrlHasBeenSet = true; m_endpointUrl = std::forward<EndpointUrlT>(value); }
114 template<typename EndpointUrlT = Aws::String>
115 AwsElasticBeanstalkEnvironmentDetails& WithEndpointUrl(EndpointUrlT&& value) { SetEndpointUrl(std::forward<EndpointUrlT>(value)); return *this;}
117
119
122 inline const Aws::String& GetEnvironmentArn() const { return m_environmentArn; }
123 inline bool EnvironmentArnHasBeenSet() const { return m_environmentArnHasBeenSet; }
124 template<typename EnvironmentArnT = Aws::String>
125 void SetEnvironmentArn(EnvironmentArnT&& value) { m_environmentArnHasBeenSet = true; m_environmentArn = std::forward<EnvironmentArnT>(value); }
126 template<typename EnvironmentArnT = Aws::String>
127 AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentArn(EnvironmentArnT&& value) { SetEnvironmentArn(std::forward<EnvironmentArnT>(value)); return *this;}
129
131
134 inline const Aws::String& GetEnvironmentId() const { return m_environmentId; }
135 inline bool EnvironmentIdHasBeenSet() const { return m_environmentIdHasBeenSet; }
136 template<typename EnvironmentIdT = Aws::String>
137 void SetEnvironmentId(EnvironmentIdT&& value) { m_environmentIdHasBeenSet = true; m_environmentId = std::forward<EnvironmentIdT>(value); }
138 template<typename EnvironmentIdT = Aws::String>
139 AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentId(EnvironmentIdT&& value) { SetEnvironmentId(std::forward<EnvironmentIdT>(value)); return *this;}
141
143
146 inline const Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>& GetEnvironmentLinks() const { return m_environmentLinks; }
147 inline bool EnvironmentLinksHasBeenSet() const { return m_environmentLinksHasBeenSet; }
148 template<typename EnvironmentLinksT = Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>>
149 void SetEnvironmentLinks(EnvironmentLinksT&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks = std::forward<EnvironmentLinksT>(value); }
150 template<typename EnvironmentLinksT = Aws::Vector<AwsElasticBeanstalkEnvironmentEnvironmentLink>>
151 AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentLinks(EnvironmentLinksT&& value) { SetEnvironmentLinks(std::forward<EnvironmentLinksT>(value)); return *this;}
152 template<typename EnvironmentLinksT = AwsElasticBeanstalkEnvironmentEnvironmentLink>
153 AwsElasticBeanstalkEnvironmentDetails& AddEnvironmentLinks(EnvironmentLinksT&& value) { m_environmentLinksHasBeenSet = true; m_environmentLinks.emplace_back(std::forward<EnvironmentLinksT>(value)); return *this; }
155
157
160 inline const Aws::String& GetEnvironmentName() const { return m_environmentName; }
161 inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; }
162 template<typename EnvironmentNameT = Aws::String>
163 void SetEnvironmentName(EnvironmentNameT&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::forward<EnvironmentNameT>(value); }
164 template<typename EnvironmentNameT = Aws::String>
165 AwsElasticBeanstalkEnvironmentDetails& WithEnvironmentName(EnvironmentNameT&& value) { SetEnvironmentName(std::forward<EnvironmentNameT>(value)); return *this;}
167
169
172 inline const Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>& GetOptionSettings() const { return m_optionSettings; }
173 inline bool OptionSettingsHasBeenSet() const { return m_optionSettingsHasBeenSet; }
174 template<typename OptionSettingsT = Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>>
175 void SetOptionSettings(OptionSettingsT&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings = std::forward<OptionSettingsT>(value); }
176 template<typename OptionSettingsT = Aws::Vector<AwsElasticBeanstalkEnvironmentOptionSetting>>
177 AwsElasticBeanstalkEnvironmentDetails& WithOptionSettings(OptionSettingsT&& value) { SetOptionSettings(std::forward<OptionSettingsT>(value)); return *this;}
178 template<typename OptionSettingsT = AwsElasticBeanstalkEnvironmentOptionSetting>
179 AwsElasticBeanstalkEnvironmentDetails& AddOptionSettings(OptionSettingsT&& value) { m_optionSettingsHasBeenSet = true; m_optionSettings.emplace_back(std::forward<OptionSettingsT>(value)); return *this; }
181
183
186 inline const Aws::String& GetPlatformArn() const { return m_platformArn; }
187 inline bool PlatformArnHasBeenSet() const { return m_platformArnHasBeenSet; }
188 template<typename PlatformArnT = Aws::String>
189 void SetPlatformArn(PlatformArnT&& value) { m_platformArnHasBeenSet = true; m_platformArn = std::forward<PlatformArnT>(value); }
190 template<typename PlatformArnT = Aws::String>
191 AwsElasticBeanstalkEnvironmentDetails& WithPlatformArn(PlatformArnT&& value) { SetPlatformArn(std::forward<PlatformArnT>(value)); return *this;}
193
195
198 inline const Aws::String& GetSolutionStackName() const { return m_solutionStackName; }
199 inline bool SolutionStackNameHasBeenSet() const { return m_solutionStackNameHasBeenSet; }
200 template<typename SolutionStackNameT = Aws::String>
201 void SetSolutionStackName(SolutionStackNameT&& value) { m_solutionStackNameHasBeenSet = true; m_solutionStackName = std::forward<SolutionStackNameT>(value); }
202 template<typename SolutionStackNameT = Aws::String>
203 AwsElasticBeanstalkEnvironmentDetails& WithSolutionStackName(SolutionStackNameT&& value) { SetSolutionStackName(std::forward<SolutionStackNameT>(value)); return *this;}
205
207
216 inline const Aws::String& GetStatus() const { return m_status; }
217 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
218 template<typename StatusT = Aws::String>
219 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
220 template<typename StatusT = Aws::String>
221 AwsElasticBeanstalkEnvironmentDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
223
225
228 inline const AwsElasticBeanstalkEnvironmentTier& GetTier() const { return m_tier; }
229 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
230 template<typename TierT = AwsElasticBeanstalkEnvironmentTier>
231 void SetTier(TierT&& value) { m_tierHasBeenSet = true; m_tier = std::forward<TierT>(value); }
232 template<typename TierT = AwsElasticBeanstalkEnvironmentTier>
233 AwsElasticBeanstalkEnvironmentDetails& WithTier(TierT&& value) { SetTier(std::forward<TierT>(value)); return *this;}
235
237
240 inline const Aws::String& GetVersionLabel() const { return m_versionLabel; }
241 inline bool VersionLabelHasBeenSet() const { return m_versionLabelHasBeenSet; }
242 template<typename VersionLabelT = Aws::String>
243 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet = true; m_versionLabel = std::forward<VersionLabelT>(value); }
244 template<typename VersionLabelT = Aws::String>
245 AwsElasticBeanstalkEnvironmentDetails& WithVersionLabel(VersionLabelT&& value) { SetVersionLabel(std::forward<VersionLabelT>(value)); return *this;}
247 private:
248
249 Aws::String m_applicationName;
250 bool m_applicationNameHasBeenSet = false;
251
252 Aws::String m_cname;
253 bool m_cnameHasBeenSet = false;
254
255 Aws::String m_dateCreated;
256 bool m_dateCreatedHasBeenSet = false;
257
258 Aws::String m_dateUpdated;
259 bool m_dateUpdatedHasBeenSet = false;
260
261 Aws::String m_description;
262 bool m_descriptionHasBeenSet = false;
263
264 Aws::String m_endpointUrl;
265 bool m_endpointUrlHasBeenSet = false;
266
267 Aws::String m_environmentArn;
268 bool m_environmentArnHasBeenSet = false;
269
270 Aws::String m_environmentId;
271 bool m_environmentIdHasBeenSet = false;
272
274 bool m_environmentLinksHasBeenSet = false;
275
276 Aws::String m_environmentName;
277 bool m_environmentNameHasBeenSet = false;
278
280 bool m_optionSettingsHasBeenSet = false;
281
282 Aws::String m_platformArn;
283 bool m_platformArnHasBeenSet = false;
284
285 Aws::String m_solutionStackName;
286 bool m_solutionStackNameHasBeenSet = false;
287
288 Aws::String m_status;
289 bool m_statusHasBeenSet = false;
290
292 bool m_tierHasBeenSet = false;
293
294 Aws::String m_versionLabel;
295 bool m_versionLabelHasBeenSet = false;
296 };
297
298} // namespace Model
299} // namespace SecurityHub
300} // 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