7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appconfig/model/GrowthType.h>
10#include <aws/appconfig/model/DeploymentState.h>
11#include <aws/core/utils/DateTime.h>
49 inline void SetDeploymentNumber(
int value) { m_deploymentNumberHasBeenSet =
true; m_deploymentNumber = value; }
59 template<
typename ConfigurationNameT = Aws::String>
60 void SetConfigurationName(ConfigurationNameT&& value) { m_configurationNameHasBeenSet =
true; m_configurationName = std::forward<ConfigurationNameT>(value); }
61 template<
typename ConfigurationNameT = Aws::String>
71 template<
typename ConfigurationVersionT = Aws::String>
72 void SetConfigurationVersion(ConfigurationVersionT&& value) { m_configurationVersionHasBeenSet =
true; m_configurationVersion = std::forward<ConfigurationVersionT>(value); }
73 template<
typename ConfigurationVersionT = Aws::String>
104 inline void SetGrowthFactor(
double value) { m_growthFactorHasBeenSet =
true; m_growthFactor = value; }
135 inline void SetPercentageComplete(
double value) { m_percentageCompleteHasBeenSet =
true; m_percentageComplete = value; }
145 template<
typename StartedAtT = Aws::Utils::DateTime>
146 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet =
true; m_startedAt = std::forward<StartedAtT>(value); }
147 template<
typename StartedAtT = Aws::Utils::DateTime>
157 template<
typename CompletedAtT = Aws::Utils::DateTime>
158 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet =
true; m_completedAt = std::forward<CompletedAtT>(value); }
159 template<
typename CompletedAtT = Aws::Utils::DateTime>
169 template<
typename VersionLabelT = Aws::String>
170 void SetVersionLabel(VersionLabelT&& value) { m_versionLabelHasBeenSet =
true; m_versionLabel = std::forward<VersionLabelT>(value); }
171 template<
typename VersionLabelT = Aws::String>
176 int m_deploymentNumber{0};
177 bool m_deploymentNumberHasBeenSet =
false;
180 bool m_configurationNameHasBeenSet =
false;
183 bool m_configurationVersionHasBeenSet =
false;
185 int m_deploymentDurationInMinutes{0};
186 bool m_deploymentDurationInMinutesHasBeenSet =
false;
189 bool m_growthTypeHasBeenSet =
false;
191 double m_growthFactor{0.0};
192 bool m_growthFactorHasBeenSet =
false;
194 int m_finalBakeTimeInMinutes{0};
195 bool m_finalBakeTimeInMinutesHasBeenSet =
false;
198 bool m_stateHasBeenSet =
false;
200 double m_percentageComplete{0.0};
201 bool m_percentageCompleteHasBeenSet =
false;
204 bool m_startedAtHasBeenSet =
false;
207 bool m_completedAtHasBeenSet =
false;
210 bool m_versionLabelHasBeenSet =
false;
DeploymentSummary & WithPercentageComplete(double value)
int GetDeploymentDurationInMinutes() const
bool DeploymentDurationInMinutesHasBeenSet() const
bool ConfigurationNameHasBeenSet() const
void SetCompletedAt(CompletedAtT &&value)
const Aws::String & GetConfigurationName() const
void SetGrowthType(GrowthType value)
int GetDeploymentNumber() const
bool DeploymentNumberHasBeenSet() const
bool GrowthFactorHasBeenSet() const
AWS_APPCONFIG_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetConfigurationVersion() const
int GetFinalBakeTimeInMinutes() const
AWS_APPCONFIG_API DeploymentSummary()=default
bool VersionLabelHasBeenSet() const
bool GrowthTypeHasBeenSet() const
AWS_APPCONFIG_API DeploymentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetGrowthFactor(double value)
void SetPercentageComplete(double value)
bool FinalBakeTimeInMinutesHasBeenSet() const
DeploymentSummary & WithConfigurationVersion(ConfigurationVersionT &&value)
DeploymentSummary & WithDeploymentDurationInMinutes(int value)
DeploymentSummary & WithFinalBakeTimeInMinutes(int value)
const Aws::String & GetVersionLabel() const
double GetGrowthFactor() const
void SetState(DeploymentState value)
double GetPercentageComplete() const
void SetConfigurationName(ConfigurationNameT &&value)
DeploymentSummary & WithState(DeploymentState value)
bool ConfigurationVersionHasBeenSet() const
void SetDeploymentDurationInMinutes(int value)
AWS_APPCONFIG_API DeploymentSummary(Aws::Utils::Json::JsonView jsonValue)
bool StartedAtHasBeenSet() const
DeploymentSummary & WithDeploymentNumber(int value)
GrowthType GetGrowthType() const
void SetDeploymentNumber(int value)
bool CompletedAtHasBeenSet() const
void SetFinalBakeTimeInMinutes(int value)
DeploymentSummary & WithVersionLabel(VersionLabelT &&value)
void SetVersionLabel(VersionLabelT &&value)
bool PercentageCompleteHasBeenSet() const
void SetConfigurationVersion(ConfigurationVersionT &&value)
bool StateHasBeenSet() const
const Aws::Utils::DateTime & GetCompletedAt() const
const Aws::Utils::DateTime & GetStartedAt() const
DeploymentSummary & WithStartedAt(StartedAtT &&value)
void SetStartedAt(StartedAtT &&value)
DeploymentSummary & WithCompletedAt(CompletedAtT &&value)
DeploymentSummary & WithGrowthFactor(double value)
DeploymentSummary & WithConfigurationName(ConfigurationNameT &&value)
DeploymentState GetState() const
DeploymentSummary & WithGrowthType(GrowthType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue