AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyGlobalReplicationGroupRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElastiCache
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ModifyGlobalReplicationGroup"; }
31
32 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetGlobalReplicationGroupId() const{ return m_globalReplicationGroupId; }
44 inline bool GlobalReplicationGroupIdHasBeenSet() const { return m_globalReplicationGroupIdHasBeenSet; }
45 inline void SetGlobalReplicationGroupId(const Aws::String& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = value; }
46 inline void SetGlobalReplicationGroupId(Aws::String&& value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId = std::move(value); }
47 inline void SetGlobalReplicationGroupId(const char* value) { m_globalReplicationGroupIdHasBeenSet = true; m_globalReplicationGroupId.assign(value); }
52
54
60 inline bool GetApplyImmediately() const{ return m_applyImmediately; }
61 inline bool ApplyImmediatelyHasBeenSet() const { return m_applyImmediatelyHasBeenSet; }
62 inline void SetApplyImmediately(bool value) { m_applyImmediatelyHasBeenSet = true; m_applyImmediately = value; }
65
67
70 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
71 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
72 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
73 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
74 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
76 inline ModifyGlobalReplicationGroupRequest& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
77 inline ModifyGlobalReplicationGroupRequest& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
79
81
85 inline const Aws::String& GetEngine() const{ return m_engine; }
86 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
87 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
88 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
89 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
90 inline ModifyGlobalReplicationGroupRequest& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
91 inline ModifyGlobalReplicationGroupRequest& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
92 inline ModifyGlobalReplicationGroupRequest& WithEngine(const char* value) { SetEngine(value); return *this;}
94
96
100 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
101 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
102 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
103 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
104 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
106 inline ModifyGlobalReplicationGroupRequest& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
107 inline ModifyGlobalReplicationGroupRequest& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
109
111
116 inline const Aws::String& GetCacheParameterGroupName() const{ return m_cacheParameterGroupName; }
117 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
118 inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
119 inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); }
120 inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
125
127
130 inline const Aws::String& GetGlobalReplicationGroupDescription() const{ return m_globalReplicationGroupDescription; }
131 inline bool GlobalReplicationGroupDescriptionHasBeenSet() const { return m_globalReplicationGroupDescriptionHasBeenSet; }
132 inline void SetGlobalReplicationGroupDescription(const Aws::String& value) { m_globalReplicationGroupDescriptionHasBeenSet = true; m_globalReplicationGroupDescription = value; }
133 inline void SetGlobalReplicationGroupDescription(Aws::String&& value) { m_globalReplicationGroupDescriptionHasBeenSet = true; m_globalReplicationGroupDescription = std::move(value); }
134 inline void SetGlobalReplicationGroupDescription(const char* value) { m_globalReplicationGroupDescriptionHasBeenSet = true; m_globalReplicationGroupDescription.assign(value); }
139
141
145 inline bool GetAutomaticFailoverEnabled() const{ return m_automaticFailoverEnabled; }
146 inline bool AutomaticFailoverEnabledHasBeenSet() const { return m_automaticFailoverEnabledHasBeenSet; }
147 inline void SetAutomaticFailoverEnabled(bool value) { m_automaticFailoverEnabledHasBeenSet = true; m_automaticFailoverEnabled = value; }
150 private:
151
152 Aws::String m_globalReplicationGroupId;
153 bool m_globalReplicationGroupIdHasBeenSet = false;
154
155 bool m_applyImmediately;
156 bool m_applyImmediatelyHasBeenSet = false;
157
158 Aws::String m_cacheNodeType;
159 bool m_cacheNodeTypeHasBeenSet = false;
160
161 Aws::String m_engine;
162 bool m_engineHasBeenSet = false;
163
164 Aws::String m_engineVersion;
165 bool m_engineVersionHasBeenSet = false;
166
167 Aws::String m_cacheParameterGroupName;
168 bool m_cacheParameterGroupNameHasBeenSet = false;
169
170 Aws::String m_globalReplicationGroupDescription;
171 bool m_globalReplicationGroupDescriptionHasBeenSet = false;
172
173 bool m_automaticFailoverEnabled;
174 bool m_automaticFailoverEnabledHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace ElastiCache
179} // namespace Aws
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(const Aws::String &value)
ModifyGlobalReplicationGroupRequest & WithEngine(const char *value)
ModifyGlobalReplicationGroupRequest & WithCacheParameterGroupName(const Aws::String &value)
ModifyGlobalReplicationGroupRequest & WithGlobalReplicationGroupId(const Aws::String &value)
ModifyGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(Aws::String &&value)
ModifyGlobalReplicationGroupRequest & WithEngineVersion(const char *value)
ModifyGlobalReplicationGroupRequest & WithEngine(Aws::String &&value)
ModifyGlobalReplicationGroupRequest & WithGlobalReplicationGroupId(const char *value)
ModifyGlobalReplicationGroupRequest & WithCacheParameterGroupName(const char *value)
ModifyGlobalReplicationGroupRequest & WithCacheNodeType(const Aws::String &value)
ModifyGlobalReplicationGroupRequest & WithGlobalReplicationGroupDescription(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
ModifyGlobalReplicationGroupRequest & WithEngineVersion(Aws::String &&value)
ModifyGlobalReplicationGroupRequest & WithEngineVersion(const Aws::String &value)
ModifyGlobalReplicationGroupRequest & WithGlobalReplicationGroupId(Aws::String &&value)
ModifyGlobalReplicationGroupRequest & WithEngine(const Aws::String &value)
ModifyGlobalReplicationGroupRequest & WithCacheParameterGroupName(Aws::String &&value)
ModifyGlobalReplicationGroupRequest & WithAutomaticFailoverEnabled(bool value)
ModifyGlobalReplicationGroupRequest & WithCacheNodeType(Aws::String &&value)
ModifyGlobalReplicationGroupRequest & WithCacheNodeType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String