7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/model/AppliedExtension.h>
9#include <aws/appconfig/model/DeploymentEvent.h>
10#include <aws/appconfig/model/DeploymentState.h>
11#include <aws/appconfig/model/GrowthType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ApplicationIdT = Aws::String>
42 m_applicationIdHasBeenSet =
true;
43 m_applicationId = std::forward<ApplicationIdT>(value);
45 template <
typename ApplicationIdT = Aws::String>
57 template <
typename EnvironmentIdT = Aws::String>
59 m_environmentIdHasBeenSet =
true;
60 m_environmentId = std::forward<EnvironmentIdT>(value);
62 template <
typename EnvironmentIdT = Aws::String>
74 template <
typename DeploymentStrategyIdT = Aws::String>
76 m_deploymentStrategyIdHasBeenSet =
true;
77 m_deploymentStrategyId = std::forward<DeploymentStrategyIdT>(value);
79 template <
typename DeploymentStrategyIdT = Aws::String>
91 template <
typename ConfigurationProfileIdT = Aws::String>
93 m_configurationProfileIdHasBeenSet =
true;
94 m_configurationProfileId = std::forward<ConfigurationProfileIdT>(value);
96 template <
typename ConfigurationProfileIdT = Aws::String>
109 m_deploymentNumberHasBeenSet =
true;
110 m_deploymentNumber = value;
123 template <
typename ConfigurationNameT = Aws::String>
125 m_configurationNameHasBeenSet =
true;
126 m_configurationName = std::forward<ConfigurationNameT>(value);
128 template <
typename ConfigurationNameT = Aws::String>
140 template <
typename ConfigurationLocationUriT = Aws::String>
142 m_configurationLocationUriHasBeenSet =
true;
143 m_configurationLocationUri = std::forward<ConfigurationLocationUriT>(value);
145 template <
typename ConfigurationLocationUriT = Aws::String>
157 template <
typename ConfigurationVersionT = Aws::String>
159 m_configurationVersionHasBeenSet =
true;
160 m_configurationVersion = std::forward<ConfigurationVersionT>(value);
162 template <
typename ConfigurationVersionT = Aws::String>
174 template <
typename DescriptionT = Aws::String>
176 m_descriptionHasBeenSet =
true;
177 m_description = std::forward<DescriptionT>(value);
179 template <
typename DescriptionT = Aws::String>
192 m_deploymentDurationInMinutesHasBeenSet =
true;
193 m_deploymentDurationInMinutes = value;
207 m_growthTypeHasBeenSet =
true;
208 m_growthType = value;
223 m_growthFactorHasBeenSet =
true;
224 m_growthFactor = value;
239 m_finalBakeTimeInMinutesHasBeenSet =
true;
240 m_finalBakeTimeInMinutes = value;
254 m_stateHasBeenSet =
true;
269 template <
typename EventLogT = Aws::Vector<DeploymentEvent>>
271 m_eventLogHasBeenSet =
true;
272 m_eventLog = std::forward<EventLogT>(value);
274 template <
typename EventLogT = Aws::Vector<DeploymentEvent>>
279 template <
typename EventLogT = DeploymentEvent>
281 m_eventLogHasBeenSet =
true;
282 m_eventLog.emplace_back(std::forward<EventLogT>(value));
293 m_percentageCompleteHasBeenSet =
true;
294 m_percentageComplete = value;
307 template <
typename StartedAtT = Aws::Utils::DateTime>
309 m_startedAtHasBeenSet =
true;
310 m_startedAt = std::forward<StartedAtT>(value);
312 template <
typename StartedAtT = Aws::Utils::DateTime>
324 template <
typename CompletedAtT = Aws::Utils::DateTime>
326 m_completedAtHasBeenSet =
true;
327 m_completedAt = std::forward<CompletedAtT>(value);
329 template <
typename CompletedAtT = Aws::Utils::DateTime>
344 template <
typename AppliedExtensionsT = Aws::Vector<AppliedExtension>>
346 m_appliedExtensionsHasBeenSet =
true;
347 m_appliedExtensions = std::forward<AppliedExtensionsT>(value);
349 template <
typename AppliedExtensionsT = Aws::Vector<AppliedExtension>>
354 template <
typename AppliedExtensionsT = AppliedExtension>
356 m_appliedExtensionsHasBeenSet =
true;
357 m_appliedExtensions.emplace_back(std::forward<AppliedExtensionsT>(value));
371 template <
typename KmsKeyArnT = Aws::String>
373 m_kmsKeyArnHasBeenSet =
true;
374 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
376 template <
typename KmsKeyArnT = Aws::String>
389 template <
typename KmsKeyIdentifierT = Aws::String>
391 m_kmsKeyIdentifierHasBeenSet =
true;
392 m_kmsKeyIdentifier = std::forward<KmsKeyIdentifierT>(value);
394 template <
typename KmsKeyIdentifierT = Aws::String>
406 template <
typename VersionLabelT = Aws::String>
408 m_versionLabelHasBeenSet =
true;
409 m_versionLabel = std::forward<VersionLabelT>(value);
411 template <
typename VersionLabelT = Aws::String>
421 template <
typename RequestIdT = Aws::String>
423 m_requestIdHasBeenSet =
true;
424 m_requestId = std::forward<RequestIdT>(value);
426 template <
typename RequestIdT = Aws::String>
441 int m_deploymentNumber{0};
451 int m_deploymentDurationInMinutes{0};
455 double m_growthFactor{0.0};
457 int m_finalBakeTimeInMinutes{0};
463 double m_percentageComplete{0.0};
478 bool m_applicationIdHasBeenSet =
false;
479 bool m_environmentIdHasBeenSet =
false;
480 bool m_deploymentStrategyIdHasBeenSet =
false;
481 bool m_configurationProfileIdHasBeenSet =
false;
482 bool m_deploymentNumberHasBeenSet =
false;
483 bool m_configurationNameHasBeenSet =
false;
484 bool m_configurationLocationUriHasBeenSet =
false;
485 bool m_configurationVersionHasBeenSet =
false;
486 bool m_descriptionHasBeenSet =
false;
487 bool m_deploymentDurationInMinutesHasBeenSet =
false;
488 bool m_growthTypeHasBeenSet =
false;
489 bool m_growthFactorHasBeenSet =
false;
490 bool m_finalBakeTimeInMinutesHasBeenSet =
false;
491 bool m_stateHasBeenSet =
false;
492 bool m_eventLogHasBeenSet =
false;
493 bool m_percentageCompleteHasBeenSet =
false;
494 bool m_startedAtHasBeenSet =
false;
495 bool m_completedAtHasBeenSet =
false;
496 bool m_appliedExtensionsHasBeenSet =
false;
497 bool m_kmsKeyArnHasBeenSet =
false;
498 bool m_kmsKeyIdentifierHasBeenSet =
false;
499 bool m_versionLabelHasBeenSet =
false;
500 bool m_requestIdHasBeenSet =
false;
void SetGrowthType(GrowthType value)
void SetAppliedExtensions(AppliedExtensionsT &&value)
const Aws::String & GetVersionLabel() const
int GetFinalBakeTimeInMinutes() const
const Aws::Vector< AppliedExtension > & GetAppliedExtensions() const
void SetStartedAt(StartedAtT &&value)
const Aws::String & GetKmsKeyIdentifier() const
AWS_APPCONFIG_API StopDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPCONFIG_API StopDeploymentResult()=default
const Aws::Vector< DeploymentEvent > & GetEventLog() const
void SetEnvironmentId(EnvironmentIdT &&value)
StopDeploymentResult & WithKmsKeyIdentifier(KmsKeyIdentifierT &&value)
const Aws::String & GetConfigurationVersion() const
StopDeploymentResult & WithFinalBakeTimeInMinutes(int value)
const Aws::String & GetConfigurationLocationUri() const
const Aws::String & GetDeploymentStrategyId() const
double GetGrowthFactor() const
void SetDeploymentStrategyId(DeploymentStrategyIdT &&value)
const Aws::String & GetConfigurationName() const
StopDeploymentResult & WithState(DeploymentState value)
void SetKmsKeyArn(KmsKeyArnT &&value)
StopDeploymentResult & WithConfigurationName(ConfigurationNameT &&value)
const Aws::Utils::DateTime & GetStartedAt() const
void SetRequestId(RequestIdT &&value)
StopDeploymentResult & WithAppliedExtensions(AppliedExtensionsT &&value)
void SetEventLog(EventLogT &&value)
StopDeploymentResult & WithConfigurationLocationUri(ConfigurationLocationUriT &&value)
void SetKmsKeyIdentifier(KmsKeyIdentifierT &&value)
AWS_APPCONFIG_API StopDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFinalBakeTimeInMinutes(int value)
StopDeploymentResult & WithEnvironmentId(EnvironmentIdT &&value)
void SetState(DeploymentState value)
StopDeploymentResult & WithDescription(DescriptionT &&value)
void SetDeploymentDurationInMinutes(int value)
StopDeploymentResult & WithGrowthType(GrowthType value)
void SetDeploymentNumber(int value)
GrowthType GetGrowthType() const
StopDeploymentResult & WithGrowthFactor(double value)
const Aws::String & GetConfigurationProfileId() const
StopDeploymentResult & AddAppliedExtensions(AppliedExtensionsT &&value)
StopDeploymentResult & WithDeploymentDurationInMinutes(int value)
void SetConfigurationProfileId(ConfigurationProfileIdT &&value)
void SetDescription(DescriptionT &&value)
StopDeploymentResult & WithDeploymentStrategyId(DeploymentStrategyIdT &&value)
StopDeploymentResult & WithVersionLabel(VersionLabelT &&value)
const Aws::String & GetEnvironmentId() const
StopDeploymentResult & WithDeploymentNumber(int value)
const Aws::String & GetApplicationId() const
const Aws::String & GetDescription() const
int GetDeploymentNumber() const
void SetGrowthFactor(double value)
StopDeploymentResult & WithEventLog(EventLogT &&value)
void SetConfigurationVersion(ConfigurationVersionT &&value)
void SetPercentageComplete(double value)
void SetVersionLabel(VersionLabelT &&value)
void SetCompletedAt(CompletedAtT &&value)
const Aws::String & GetKmsKeyArn() const
DeploymentState GetState() const
StopDeploymentResult & WithConfigurationVersion(ConfigurationVersionT &&value)
int GetDeploymentDurationInMinutes() const
StopDeploymentResult & WithKmsKeyArn(KmsKeyArnT &&value)
StopDeploymentResult & WithStartedAt(StartedAtT &&value)
StopDeploymentResult & WithPercentageComplete(double value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetCompletedAt() const
StopDeploymentResult & WithConfigurationProfileId(ConfigurationProfileIdT &&value)
StopDeploymentResult & WithCompletedAt(CompletedAtT &&value)
void SetConfigurationName(ConfigurationNameT &&value)
double GetPercentageComplete() const
void SetConfigurationLocationUri(ConfigurationLocationUriT &&value)
StopDeploymentResult & AddEventLog(EventLogT &&value)
StopDeploymentResult & WithRequestId(RequestIdT &&value)
StopDeploymentResult & WithApplicationId(ApplicationIdT &&value)
void SetApplicationId(ApplicationIdT &&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