AWS SDK for C++  1.9.110
AWS SDK for C++
DeploymentStrategy.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppConfig
24 {
25 namespace Model
26 {
27 
29  {
30  public:
35 
36 
40  inline const Aws::String& GetId() const{ return m_id; }
41 
45  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 
50  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 
55  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
56 
60  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 
65  inline DeploymentStrategy& WithId(const Aws::String& value) { SetId(value); return *this;}
66 
70  inline DeploymentStrategy& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 
75  inline DeploymentStrategy& WithId(const char* value) { SetId(value); return *this;}
76 
77 
81  inline const Aws::String& GetName() const{ return m_name; }
82 
86  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 
91  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 
96  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
97 
101  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
102 
106  inline DeploymentStrategy& WithName(const Aws::String& value) { SetName(value); return *this;}
107 
111  inline DeploymentStrategy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
112 
116  inline DeploymentStrategy& WithName(const char* value) { SetName(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline DeploymentStrategy& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline DeploymentStrategy& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline DeploymentStrategy& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159 
163  inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
164 
168  inline bool DeploymentDurationInMinutesHasBeenSet() const { return m_deploymentDurationInMinutesHasBeenSet; }
169 
173  inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
174 
178  inline DeploymentStrategy& WithDeploymentDurationInMinutes(int value) { SetDeploymentDurationInMinutes(value); return *this;}
179 
180 
184  inline const GrowthType& GetGrowthType() const{ return m_growthType; }
185 
189  inline bool GrowthTypeHasBeenSet() const { return m_growthTypeHasBeenSet; }
190 
194  inline void SetGrowthType(const GrowthType& value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
195 
199  inline void SetGrowthType(GrowthType&& value) { m_growthTypeHasBeenSet = true; m_growthType = std::move(value); }
200 
204  inline DeploymentStrategy& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
205 
209  inline DeploymentStrategy& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
210 
211 
216  inline double GetGrowthFactor() const{ return m_growthFactor; }
217 
222  inline bool GrowthFactorHasBeenSet() const { return m_growthFactorHasBeenSet; }
223 
228  inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
229 
234  inline DeploymentStrategy& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
235 
236 
241  inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
242 
247  inline bool FinalBakeTimeInMinutesHasBeenSet() const { return m_finalBakeTimeInMinutesHasBeenSet; }
248 
253  inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
254 
259  inline DeploymentStrategy& WithFinalBakeTimeInMinutes(int value) { SetFinalBakeTimeInMinutes(value); return *this;}
260 
261 
265  inline const ReplicateTo& GetReplicateTo() const{ return m_replicateTo; }
266 
270  inline bool ReplicateToHasBeenSet() const { return m_replicateToHasBeenSet; }
271 
275  inline void SetReplicateTo(const ReplicateTo& value) { m_replicateToHasBeenSet = true; m_replicateTo = value; }
276 
280  inline void SetReplicateTo(ReplicateTo&& value) { m_replicateToHasBeenSet = true; m_replicateTo = std::move(value); }
281 
285  inline DeploymentStrategy& WithReplicateTo(const ReplicateTo& value) { SetReplicateTo(value); return *this;}
286 
290  inline DeploymentStrategy& WithReplicateTo(ReplicateTo&& value) { SetReplicateTo(std::move(value)); return *this;}
291 
292  private:
293 
294  Aws::String m_id;
295  bool m_idHasBeenSet;
296 
297  Aws::String m_name;
298  bool m_nameHasBeenSet;
299 
300  Aws::String m_description;
301  bool m_descriptionHasBeenSet;
302 
303  int m_deploymentDurationInMinutes;
304  bool m_deploymentDurationInMinutesHasBeenSet;
305 
306  GrowthType m_growthType;
307  bool m_growthTypeHasBeenSet;
308 
309  double m_growthFactor;
310  bool m_growthFactorHasBeenSet;
311 
312  int m_finalBakeTimeInMinutes;
313  bool m_finalBakeTimeInMinutesHasBeenSet;
314 
315  ReplicateTo m_replicateTo;
316  bool m_replicateToHasBeenSet;
317  };
318 
319 } // namespace Model
320 } // namespace AppConfig
321 } // namespace Aws
Aws::AppConfig::Model::DeploymentStrategy::DeploymentStrategy
DeploymentStrategy()
Aws::AppConfig::Model::DeploymentStrategy::WithReplicateTo
DeploymentStrategy & WithReplicateTo(ReplicateTo &&value)
Definition: DeploymentStrategy.h:290
Aws::AppConfig::Model::DeploymentStrategy::WithDescription
DeploymentStrategy & WithDescription(Aws::String &&value)
Definition: DeploymentStrategy.h:152
Aws::AppConfig::Model::DeploymentStrategy::WithGrowthFactor
DeploymentStrategy & WithGrowthFactor(double value)
Definition: DeploymentStrategy.h:234
Aws::AppConfig::Model::DeploymentStrategy
Definition: DeploymentStrategy.h:29
Aws::AppConfig::Model::DeploymentStrategy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AppConfig::Model::DeploymentStrategy::WithId
DeploymentStrategy & WithId(const Aws::String &value)
Definition: DeploymentStrategy.h:65
Aws::AppConfig::Model::DeploymentStrategy::DeploymentDurationInMinutesHasBeenSet
bool DeploymentDurationInMinutesHasBeenSet() const
Definition: DeploymentStrategy.h:168
Aws::AppConfig::Model::DeploymentStrategy::WithName
DeploymentStrategy & WithName(const char *value)
Definition: DeploymentStrategy.h:116
Aws::AppConfig::Model::DeploymentStrategy::WithName
DeploymentStrategy & WithName(Aws::String &&value)
Definition: DeploymentStrategy.h:111
Aws::AppConfig::Model::DeploymentStrategy::WithDeploymentDurationInMinutes
DeploymentStrategy & WithDeploymentDurationInMinutes(int value)
Definition: DeploymentStrategy.h:178
GrowthType.h
Aws::AppConfig::Model::DeploymentStrategy::GetFinalBakeTimeInMinutes
int GetFinalBakeTimeInMinutes() const
Definition: DeploymentStrategy.h:241
Aws::AppConfig::Model::DeploymentStrategy::GetGrowthType
const GrowthType & GetGrowthType() const
Definition: DeploymentStrategy.h:184
Aws::AppConfig::Model::DeploymentStrategy::GetDeploymentDurationInMinutes
int GetDeploymentDurationInMinutes() const
Definition: DeploymentStrategy.h:163
AppConfig_EXPORTS.h
Aws::AppConfig::Model::DeploymentStrategy::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DeploymentStrategy.h:86
Aws::AppConfig::Model::DeploymentStrategy::SetName
void SetName(const Aws::String &value)
Definition: DeploymentStrategy.h:91
Aws::AppConfig::Model::ReplicateTo
ReplicateTo
Definition: ReplicateTo.h:17
Aws::AppConfig::Model::DeploymentStrategy::WithFinalBakeTimeInMinutes
DeploymentStrategy & WithFinalBakeTimeInMinutes(int value)
Definition: DeploymentStrategy.h:259
Aws::AppConfig::Model::DeploymentStrategy::WithDescription
DeploymentStrategy & WithDescription(const char *value)
Definition: DeploymentStrategy.h:157
Aws::AppConfig::Model::DeploymentStrategy::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DeploymentStrategy.h:127
Aws::AppConfig::Model::DeploymentStrategy::WithReplicateTo
DeploymentStrategy & WithReplicateTo(const ReplicateTo &value)
Definition: DeploymentStrategy.h:285
Aws::AppConfig::Model::DeploymentStrategy::SetDescription
void SetDescription(const Aws::String &value)
Definition: DeploymentStrategy.h:132
ReplicateTo.h
Aws::AppConfig::Model::DeploymentStrategy::IdHasBeenSet
bool IdHasBeenSet() const
Definition: DeploymentStrategy.h:45
Aws::AppConfig::Model::DeploymentStrategy::WithId
DeploymentStrategy & WithId(Aws::String &&value)
Definition: DeploymentStrategy.h:70
Aws::AppConfig::Model::DeploymentStrategy::FinalBakeTimeInMinutesHasBeenSet
bool FinalBakeTimeInMinutesHasBeenSet() const
Definition: DeploymentStrategy.h:247
Aws::AppConfig::Model::DeploymentStrategy::GetDescription
const Aws::String & GetDescription() const
Definition: DeploymentStrategy.h:122
Aws::AppConfig::Model::DeploymentStrategy::SetGrowthType
void SetGrowthType(GrowthType &&value)
Definition: DeploymentStrategy.h:199
Aws::AppConfig::Model::DeploymentStrategy::GrowthTypeHasBeenSet
bool GrowthTypeHasBeenSet() const
Definition: DeploymentStrategy.h:189
Aws::AppConfig::Model::DeploymentStrategy::WithId
DeploymentStrategy & WithId(const char *value)
Definition: DeploymentStrategy.h:75
Aws::AppConfig::Model::DeploymentStrategy::WithName
DeploymentStrategy & WithName(const Aws::String &value)
Definition: DeploymentStrategy.h:106
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AppConfig::Model::DeploymentStrategy::SetDeploymentDurationInMinutes
void SetDeploymentDurationInMinutes(int value)
Definition: DeploymentStrategy.h:173
AWSString.h
Aws::AppConfig::Model::DeploymentStrategy::SetGrowthFactor
void SetGrowthFactor(double value)
Definition: DeploymentStrategy.h:228
Aws::AppConfig::Model::GrowthType
GrowthType
Definition: GrowthType.h:17
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AppConfig::Model::DeploymentStrategy::ReplicateToHasBeenSet
bool ReplicateToHasBeenSet() const
Definition: DeploymentStrategy.h:270
Aws::AppConfig::Model::DeploymentStrategy::SetId
void SetId(Aws::String &&value)
Definition: DeploymentStrategy.h:55
Aws::AppConfig::Model::DeploymentStrategy::SetFinalBakeTimeInMinutes
void SetFinalBakeTimeInMinutes(int value)
Definition: DeploymentStrategy.h:253
Aws::AppConfig::Model::DeploymentStrategy::SetName
void SetName(Aws::String &&value)
Definition: DeploymentStrategy.h:96
Aws::AppConfig::Model::DeploymentStrategy::SetId
void SetId(const Aws::String &value)
Definition: DeploymentStrategy.h:50
Aws::AppConfig::Model::DeploymentStrategy::WithGrowthType
DeploymentStrategy & WithGrowthType(GrowthType &&value)
Definition: DeploymentStrategy.h:209
Aws::AppConfig::Model::DeploymentStrategy::GrowthFactorHasBeenSet
bool GrowthFactorHasBeenSet() const
Definition: DeploymentStrategy.h:222
Aws::AppConfig::Model::DeploymentStrategy::GetGrowthFactor
double GetGrowthFactor() const
Definition: DeploymentStrategy.h:216
Aws::AppConfig::Model::DeploymentStrategy::SetGrowthType
void SetGrowthType(const GrowthType &value)
Definition: DeploymentStrategy.h:194
Aws::AppConfig::Model::DeploymentStrategy::GetId
const Aws::String & GetId() const
Definition: DeploymentStrategy.h:40
Aws::AppConfig::Model::DeploymentStrategy::DeploymentStrategy
DeploymentStrategy(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::DeploymentStrategy::GetReplicateTo
const ReplicateTo & GetReplicateTo() const
Definition: DeploymentStrategy.h:265
Aws
Definition: AccessManagementClient.h:15
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::DeploymentStrategy::SetDescription
void SetDescription(const char *value)
Definition: DeploymentStrategy.h:142
Aws::AppConfig::Model::DeploymentStrategy::SetReplicateTo
void SetReplicateTo(const ReplicateTo &value)
Definition: DeploymentStrategy.h:275
Aws::AppConfig::Model::DeploymentStrategy::SetName
void SetName(const char *value)
Definition: DeploymentStrategy.h:101
Aws::AppConfig::Model::DeploymentStrategy::SetDescription
void SetDescription(Aws::String &&value)
Definition: DeploymentStrategy.h:137
Aws::AppConfig::Model::DeploymentStrategy::SetReplicateTo
void SetReplicateTo(ReplicateTo &&value)
Definition: DeploymentStrategy.h:280
Aws::AppConfig::Model::DeploymentStrategy::WithDescription
DeploymentStrategy & WithDescription(const Aws::String &value)
Definition: DeploymentStrategy.h:147
Aws::AppConfig::Model::DeploymentStrategy::SetId
void SetId(const char *value)
Definition: DeploymentStrategy.h:60
Aws::AppConfig::Model::DeploymentStrategy::operator=
DeploymentStrategy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AppConfig::Model::DeploymentStrategy::WithGrowthType
DeploymentStrategy & WithGrowthType(const GrowthType &value)
Definition: DeploymentStrategy.h:204
Aws::AppConfig::Model::DeploymentStrategy::GetName
const Aws::String & GetName() const
Definition: DeploymentStrategy.h:81