AWS SDK for C++  1.9.110
AWS SDK for C++
UpdateDeploymentStrategyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace AppConfig
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateDeploymentStrategy"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDeploymentStrategyId() const{ return m_deploymentStrategyId; }
40 
44  inline bool DeploymentStrategyIdHasBeenSet() const { return m_deploymentStrategyIdHasBeenSet; }
45 
49  inline void SetDeploymentStrategyId(const Aws::String& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = value; }
50 
54  inline void SetDeploymentStrategyId(Aws::String&& value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId = std::move(value); }
55 
59  inline void SetDeploymentStrategyId(const char* value) { m_deploymentStrategyIdHasBeenSet = true; m_deploymentStrategyId.assign(value); }
60 
64  inline UpdateDeploymentStrategyRequest& WithDeploymentStrategyId(const Aws::String& value) { SetDeploymentStrategyId(value); return *this;}
65 
69  inline UpdateDeploymentStrategyRequest& WithDeploymentStrategyId(Aws::String&& value) { SetDeploymentStrategyId(std::move(value)); return *this;}
70 
74  inline UpdateDeploymentStrategyRequest& WithDeploymentStrategyId(const char* value) { SetDeploymentStrategyId(value); return *this;}
75 
76 
80  inline const Aws::String& GetDescription() const{ return m_description; }
81 
85  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 
90  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 
95  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
96 
100  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
101 
105  inline UpdateDeploymentStrategyRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
106 
110  inline UpdateDeploymentStrategyRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
111 
115  inline UpdateDeploymentStrategyRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
116 
117 
121  inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
122 
126  inline bool DeploymentDurationInMinutesHasBeenSet() const { return m_deploymentDurationInMinutesHasBeenSet; }
127 
131  inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
132 
136  inline UpdateDeploymentStrategyRequest& WithDeploymentDurationInMinutes(int value) { SetDeploymentDurationInMinutes(value); return *this;}
137 
138 
143  inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
144 
149  inline bool FinalBakeTimeInMinutesHasBeenSet() const { return m_finalBakeTimeInMinutesHasBeenSet; }
150 
155  inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
156 
161  inline UpdateDeploymentStrategyRequest& WithFinalBakeTimeInMinutes(int value) { SetFinalBakeTimeInMinutes(value); return *this;}
162 
163 
168  inline double GetGrowthFactor() const{ return m_growthFactor; }
169 
174  inline bool GrowthFactorHasBeenSet() const { return m_growthFactorHasBeenSet; }
175 
180  inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
181 
186  inline UpdateDeploymentStrategyRequest& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
187 
188 
208  inline const GrowthType& GetGrowthType() const{ return m_growthType; }
209 
229  inline bool GrowthTypeHasBeenSet() const { return m_growthTypeHasBeenSet; }
230 
250  inline void SetGrowthType(const GrowthType& value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
251 
271  inline void SetGrowthType(GrowthType&& value) { m_growthTypeHasBeenSet = true; m_growthType = std::move(value); }
272 
292  inline UpdateDeploymentStrategyRequest& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
293 
313  inline UpdateDeploymentStrategyRequest& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
314 
315  private:
316 
317  Aws::String m_deploymentStrategyId;
318  bool m_deploymentStrategyIdHasBeenSet;
319 
320  Aws::String m_description;
321  bool m_descriptionHasBeenSet;
322 
323  int m_deploymentDurationInMinutes;
324  bool m_deploymentDurationInMinutesHasBeenSet;
325 
326  int m_finalBakeTimeInMinutes;
327  bool m_finalBakeTimeInMinutesHasBeenSet;
328 
329  double m_growthFactor;
330  bool m_growthFactorHasBeenSet;
331 
332  GrowthType m_growthType;
333  bool m_growthTypeHasBeenSet;
334  };
335 
336 } // namespace Model
337 } // namespace AppConfig
338 } // namespace Aws
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest
Definition: UpdateDeploymentStrategyRequest.h:23
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithGrowthFactor
UpdateDeploymentStrategyRequest & WithGrowthFactor(double value)
Definition: UpdateDeploymentStrategyRequest.h:186
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDeploymentDurationInMinutes
UpdateDeploymentStrategyRequest & WithDeploymentDurationInMinutes(int value)
Definition: UpdateDeploymentStrategyRequest.h:136
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetGrowthFactor
void SetGrowthFactor(double value)
Definition: UpdateDeploymentStrategyRequest.h:180
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDescription
UpdateDeploymentStrategyRequest & WithDescription(const Aws::String &value)
Definition: UpdateDeploymentStrategyRequest.h:105
GrowthType.h
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetFinalBakeTimeInMinutes
int GetFinalBakeTimeInMinutes() const
Definition: UpdateDeploymentStrategyRequest.h:143
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDeploymentStrategyRequest.h:95
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetDeploymentStrategyId
const Aws::String & GetDeploymentStrategyId() const
Definition: UpdateDeploymentStrategyRequest.h:39
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDeploymentStrategyRequest.h:100
AppConfig_EXPORTS.h
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetDeploymentDurationInMinutes
int GetDeploymentDurationInMinutes() const
Definition: UpdateDeploymentStrategyRequest.h:121
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDeploymentStrategyId
void SetDeploymentStrategyId(const char *value)
Definition: UpdateDeploymentStrategyRequest.h:59
AppConfigRequest.h
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDeploymentStrategyId
void SetDeploymentStrategyId(const Aws::String &value)
Definition: UpdateDeploymentStrategyRequest.h:49
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetGrowthType
void SetGrowthType(GrowthType &&value)
Definition: UpdateDeploymentStrategyRequest.h:271
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::FinalBakeTimeInMinutesHasBeenSet
bool FinalBakeTimeInMinutesHasBeenSet() const
Definition: UpdateDeploymentStrategyRequest.h:149
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDeploymentStrategyId
void SetDeploymentStrategyId(Aws::String &&value)
Definition: UpdateDeploymentStrategyRequest.h:54
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDescription
UpdateDeploymentStrategyRequest & WithDescription(const char *value)
Definition: UpdateDeploymentStrategyRequest.h:115
AWSString.h
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetGrowthType
const GrowthType & GetGrowthType() const
Definition: UpdateDeploymentStrategyRequest.h:208
Aws::AppConfig::Model::GrowthType
GrowthType
Definition: GrowthType.h:17
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GrowthTypeHasBeenSet
bool GrowthTypeHasBeenSet() const
Definition: UpdateDeploymentStrategyRequest.h:229
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDeploymentStrategyId
UpdateDeploymentStrategyRequest & WithDeploymentStrategyId(const Aws::String &value)
Definition: UpdateDeploymentStrategyRequest.h:64
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithGrowthType
UpdateDeploymentStrategyRequest & WithGrowthType(GrowthType &&value)
Definition: UpdateDeploymentStrategyRequest.h:313
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDeploymentStrategyRequest.h:80
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDescription
UpdateDeploymentStrategyRequest & WithDescription(Aws::String &&value)
Definition: UpdateDeploymentStrategyRequest.h:110
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::DeploymentDurationInMinutesHasBeenSet
bool DeploymentDurationInMinutesHasBeenSet() const
Definition: UpdateDeploymentStrategyRequest.h:126
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDeploymentStrategyRequest.h:31
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDeploymentStrategyId
UpdateDeploymentStrategyRequest & WithDeploymentStrategyId(const char *value)
Definition: UpdateDeploymentStrategyRequest.h:74
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDeploymentStrategyRequest.h:90
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GrowthFactorHasBeenSet
bool GrowthFactorHasBeenSet() const
Definition: UpdateDeploymentStrategyRequest.h:174
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithFinalBakeTimeInMinutes
UpdateDeploymentStrategyRequest & WithFinalBakeTimeInMinutes(int value)
Definition: UpdateDeploymentStrategyRequest.h:161
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetFinalBakeTimeInMinutes
void SetFinalBakeTimeInMinutes(int value)
Definition: UpdateDeploymentStrategyRequest.h:155
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_APPCONFIG_API
#define AWS_APPCONFIG_API
Definition: AppConfig_EXPORTS.h:28
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithGrowthType
UpdateDeploymentStrategyRequest & WithGrowthType(const GrowthType &value)
Definition: UpdateDeploymentStrategyRequest.h:292
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetGrowthType
void SetGrowthType(const GrowthType &value)
Definition: UpdateDeploymentStrategyRequest.h:250
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::DeploymentStrategyIdHasBeenSet
bool DeploymentStrategyIdHasBeenSet() const
Definition: UpdateDeploymentStrategyRequest.h:44
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDeploymentStrategyRequest.h:85
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::UpdateDeploymentStrategyRequest
UpdateDeploymentStrategyRequest()
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::SetDeploymentDurationInMinutes
void SetDeploymentDurationInMinutes(int value)
Definition: UpdateDeploymentStrategyRequest.h:131
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::WithDeploymentStrategyId
UpdateDeploymentStrategyRequest & WithDeploymentStrategyId(Aws::String &&value)
Definition: UpdateDeploymentStrategyRequest.h:69
Aws::AppConfig::Model::UpdateDeploymentStrategyRequest::GetGrowthFactor
double GetGrowthFactor() const
Definition: UpdateDeploymentStrategyRequest.h:168