AWS SDK for C++  1.9.107
AWS SDK for C++
IncreaseNodeGroupsInGlobalReplicationGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ElastiCache
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "IncreaseNodeGroupsInGlobalReplicationGroup"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
44  inline const Aws::String& GetGlobalReplicationGroupId() const{ return m_globalReplicationGroupId; }
45 
49  inline bool GlobalReplicationGroupIdHasBeenSet() const { return m_globalReplicationGroupIdHasBeenSet; }
50 
54  inline void SetGlobalReplicationGroupId(const Aws::String& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = value; }
55 
59  inline void SetGlobalReplicationGroupId(Aws::String&& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = std::move(value); }
60 
64  inline void SetGlobalReplicationGroupId(const char* value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId.assign(value); }
65 
69  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithGlobalReplicationGroupId(const Aws::String& value) { SetGlobalReplicationGroupId(value); return *this;}
70 
74  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithGlobalReplicationGroupId(Aws::String&& value) { SetGlobalReplicationGroupId(std::move(value)); return *this;}
75 
79  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithGlobalReplicationGroupId(const char* value) { SetGlobalReplicationGroupId(value); return *this;}
80 
81 
85  inline int GetNodeGroupCount() const{ return m_nodeGroupCount; }
86 
90  inline bool NodeGroupCountHasBeenSet() const { return m_nodeGroupCountHasBeenSet; }
91 
95  inline void SetNodeGroupCount(int value) { m_nodeGroupCountHasBeenSet = true; m_nodeGroupCount = value; }
96 
100  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithNodeGroupCount(int value) { SetNodeGroupCount(value); return *this;}
101 
102 
107  inline const Aws::Vector<RegionalConfiguration>& GetRegionalConfigurations() const{ return m_regionalConfigurations; }
108 
113  inline bool RegionalConfigurationsHasBeenSet() const { return m_regionalConfigurationsHasBeenSet; }
114 
119  inline void SetRegionalConfigurations(const Aws::Vector<RegionalConfiguration>& value) { m_regionalConfigurationsHasBeenSet = true; m_regionalConfigurations = value; }
120 
125  inline void SetRegionalConfigurations(Aws::Vector<RegionalConfiguration>&& value) { m_regionalConfigurationsHasBeenSet = true; m_regionalConfigurations = std::move(value); }
126 
131  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithRegionalConfigurations(const Aws::Vector<RegionalConfiguration>& value) { SetRegionalConfigurations(value); return *this;}
132 
137  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithRegionalConfigurations(Aws::Vector<RegionalConfiguration>&& value) { SetRegionalConfigurations(std::move(value)); return *this;}
138 
143  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& AddRegionalConfigurations(const RegionalConfiguration& value) { m_regionalConfigurationsHasBeenSet = true; m_regionalConfigurations.push_back(value); return *this; }
144 
149  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& AddRegionalConfigurations(RegionalConfiguration&& value) { m_regionalConfigurationsHasBeenSet = true; m_regionalConfigurations.push_back(std::move(value)); return *this; }
150 
151 
156  inline bool GetApplyImmediately() const{ return m_applyImmediately; }
157 
162  inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
163 
168  inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
169 
174  inline IncreaseNodeGroupsInGlobalReplicationGroupRequest& WithApplyImmediately(bool value) { SetApplyImmediately(value); return *this;}
175 
176  private:
177 
178  Aws::String m_globalReplicationGroupId;
179  bool m_globalReplicationGroupIdHasBeenSet;
180 
181  int m_nodeGroupCount;
182  bool m_nodeGroupCountHasBeenSet;
183 
184  Aws::Vector<RegionalConfiguration> m_regionalConfigurations;
185  bool m_regionalConfigurationsHasBeenSet;
186 
187  bool m_applyImmediately;
188  bool m_applyImmediatelyHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace ElastiCache
193 } // namespace Aws
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetGlobalReplicationGroupId
void SetGlobalReplicationGroupId(const char *value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:64
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::ApplyImmediatelyHasBeenSet
bool ApplyImmediatelyHasBeenSet() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:162
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:24
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::IncreaseNodeGroupsInGlobalReplicationGroupRequest
IncreaseNodeGroupsInGlobalReplicationGroupRequest()
Aws::Http::URI
Definition: URI.h:32
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::NodeGroupCountHasBeenSet
bool NodeGroupCountHasBeenSet() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:90
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithGlobalReplicationGroupId
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithGlobalReplicationGroupId(const char *value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:79
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetGlobalReplicationGroupId
void SetGlobalReplicationGroupId(Aws::String &&value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:59
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
ElastiCacheRequest.h
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:32
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetApplyImmediately
void SetApplyImmediately(bool value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:168
Aws::ElastiCache::Model::RegionalConfiguration
Definition: RegionalConfiguration.h:34
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::GetNodeGroupCount
int GetNodeGroupCount() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:85
ElastiCache_EXPORTS.h
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithNodeGroupCount
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithNodeGroupCount(int value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:100
AWSVector.h
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::AddRegionalConfigurations
IncreaseNodeGroupsInGlobalReplicationGroupRequest & AddRegionalConfigurations(const RegionalConfiguration &value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:143
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetRegionalConfigurations
void SetRegionalConfigurations(Aws::Vector< RegionalConfiguration > &&value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:125
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::AddRegionalConfigurations
IncreaseNodeGroupsInGlobalReplicationGroupRequest & AddRegionalConfigurations(RegionalConfiguration &&value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:149
AWSString.h
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithRegionalConfigurations
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithRegionalConfigurations(const Aws::Vector< RegionalConfiguration > &value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:131
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::GetGlobalReplicationGroupId
const Aws::String & GetGlobalReplicationGroupId() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:44
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithGlobalReplicationGroupId
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithGlobalReplicationGroupId(const Aws::String &value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:69
RegionalConfiguration.h
AWS_ELASTICACHE_API
#define AWS_ELASTICACHE_API
Definition: ElastiCache_EXPORTS.h:28
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetNodeGroupCount
void SetNodeGroupCount(int value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:95
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithApplyImmediately
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithApplyImmediately(bool value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:174
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetRegionalConfigurations
void SetRegionalConfigurations(const Aws::Vector< RegionalConfiguration > &value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:119
Aws
Definition: AccessManagementClient.h:15
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::GlobalReplicationGroupIdHasBeenSet
bool GlobalReplicationGroupIdHasBeenSet() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:49
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SetGlobalReplicationGroupId
void SetGlobalReplicationGroupId(const Aws::String &value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:54
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithGlobalReplicationGroupId
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithGlobalReplicationGroupId(Aws::String &&value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:74
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElastiCache::ElastiCacheRequest
Definition: ElastiCacheRequest.h:17
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::RegionalConfigurationsHasBeenSet
bool RegionalConfigurationsHasBeenSet() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:113
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::GetRegionalConfigurations
const Aws::Vector< RegionalConfiguration > & GetRegionalConfigurations() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:107
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::GetApplyImmediately
bool GetApplyImmediately() const
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:156
Aws::ElastiCache::Model::IncreaseNodeGroupsInGlobalReplicationGroupRequest::WithRegionalConfigurations
IncreaseNodeGroupsInGlobalReplicationGroupRequest & WithRegionalConfigurations(Aws::Vector< RegionalConfiguration > &&value)
Definition: IncreaseNodeGroupsInGlobalReplicationGroupRequest.h:137