7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/EnvironmentBackend.h>
9#include <aws/amplifygen3/model/EnvironmentNetworkConfig.h>
10#include <aws/amplifygen3/model/EnvironmentRolePermissionMode.h>
11#include <aws/amplifygen3/model/EnvironmentSourceConfig.h>
12#include <aws/amplifygen3/model/EnvironmentType.h>
13#include <aws/amplifygen3/model/EnvironmentWebConfig.h>
14#include <aws/amplifygen3/model/GradualRolloutConfig.h>
15#include <aws/amplifygen3/model/WafLogConfig.h>
16#include <aws/core/http/HttpResponse.h>
17#include <aws/core/utils/DateTime.h>
18#include <aws/core/utils/memory/stl/AWSString.h>
19#include <aws/core/utils/memory/stl/AWSVector.h>
24template <
typename RESULT_TYPE>
25class AmazonWebServiceResult;
32namespace AmplifyGen3 {
45 template <
typename AppNameT = Aws::String>
47 m_appNameHasBeenSet =
true;
48 m_appName = std::forward<AppNameT>(value);
50 template <
typename AppNameT = Aws::String>
62 template <
typename EnvironmentNameT = Aws::String>
64 m_environmentNameHasBeenSet =
true;
65 m_environmentName = std::forward<EnvironmentNameT>(value);
67 template <
typename EnvironmentNameT = Aws::String>
79 template <
typename EnvironmentArnT = Aws::String>
81 m_environmentArnHasBeenSet =
true;
82 m_environmentArn = std::forward<EnvironmentArnT>(value);
84 template <
typename EnvironmentArnT = Aws::String>
97 m_typeHasBeenSet =
true;
111 template <
typename EnvironmentRoleArnT = Aws::String>
113 m_environmentRoleArnHasBeenSet =
true;
114 m_environmentRoleArn = std::forward<EnvironmentRoleArnT>(value);
116 template <
typename EnvironmentRoleArnT = Aws::String>
129 m_environmentRolePermissionModeHasBeenSet =
true;
130 m_environmentRolePermissionMode = value;
143 template <
typename SourceConfigT = EnvironmentSourceConfig>
145 m_sourceConfigHasBeenSet =
true;
146 m_sourceConfig = std::forward<SourceConfigT>(value);
148 template <
typename SourceConfigT = EnvironmentSourceConfig>
161 template <
typename WafLogConfigsT = Aws::Vector<WafLogConfig>>
163 m_wafLogConfigsHasBeenSet =
true;
164 m_wafLogConfigs = std::forward<WafLogConfigsT>(value);
166 template <
typename WafLogConfigsT = Aws::Vector<WafLogConfig>>
171 template <
typename WafLogConfigsT = WafLogConfig>
173 m_wafLogConfigsHasBeenSet =
true;
174 m_wafLogConfigs.emplace_back(std::forward<WafLogConfigsT>(value));
184 template <
typename GradualRolloutConfigT = GradualRolloutConfig>
186 m_gradualRolloutConfigHasBeenSet =
true;
187 m_gradualRolloutConfig = std::forward<GradualRolloutConfigT>(value);
189 template <
typename GradualRolloutConfigT = GradualRolloutConfig>
201 template <
typename WebT = EnvironmentWebConfig>
203 m_webHasBeenSet =
true;
204 m_web = std::forward<WebT>(value);
206 template <
typename WebT = EnvironmentWebConfig>
208 SetWeb(std::forward<WebT>(value));
219 template <
typename BackendT = EnvironmentBackend>
221 m_backendHasBeenSet =
true;
222 m_backend = std::forward<BackendT>(value);
224 template <
typename BackendT = EnvironmentBackend>
236 template <
typename NetworkConfigT = EnvironmentNetworkConfig>
238 m_networkConfigHasBeenSet =
true;
239 m_networkConfig = std::forward<NetworkConfigT>(value);
241 template <
typename NetworkConfigT = EnvironmentNetworkConfig>
254 template <
typename CreatedAtT = Aws::Utils::DateTime>
256 m_createdAtHasBeenSet =
true;
257 m_createdAt = std::forward<CreatedAtT>(value);
259 template <
typename CreatedAtT = Aws::Utils::DateTime>
272 template <
typename UpdatedAtT = Aws::Utils::DateTime>
274 m_updatedAtHasBeenSet =
true;
275 m_updatedAt = std::forward<UpdatedAtT>(value);
277 template <
typename UpdatedAtT = Aws::Utils::DateTime>
287 template <
typename RequestIdT = Aws::String>
289 m_requestIdHasBeenSet =
true;
290 m_requestId = std::forward<RequestIdT>(value);
292 template <
typename RequestIdT = Aws::String>
313 EnvironmentSourceConfig m_sourceConfig;
317 GradualRolloutConfig m_gradualRolloutConfig;
319 EnvironmentWebConfig m_web;
321 EnvironmentBackend m_backend;
323 EnvironmentNetworkConfig m_networkConfig;
331 bool m_appNameHasBeenSet =
false;
332 bool m_environmentNameHasBeenSet =
false;
333 bool m_environmentArnHasBeenSet =
false;
334 bool m_typeHasBeenSet =
false;
335 bool m_environmentRoleArnHasBeenSet =
false;
336 bool m_environmentRolePermissionModeHasBeenSet =
false;
337 bool m_sourceConfigHasBeenSet =
false;
338 bool m_wafLogConfigsHasBeenSet =
false;
339 bool m_gradualRolloutConfigHasBeenSet =
false;
340 bool m_webHasBeenSet =
false;
341 bool m_backendHasBeenSet =
false;
342 bool m_networkConfigHasBeenSet =
false;
343 bool m_createdAtHasBeenSet =
false;
344 bool m_updatedAtHasBeenSet =
false;
345 bool m_requestIdHasBeenSet =
false;
GetEnvironmentResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_AMPLIFYGEN3_API GetEnvironmentResult()=default
void SetEnvironmentArn(EnvironmentArnT &&value)
void SetBackend(BackendT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
GetEnvironmentResult & WithBackend(BackendT &&value)
GetEnvironmentResult & WithEnvironmentArn(EnvironmentArnT &&value)
GetEnvironmentResult & WithAppName(AppNameT &&value)
GetEnvironmentResult & AddWafLogConfigs(WafLogConfigsT &&value)
GetEnvironmentResult & WithNetworkConfig(NetworkConfigT &&value)
const Aws::Vector< WafLogConfig > & GetWafLogConfigs() const
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetAppName(AppNameT &&value)
const EnvironmentSourceConfig & GetSourceConfig() const
const EnvironmentNetworkConfig & GetNetworkConfig() const
void SetEnvironmentRoleArn(EnvironmentRoleArnT &&value)
AWS_AMPLIFYGEN3_API GetEnvironmentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::String & GetEnvironmentRoleArn() const
void SetRequestId(RequestIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
GetEnvironmentResult & WithWeb(WebT &&value)
GetEnvironmentResult & WithWafLogConfigs(WafLogConfigsT &&value)
GetEnvironmentResult & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetRequestId() const
GetEnvironmentResult & WithRequestId(RequestIdT &&value)
GetEnvironmentResult & WithEnvironmentRolePermissionMode(EnvironmentRolePermissionMode value)
const Aws::String & GetEnvironmentArn() const
const EnvironmentWebConfig & GetWeb() const
const GradualRolloutConfig & GetGradualRolloutConfig() const
void SetType(EnvironmentType value)
EnvironmentType GetType() const
void SetWeb(WebT &&value)
void SetNetworkConfig(NetworkConfigT &&value)
void SetGradualRolloutConfig(GradualRolloutConfigT &&value)
const EnvironmentBackend & GetBackend() const
GetEnvironmentResult & WithType(EnvironmentType value)
AWS_AMPLIFYGEN3_API GetEnvironmentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEnvironmentResult & WithGradualRolloutConfig(GradualRolloutConfigT &&value)
EnvironmentRolePermissionMode GetEnvironmentRolePermissionMode() const
GetEnvironmentResult & WithEnvironmentName(EnvironmentNameT &&value)
GetEnvironmentResult & WithEnvironmentRoleArn(EnvironmentRoleArnT &&value)
void SetSourceConfig(SourceConfigT &&value)
GetEnvironmentResult & WithSourceConfig(SourceConfigT &&value)
const Aws::String & GetAppName() const
void SetEnvironmentRolePermissionMode(EnvironmentRolePermissionMode value)
const Aws::String & GetEnvironmentName() const
void SetWafLogConfigs(WafLogConfigsT &&value)
EnvironmentRolePermissionMode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue