AWS SDK for C++  1.9.110
AWS SDK for C++
GetDeploymentStrategyResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace AppConfig
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetId() const{ return m_id; }
41 
45  inline void SetId(const Aws::String& value) { m_id = value; }
46 
50  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
51 
55  inline void SetId(const char* value) { m_id.assign(value); }
56 
60  inline GetDeploymentStrategyResult& WithId(const Aws::String& value) { SetId(value); return *this;}
61 
65  inline GetDeploymentStrategyResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
66 
70  inline GetDeploymentStrategyResult& WithId(const char* value) { SetId(value); return *this;}
71 
72 
76  inline const Aws::String& GetName() const{ return m_name; }
77 
81  inline void SetName(const Aws::String& value) { m_name = value; }
82 
86  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
87 
91  inline void SetName(const char* value) { m_name.assign(value); }
92 
96  inline GetDeploymentStrategyResult& WithName(const Aws::String& value) { SetName(value); return *this;}
97 
101  inline GetDeploymentStrategyResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
102 
106  inline GetDeploymentStrategyResult& WithName(const char* value) { SetName(value); return *this;}
107 
108 
112  inline const Aws::String& GetDescription() const{ return m_description; }
113 
117  inline void SetDescription(const Aws::String& value) { m_description = value; }
118 
122  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
123 
127  inline void SetDescription(const char* value) { m_description.assign(value); }
128 
132  inline GetDeploymentStrategyResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
133 
137  inline GetDeploymentStrategyResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
138 
142  inline GetDeploymentStrategyResult& WithDescription(const char* value) { SetDescription(value); return *this;}
143 
144 
148  inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
149 
153  inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutes = value; }
154 
158  inline GetDeploymentStrategyResult& WithDeploymentDurationInMinutes(int value) { SetDeploymentDurationInMinutes(value); return *this;}
159 
160 
164  inline const GrowthType& GetGrowthType() const{ return m_growthType; }
165 
169  inline void SetGrowthType(const GrowthType& value) { m_growthType = value; }
170 
174  inline void SetGrowthType(GrowthType&& value) { m_growthType = std::move(value); }
175 
179  inline GetDeploymentStrategyResult& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
180 
184  inline GetDeploymentStrategyResult& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
185 
186 
191  inline double GetGrowthFactor() const{ return m_growthFactor; }
192 
197  inline void SetGrowthFactor(double value) { m_growthFactor = value; }
198 
203  inline GetDeploymentStrategyResult& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
204 
205 
210  inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
211 
216  inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutes = value; }
217 
222  inline GetDeploymentStrategyResult& WithFinalBakeTimeInMinutes(int value) { SetFinalBakeTimeInMinutes(value); return *this;}
223 
224 
228  inline const ReplicateTo& GetReplicateTo() const{ return m_replicateTo; }
229 
233  inline void SetReplicateTo(const ReplicateTo& value) { m_replicateTo = value; }
234 
238  inline void SetReplicateTo(ReplicateTo&& value) { m_replicateTo = std::move(value); }
239 
243  inline GetDeploymentStrategyResult& WithReplicateTo(const ReplicateTo& value) { SetReplicateTo(value); return *this;}
244 
248  inline GetDeploymentStrategyResult& WithReplicateTo(ReplicateTo&& value) { SetReplicateTo(std::move(value)); return *this;}
249 
250  private:
251 
252  Aws::String m_id;
253 
254  Aws::String m_name;
255 
256  Aws::String m_description;
257 
258  int m_deploymentDurationInMinutes;
259 
260  GrowthType m_growthType;
261 
262  double m_growthFactor;
263 
264  int m_finalBakeTimeInMinutes;
265 
266  ReplicateTo m_replicateTo;
267  };
268 
269 } // namespace Model
270 } // namespace AppConfig
271 } // namespace Aws
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetGrowthType
const GrowthType & GetGrowthType() const
Definition: GetDeploymentStrategyResult.h:164
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetId
void SetId(Aws::String &&value)
Definition: GetDeploymentStrategyResult.h:50
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithDeploymentDurationInMinutes
GetDeploymentStrategyResult & WithDeploymentDurationInMinutes(int value)
Definition: GetDeploymentStrategyResult.h:158
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithDescription
GetDeploymentStrategyResult & WithDescription(const char *value)
Definition: GetDeploymentStrategyResult.h:142
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetDeploymentDurationInMinutes
int GetDeploymentDurationInMinutes() const
Definition: GetDeploymentStrategyResult.h:148
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithName
GetDeploymentStrategyResult & WithName(const Aws::String &value)
Definition: GetDeploymentStrategyResult.h:96
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetReplicateTo
const ReplicateTo & GetReplicateTo() const
Definition: GetDeploymentStrategyResult.h:228
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetDeploymentDurationInMinutes
void SetDeploymentDurationInMinutes(int value)
Definition: GetDeploymentStrategyResult.h:153
GrowthType.h
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetName
const Aws::String & GetName() const
Definition: GetDeploymentStrategyResult.h:76
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetDeploymentStrategyResult
GetDeploymentStrategyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithGrowthType
GetDeploymentStrategyResult & WithGrowthType(const GrowthType &value)
Definition: GetDeploymentStrategyResult.h:179
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetGrowthFactor
void SetGrowthFactor(double value)
Definition: GetDeploymentStrategyResult.h:197
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithReplicateTo
GetDeploymentStrategyResult & WithReplicateTo(const ReplicateTo &value)
Definition: GetDeploymentStrategyResult.h:243
AppConfig_EXPORTS.h
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetDescription
void SetDescription(const char *value)
Definition: GetDeploymentStrategyResult.h:127
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetGrowthType
void SetGrowthType(const GrowthType &value)
Definition: GetDeploymentStrategyResult.h:169
Aws::AppConfig::Model::ReplicateTo
ReplicateTo
Definition: ReplicateTo.h:17
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithId
GetDeploymentStrategyResult & WithId(const Aws::String &value)
Definition: GetDeploymentStrategyResult.h:60
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithFinalBakeTimeInMinutes
GetDeploymentStrategyResult & WithFinalBakeTimeInMinutes(int value)
Definition: GetDeploymentStrategyResult.h:222
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetName
void SetName(const char *value)
Definition: GetDeploymentStrategyResult.h:91
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetFinalBakeTimeInMinutes
void SetFinalBakeTimeInMinutes(int value)
Definition: GetDeploymentStrategyResult.h:216
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetName
void SetName(Aws::String &&value)
Definition: GetDeploymentStrategyResult.h:86
ReplicateTo.h
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetDeploymentStrategyResult.h:117
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetId
void SetId(const char *value)
Definition: GetDeploymentStrategyResult.h:55
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetFinalBakeTimeInMinutes
int GetFinalBakeTimeInMinutes() const
Definition: GetDeploymentStrategyResult.h:210
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetId
const Aws::String & GetId() const
Definition: GetDeploymentStrategyResult.h:40
AWSString.h
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetGrowthFactor
double GetGrowthFactor() const
Definition: GetDeploymentStrategyResult.h:191
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithId
GetDeploymentStrategyResult & WithId(Aws::String &&value)
Definition: GetDeploymentStrategyResult.h:65
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetDeploymentStrategyResult.h:122
Aws::AppConfig::Model::GrowthType
GrowthType
Definition: GrowthType.h:17
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithId
GetDeploymentStrategyResult & WithId(const char *value)
Definition: GetDeploymentStrategyResult.h:70
Aws::AppConfig::Model::GetDeploymentStrategyResult::operator=
GetDeploymentStrategyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetDeploymentStrategyResult.h:112
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetReplicateTo
void SetReplicateTo(ReplicateTo &&value)
Definition: GetDeploymentStrategyResult.h:238
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithName
GetDeploymentStrategyResult & WithName(Aws::String &&value)
Definition: GetDeploymentStrategyResult.h:101
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithDescription
GetDeploymentStrategyResult & WithDescription(const Aws::String &value)
Definition: GetDeploymentStrategyResult.h:132
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithDescription
GetDeploymentStrategyResult & WithDescription(Aws::String &&value)
Definition: GetDeploymentStrategyResult.h:137
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetName
void SetName(const Aws::String &value)
Definition: GetDeploymentStrategyResult.h:81
Aws::AppConfig::Model::GetDeploymentStrategyResult::GetDeploymentStrategyResult
GetDeploymentStrategyResult()
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithReplicateTo
GetDeploymentStrategyResult & WithReplicateTo(ReplicateTo &&value)
Definition: GetDeploymentStrategyResult.h:248
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetId
void SetId(const Aws::String &value)
Definition: GetDeploymentStrategyResult.h:45
Aws::AppConfig::Model::GetDeploymentStrategyResult
Definition: GetDeploymentStrategyResult.h:30
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::GetDeploymentStrategyResult::WithGrowthType
GetDeploymentStrategyResult & WithGrowthType(GrowthType &&value)
Definition: GetDeploymentStrategyResult.h:184
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetReplicateTo
void SetReplicateTo(const ReplicateTo &value)
Definition: GetDeploymentStrategyResult.h:233
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithGrowthFactor
GetDeploymentStrategyResult & WithGrowthFactor(double value)
Definition: GetDeploymentStrategyResult.h:203
Aws::AppConfig::Model::GetDeploymentStrategyResult::WithName
GetDeploymentStrategyResult & WithName(const char *value)
Definition: GetDeploymentStrategyResult.h:106
Aws::AppConfig::Model::GetDeploymentStrategyResult::SetGrowthType
void SetGrowthType(GrowthType &&value)
Definition: GetDeploymentStrategyResult.h:174