AWS SDK for C++  1.9.110
AWS SDK for C++
CreateDeploymentStrategyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace AppConfig
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateDeploymentStrategy"; }
34 
35  Aws::String SerializePayload() const override;
36 
37 
41  inline const Aws::String& GetName() const{ return m_name; }
42 
46  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 
51  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 
56  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
57 
61  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 
66  inline CreateDeploymentStrategyRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
67 
71  inline CreateDeploymentStrategyRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
72 
76  inline CreateDeploymentStrategyRequest& WithName(const char* value) { SetName(value); return *this;}
77 
78 
82  inline const Aws::String& GetDescription() const{ return m_description; }
83 
87  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 
92  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 
97  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 
102  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
103 
107  inline CreateDeploymentStrategyRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
108 
112  inline CreateDeploymentStrategyRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
113 
117  inline CreateDeploymentStrategyRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
118 
119 
123  inline int GetDeploymentDurationInMinutes() const{ return m_deploymentDurationInMinutes; }
124 
128  inline bool DeploymentDurationInMinutesHasBeenSet() const { return m_deploymentDurationInMinutesHasBeenSet; }
129 
133  inline void SetDeploymentDurationInMinutes(int value) { m_deploymentDurationInMinutesHasBeenSet = true; m_deploymentDurationInMinutes = value; }
134 
138  inline CreateDeploymentStrategyRequest& WithDeploymentDurationInMinutes(int value) { SetDeploymentDurationInMinutes(value); return *this;}
139 
140 
145  inline int GetFinalBakeTimeInMinutes() const{ return m_finalBakeTimeInMinutes; }
146 
151  inline bool FinalBakeTimeInMinutesHasBeenSet() const { return m_finalBakeTimeInMinutesHasBeenSet; }
152 
157  inline void SetFinalBakeTimeInMinutes(int value) { m_finalBakeTimeInMinutesHasBeenSet = true; m_finalBakeTimeInMinutes = value; }
158 
163  inline CreateDeploymentStrategyRequest& WithFinalBakeTimeInMinutes(int value) { SetFinalBakeTimeInMinutes(value); return *this;}
164 
165 
170  inline double GetGrowthFactor() const{ return m_growthFactor; }
171 
176  inline bool GrowthFactorHasBeenSet() const { return m_growthFactorHasBeenSet; }
177 
182  inline void SetGrowthFactor(double value) { m_growthFactorHasBeenSet = true; m_growthFactor = value; }
183 
188  inline CreateDeploymentStrategyRequest& WithGrowthFactor(double value) { SetGrowthFactor(value); return *this;}
189 
190 
211  inline const GrowthType& GetGrowthType() const{ return m_growthType; }
212 
233  inline bool GrowthTypeHasBeenSet() const { return m_growthTypeHasBeenSet; }
234 
255  inline void SetGrowthType(const GrowthType& value) { m_growthTypeHasBeenSet = true; m_growthType = value; }
256 
277  inline void SetGrowthType(GrowthType&& value) { m_growthTypeHasBeenSet = true; m_growthType = std::move(value); }
278 
299  inline CreateDeploymentStrategyRequest& WithGrowthType(const GrowthType& value) { SetGrowthType(value); return *this;}
300 
321  inline CreateDeploymentStrategyRequest& WithGrowthType(GrowthType&& value) { SetGrowthType(std::move(value)); return *this;}
322 
323 
327  inline const ReplicateTo& GetReplicateTo() const{ return m_replicateTo; }
328 
332  inline bool ReplicateToHasBeenSet() const { return m_replicateToHasBeenSet; }
333 
337  inline void SetReplicateTo(const ReplicateTo& value) { m_replicateToHasBeenSet = true; m_replicateTo = value; }
338 
342  inline void SetReplicateTo(ReplicateTo&& value) { m_replicateToHasBeenSet = true; m_replicateTo = std::move(value); }
343 
347  inline CreateDeploymentStrategyRequest& WithReplicateTo(const ReplicateTo& value) { SetReplicateTo(value); return *this;}
348 
352  inline CreateDeploymentStrategyRequest& WithReplicateTo(ReplicateTo&& value) { SetReplicateTo(std::move(value)); return *this;}
353 
354 
360  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
361 
367  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
368 
374  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
375 
381  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
382 
388  inline CreateDeploymentStrategyRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
389 
395  inline CreateDeploymentStrategyRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
396 
402  inline CreateDeploymentStrategyRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
403 
409  inline CreateDeploymentStrategyRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
410 
416  inline CreateDeploymentStrategyRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
417 
423  inline CreateDeploymentStrategyRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
424 
430  inline CreateDeploymentStrategyRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
431 
437  inline CreateDeploymentStrategyRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
438 
444  inline CreateDeploymentStrategyRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
445 
446  private:
447 
448  Aws::String m_name;
449  bool m_nameHasBeenSet;
450 
451  Aws::String m_description;
452  bool m_descriptionHasBeenSet;
453 
454  int m_deploymentDurationInMinutes;
455  bool m_deploymentDurationInMinutesHasBeenSet;
456 
457  int m_finalBakeTimeInMinutes;
458  bool m_finalBakeTimeInMinutesHasBeenSet;
459 
460  double m_growthFactor;
461  bool m_growthFactorHasBeenSet;
462 
463  GrowthType m_growthType;
464  bool m_growthTypeHasBeenSet;
465 
466  ReplicateTo m_replicateTo;
467  bool m_replicateToHasBeenSet;
468 
470  bool m_tagsHasBeenSet;
471  };
472 
473 } // namespace Model
474 } // namespace AppConfig
475 } // namespace Aws
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:367
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetReplicateTo
void SetReplicateTo(const ReplicateTo &value)
Definition: CreateDeploymentStrategyRequest.h:337
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithFinalBakeTimeInMinutes
CreateDeploymentStrategyRequest & WithFinalBakeTimeInMinutes(int value)
Definition: CreateDeploymentStrategyRequest.h:163
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithName
CreateDeploymentStrategyRequest & WithName(const Aws::String &value)
Definition: CreateDeploymentStrategyRequest.h:66
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateDeploymentStrategyRequest.h:92
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithTags
CreateDeploymentStrategyRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentStrategyRequest.h:388
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(const char *key, const char *value)
Definition: CreateDeploymentStrategyRequest.h:444
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetGrowthType
void SetGrowthType(const GrowthType &value)
Definition: CreateDeploymentStrategyRequest.h:255
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:56
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GrowthTypeHasBeenSet
bool GrowthTypeHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:233
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithDeploymentDurationInMinutes
CreateDeploymentStrategyRequest & WithDeploymentDurationInMinutes(int value)
Definition: CreateDeploymentStrategyRequest.h:138
GrowthType.h
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateDeploymentStrategyRequest.h:51
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GrowthFactorHasBeenSet
bool GrowthFactorHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:176
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithDescription
CreateDeploymentStrategyRequest & WithDescription(Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:112
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:87
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithName
CreateDeploymentStrategyRequest & WithName(Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:71
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:46
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithGrowthType
CreateDeploymentStrategyRequest & WithGrowthType(const GrowthType &value)
Definition: CreateDeploymentStrategyRequest.h:299
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentStrategyRequest.h:381
AppConfig_EXPORTS.h
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetGrowthType
void SetGrowthType(GrowthType &&value)
Definition: CreateDeploymentStrategyRequest.h:277
Aws::AppConfig::Model::ReplicateTo
ReplicateTo
Definition: ReplicateTo.h:17
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithTags
CreateDeploymentStrategyRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: CreateDeploymentStrategyRequest.h:395
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetDeploymentDurationInMinutes
void SetDeploymentDurationInMinutes(int value)
Definition: CreateDeploymentStrategyRequest.h:133
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetFinalBakeTimeInMinutes
int GetFinalBakeTimeInMinutes() const
Definition: CreateDeploymentStrategyRequest.h:145
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithDescription
CreateDeploymentStrategyRequest & WithDescription(const Aws::String &value)
Definition: CreateDeploymentStrategyRequest.h:107
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetFinalBakeTimeInMinutes
void SetFinalBakeTimeInMinutes(int value)
Definition: CreateDeploymentStrategyRequest.h:157
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateDeploymentStrategyRequest.h:33
Aws::AppConfig::Model::CreateDeploymentStrategyRequest
Definition: CreateDeploymentStrategyRequest.h:25
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: CreateDeploymentStrategyRequest.h:360
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::DeploymentDurationInMinutesHasBeenSet
bool DeploymentDurationInMinutesHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:128
ReplicateTo.h
AppConfigRequest.h
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithGrowthType
CreateDeploymentStrategyRequest & WithGrowthType(GrowthType &&value)
Definition: CreateDeploymentStrategyRequest.h:321
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:423
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetGrowthFactor
double GetGrowthFactor() const
Definition: CreateDeploymentStrategyRequest.h:170
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetName
void SetName(const char *value)
Definition: CreateDeploymentStrategyRequest.h:61
Aws::AppConfig::AppConfigRequest
Definition: AppConfigRequest.h:18
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetReplicateTo
void SetReplicateTo(ReplicateTo &&value)
Definition: CreateDeploymentStrategyRequest.h:342
AWSString.h
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetGrowthFactor
void SetGrowthFactor(double value)
Definition: CreateDeploymentStrategyRequest.h:182
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithDescription
CreateDeploymentStrategyRequest & WithDescription(const char *value)
Definition: CreateDeploymentStrategyRequest.h:117
Aws::AppConfig::Model::GrowthType
GrowthType
Definition: GrowthType.h:17
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithGrowthFactor
CreateDeploymentStrategyRequest & WithGrowthFactor(double value)
Definition: CreateDeploymentStrategyRequest.h:188
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetGrowthType
const GrowthType & GetGrowthType() const
Definition: CreateDeploymentStrategyRequest.h:211
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::ReplicateToHasBeenSet
bool ReplicateToHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:332
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithReplicateTo
CreateDeploymentStrategyRequest & WithReplicateTo(ReplicateTo &&value)
Definition: CreateDeploymentStrategyRequest.h:352
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::CreateDeploymentStrategyRequest
CreateDeploymentStrategyRequest()
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateDeploymentStrategyRequest.h:82
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::FinalBakeTimeInMinutesHasBeenSet
bool FinalBakeTimeInMinutesHasBeenSet() const
Definition: CreateDeploymentStrategyRequest.h:151
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:416
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateDeploymentStrategyRequest.h:102
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::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: CreateDeploymentStrategyRequest.h:409
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:97
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithName
CreateDeploymentStrategyRequest & WithName(const char *value)
Definition: CreateDeploymentStrategyRequest.h:76
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetDeploymentDurationInMinutes
int GetDeploymentDurationInMinutes() const
Definition: CreateDeploymentStrategyRequest.h:123
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(Aws::String &&key, const char *value)
Definition: CreateDeploymentStrategyRequest.h:437
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetName
const Aws::String & GetName() const
Definition: CreateDeploymentStrategyRequest.h:41
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: CreateDeploymentStrategyRequest.h:374
AWSMap.h
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: CreateDeploymentStrategyRequest.h:402
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::WithReplicateTo
CreateDeploymentStrategyRequest & WithReplicateTo(const ReplicateTo &value)
Definition: CreateDeploymentStrategyRequest.h:347
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::AddTags
CreateDeploymentStrategyRequest & AddTags(const char *key, Aws::String &&value)
Definition: CreateDeploymentStrategyRequest.h:430
Aws::AppConfig::Model::CreateDeploymentStrategyRequest::GetReplicateTo
const ReplicateTo & GetReplicateTo() const
Definition: CreateDeploymentStrategyRequest.h:327