7#include <aws/appconfig/AppConfig_EXPORTS.h>
8#include <aws/appconfig/AppConfigRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appconfig/model/GrowthType.h>
11#include <aws/appconfig/model/ReplicateTo.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
44 template<
typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
46 template<
typename NameT = Aws::String>
56 template<
typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
58 template<
typename DescriptionT = Aws::String>
96 inline void SetGrowthFactor(
double value) { m_growthFactorHasBeenSet =
true; m_growthFactor = value; }
145 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
146 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
147 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
151 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
157 bool m_nameHasBeenSet =
false;
160 bool m_descriptionHasBeenSet =
false;
162 int m_deploymentDurationInMinutes{0};
163 bool m_deploymentDurationInMinutesHasBeenSet =
false;
165 int m_finalBakeTimeInMinutes{0};
166 bool m_finalBakeTimeInMinutesHasBeenSet =
false;
168 double m_growthFactor{0.0};
169 bool m_growthFactorHasBeenSet =
false;
172 bool m_growthTypeHasBeenSet =
false;
175 bool m_replicateToHasBeenSet =
false;
178 bool m_tagsHasBeenSet =
false;
CreateDeploymentStrategyRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
int GetDeploymentDurationInMinutes() const
bool ReplicateToHasBeenSet() const
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetGrowthFactor(double value)
void SetDeploymentDurationInMinutes(int value)
ReplicateTo GetReplicateTo() const
bool DescriptionHasBeenSet() const
CreateDeploymentStrategyRequest & WithReplicateTo(ReplicateTo value)
double GetGrowthFactor() const
const Aws::String & GetDescription() const
void SetReplicateTo(ReplicateTo value)
CreateDeploymentStrategyRequest & WithTags(TagsT &&value)
bool DeploymentDurationInMinutesHasBeenSet() const
AWS_APPCONFIG_API CreateDeploymentStrategyRequest()=default
CreateDeploymentStrategyRequest & WithGrowthType(GrowthType value)
GrowthType GetGrowthType() const
void SetFinalBakeTimeInMinutes(int value)
AWS_APPCONFIG_API Aws::String SerializePayload() const override
void SetGrowthType(GrowthType value)
int GetFinalBakeTimeInMinutes() const
CreateDeploymentStrategyRequest & WithFinalBakeTimeInMinutes(int value)
CreateDeploymentStrategyRequest & WithDeploymentDurationInMinutes(int value)
bool GrowthFactorHasBeenSet() const
bool FinalBakeTimeInMinutesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDeploymentStrategyRequest & WithName(NameT &&value)
CreateDeploymentStrategyRequest & WithGrowthFactor(double value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
CreateDeploymentStrategyRequest & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetName() const
bool GrowthTypeHasBeenSet() const
void SetName(NameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String