7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AliasSummary.h>
9#include <aws/amplifygen3/model/DeploymentBackend.h>
10#include <aws/amplifygen3/model/DeploymentBranch.h>
11#include <aws/amplifygen3/model/DeploymentSourceConfig.h>
12#include <aws/amplifygen3/model/DeploymentStatus.h>
13#include <aws/amplifygen3/model/DeploymentStatusReasonCode.h>
14#include <aws/amplifygen3/model/DeploymentSteps.h>
15#include <aws/amplifygen3/model/EnvironmentVariableOutput.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 DeploymentIdT = Aws::String>
64 m_deploymentIdHasBeenSet =
true;
65 m_deploymentId = std::forward<DeploymentIdT>(value);
67 template <
typename DeploymentIdT = Aws::String>
79 template <
typename DeploymentArnT = Aws::String>
81 m_deploymentArnHasBeenSet =
true;
82 m_deploymentArn = std::forward<DeploymentArnT>(value);
84 template <
typename DeploymentArnT = Aws::String>
96 template <
typename EnvironmentNameT = Aws::String>
98 m_environmentNameHasBeenSet =
true;
99 m_environmentName = std::forward<EnvironmentNameT>(value);
101 template <
typename EnvironmentNameT = Aws::String>
113 template <
typename SourceConfigT = DeploymentSourceConfig>
115 m_sourceConfigHasBeenSet =
true;
116 m_sourceConfig = std::forward<SourceConfigT>(value);
118 template <
typename SourceConfigT = DeploymentSourceConfig>
130 template <
typename DescriptionT = Aws::String>
132 m_descriptionHasBeenSet =
true;
133 m_description = std::forward<DescriptionT>(value);
135 template <
typename DescriptionT = Aws::String>
148 m_statusHasBeenSet =
true;
162 template <
typename DomainNameT = Aws::String>
164 m_domainNameHasBeenSet =
true;
165 m_domainName = std::forward<DomainNameT>(value);
167 template <
typename DomainNameT = Aws::String>
179 template <
typename AliasesT = Aws::Vector<AliasSummary>>
181 m_aliasesHasBeenSet =
true;
182 m_aliases = std::forward<AliasesT>(value);
184 template <
typename AliasesT = Aws::Vector<AliasSummary>>
189 template <
typename AliasesT = AliasSummary>
191 m_aliasesHasBeenSet =
true;
192 m_aliases.emplace_back(std::forward<AliasesT>(value));
202 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariableOutput>>
204 m_environmentVariablesHasBeenSet =
true;
205 m_environmentVariables = std::forward<EnvironmentVariablesT>(value);
207 template <
typename EnvironmentVariablesT = Aws::Vector<EnvironmentVariableOutput>>
212 template <
typename EnvironmentVariablesT = EnvironmentVariableOutput>
214 m_environmentVariablesHasBeenSet =
true;
215 m_environmentVariables.emplace_back(std::forward<EnvironmentVariablesT>(value));
226 template <
typename CreatedAtT = Aws::Utils::DateTime>
228 m_createdAtHasBeenSet =
true;
229 m_createdAt = std::forward<CreatedAtT>(value);
231 template <
typename CreatedAtT = Aws::Utils::DateTime>
243 template <
typename StartedAtT = Aws::Utils::DateTime>
245 m_startedAtHasBeenSet =
true;
246 m_startedAt = std::forward<StartedAtT>(value);
248 template <
typename StartedAtT = Aws::Utils::DateTime>
260 template <
typename EndedAtT = Aws::Utils::DateTime>
262 m_endedAtHasBeenSet =
true;
263 m_endedAt = std::forward<EndedAtT>(value);
265 template <
typename EndedAtT = Aws::Utils::DateTime>
278 template <
typename ExpiredAtT = Aws::Utils::DateTime>
280 m_expiredAtHasBeenSet =
true;
281 m_expiredAt = std::forward<ExpiredAtT>(value);
283 template <
typename ExpiredAtT = Aws::Utils::DateTime>
295 template <
typename StatusReasonT = Aws::String>
297 m_statusReasonHasBeenSet =
true;
298 m_statusReason = std::forward<StatusReasonT>(value);
300 template <
typename StatusReasonT = Aws::String>
313 m_statusReasonCodeHasBeenSet =
true;
314 m_statusReasonCode = value;
328 template <
typename SessionPolicyT = Aws::String>
330 m_sessionPolicyHasBeenSet =
true;
331 m_sessionPolicy = std::forward<SessionPolicyT>(value);
333 template <
typename SessionPolicyT = Aws::String>
346 template <
typename BranchT = DeploymentBranch>
348 m_branchHasBeenSet =
true;
349 m_branch = std::forward<BranchT>(value);
351 template <
typename BranchT = DeploymentBranch>
364 template <
typename BackendT = DeploymentBackend>
366 m_backendHasBeenSet =
true;
367 m_backend = std::forward<BackendT>(value);
369 template <
typename BackendT = DeploymentBackend>
382 template <
typename StepsT = DeploymentSteps>
384 m_stepsHasBeenSet =
true;
385 m_steps = std::forward<StepsT>(value);
387 template <
typename StepsT = DeploymentSteps>
389 SetSteps(std::forward<StepsT>(value));
397 template <
typename RequestIdT = Aws::String>
399 m_requestIdHasBeenSet =
true;
400 m_requestId = std::forward<RequestIdT>(value);
402 template <
typename RequestIdT = Aws::String>
445 DeploymentBranch m_branch;
447 DeploymentBackend m_backend;
449 DeploymentSteps m_steps;
453 bool m_appNameHasBeenSet =
false;
454 bool m_deploymentIdHasBeenSet =
false;
455 bool m_deploymentArnHasBeenSet =
false;
456 bool m_environmentNameHasBeenSet =
false;
457 bool m_sourceConfigHasBeenSet =
false;
458 bool m_descriptionHasBeenSet =
false;
459 bool m_statusHasBeenSet =
false;
460 bool m_domainNameHasBeenSet =
false;
461 bool m_aliasesHasBeenSet =
false;
462 bool m_environmentVariablesHasBeenSet =
false;
463 bool m_createdAtHasBeenSet =
false;
464 bool m_startedAtHasBeenSet =
false;
465 bool m_endedAtHasBeenSet =
false;
466 bool m_expiredAtHasBeenSet =
false;
467 bool m_statusReasonHasBeenSet =
false;
468 bool m_statusReasonCodeHasBeenSet =
false;
469 bool m_sessionPolicyHasBeenSet =
false;
470 bool m_branchHasBeenSet =
false;
471 bool m_backendHasBeenSet =
false;
472 bool m_stepsHasBeenSet =
false;
473 bool m_requestIdHasBeenSet =
false;
AWS_AMPLIFYGEN3_API GetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExpiredAt(ExpiredAtT &&value)
GetDeploymentResult & WithStartedAt(StartedAtT &&value)
const Aws::String & GetDeploymentId() const
const Aws::Vector< EnvironmentVariableOutput > & GetEnvironmentVariables() const
GetDeploymentResult & WithDomainName(DomainNameT &&value)
GetDeploymentResult & WithSteps(StepsT &&value)
DeploymentStatus GetStatus() const
GetDeploymentResult & WithAliases(AliasesT &&value)
const Aws::String & GetDomainName() const
GetDeploymentResult & WithSourceConfig(SourceConfigT &&value)
void SetSessionPolicy(SessionPolicyT &&value)
GetDeploymentResult & WithDeploymentArn(DeploymentArnT &&value)
GetDeploymentResult & WithStatus(DeploymentStatus value)
void SetStatusReason(StatusReasonT &&value)
GetDeploymentResult & WithDeploymentId(DeploymentIdT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetEnvironmentName() const
GetDeploymentResult & AddAliases(AliasesT &&value)
void SetSteps(StepsT &&value)
void SetStartedAt(StartedAtT &&value)
const Aws::String & GetDeploymentArn() const
const Aws::String & GetAppName() const
void SetBranch(BranchT &&value)
void SetSourceConfig(SourceConfigT &&value)
const Aws::String & GetSessionPolicy() const
const Aws::Vector< AliasSummary > & GetAliases() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const DeploymentSourceConfig & GetSourceConfig() const
const Aws::Utils::DateTime & GetStartedAt() const
void SetCreatedAt(CreatedAtT &&value)
void SetEnvironmentName(EnvironmentNameT &&value)
GetDeploymentResult & WithBackend(BackendT &&value)
AWS_AMPLIFYGEN3_API GetDeploymentResult()=default
GetDeploymentResult & WithAppName(AppNameT &&value)
void SetEndedAt(EndedAtT &&value)
GetDeploymentResult & WithEnvironmentName(EnvironmentNameT &&value)
DeploymentStatusReasonCode GetStatusReasonCode() const
void SetDescription(DescriptionT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
GetDeploymentResult & WithSessionPolicy(SessionPolicyT &&value)
const Aws::String & GetDescription() const
void SetEnvironmentVariables(EnvironmentVariablesT &&value)
const DeploymentBranch & GetBranch() const
AWS_AMPLIFYGEN3_API GetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeploymentResult & WithEnvironmentVariables(EnvironmentVariablesT &&value)
void SetRequestId(RequestIdT &&value)
GetDeploymentResult & WithDescription(DescriptionT &&value)
GetDeploymentResult & WithBranch(BranchT &&value)
void SetStatusReasonCode(DeploymentStatusReasonCode value)
void SetStatus(DeploymentStatus value)
GetDeploymentResult & WithCreatedAt(CreatedAtT &&value)
GetDeploymentResult & WithEndedAt(EndedAtT &&value)
void SetBackend(BackendT &&value)
void SetDeploymentArn(DeploymentArnT &&value)
const DeploymentSteps & GetSteps() const
GetDeploymentResult & WithExpiredAt(ExpiredAtT &&value)
GetDeploymentResult & WithStatusReasonCode(DeploymentStatusReasonCode value)
GetDeploymentResult & AddEnvironmentVariables(EnvironmentVariablesT &&value)
void SetAppName(AppNameT &&value)
const Aws::String & GetStatusReason() const
const Aws::Utils::DateTime & GetEndedAt() const
void SetAliases(AliasesT &&value)
GetDeploymentResult & WithStatusReason(StatusReasonT &&value)
void SetDeploymentId(DeploymentIdT &&value)
const DeploymentBackend & GetBackend() const
GetDeploymentResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetExpiredAt() const
void SetDomainName(DomainNameT &&value)
DeploymentStatusReasonCode
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue