7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/memorydb/MemoryDBRequest.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/IpDiscovery.h>
12#include <aws/memorydb/model/ReplicaConfigurationRequest.h>
13#include <aws/memorydb/model/ShardConfigurationRequest.h>
43 template <
typename ClusterNameT = Aws::String>
45 m_clusterNameHasBeenSet =
true;
46 m_clusterName = std::forward<ClusterNameT>(value);
48 template <
typename ClusterNameT = Aws::String>
61 template <
typename DescriptionT = Aws::String>
63 m_descriptionHasBeenSet =
true;
64 m_description = std::forward<DescriptionT>(value);
66 template <
typename DescriptionT = Aws::String>
79 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
81 m_securityGroupIdsHasBeenSet =
true;
82 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
84 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
89 template <
typename SecurityGroupIdsT = Aws::String>
91 m_securityGroupIdsHasBeenSet =
true;
92 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
110 template <
typename Ma
intenanceWindowT = Aws::String>
112 m_maintenanceWindowHasBeenSet =
true;
113 m_maintenanceWindow = std::forward<MaintenanceWindowT>(value);
115 template <
typename Ma
intenanceWindowT = Aws::String>
128 template <
typename SnsTopicArnT = Aws::String>
130 m_snsTopicArnHasBeenSet =
true;
131 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
133 template <
typename SnsTopicArnT = Aws::String>
147 template <
typename SnsTopicStatusT = Aws::String>
149 m_snsTopicStatusHasBeenSet =
true;
150 m_snsTopicStatus = std::forward<SnsTopicStatusT>(value);
152 template <
typename SnsTopicStatusT = Aws::String>
165 template <
typename ParameterGroupNameT = Aws::String>
167 m_parameterGroupNameHasBeenSet =
true;
168 m_parameterGroupName = std::forward<ParameterGroupNameT>(value);
170 template <
typename ParameterGroupNameT = Aws::String>
184 template <
typename SnapshotWindowT = Aws::String>
186 m_snapshotWindowHasBeenSet =
true;
187 m_snapshotWindow = std::forward<SnapshotWindowT>(value);
189 template <
typename SnapshotWindowT = Aws::String>
205 m_snapshotRetentionLimitHasBeenSet =
true;
206 m_snapshotRetentionLimit = value;
220 template <
typename NodeTypeT = Aws::String>
222 m_nodeTypeHasBeenSet =
true;
223 m_nodeType = std::forward<NodeTypeT>(value);
225 template <
typename NodeTypeT = Aws::String>
238 template <
typename EngineT = Aws::String>
240 m_engineHasBeenSet =
true;
241 m_engine = std::forward<EngineT>(value);
243 template <
typename EngineT = Aws::String>
259 template <
typename EngineVersionT = Aws::String>
261 m_engineVersionHasBeenSet =
true;
262 m_engineVersion = std::forward<EngineVersionT>(value);
264 template <
typename EngineVersionT = Aws::String>
277 template <
typename ReplicaConfigurationT = ReplicaConfigurationRequest>
279 m_replicaConfigurationHasBeenSet =
true;
280 m_replicaConfiguration = std::forward<ReplicaConfigurationT>(value);
282 template <
typename ReplicaConfigurationT = ReplicaConfigurationRequest>
295 template <
typename ShardConfigurationT = ShardConfigurationRequest>
297 m_shardConfigurationHasBeenSet =
true;
298 m_shardConfiguration = std::forward<ShardConfigurationT>(value);
300 template <
typename ShardConfigurationT = ShardConfigurationRequest>
313 template <
typename ACLNameT = Aws::String>
315 m_aCLNameHasBeenSet =
true;
316 m_aCLName = std::forward<ACLNameT>(value);
318 template <
typename ACLNameT = Aws::String>
338 m_ipDiscoveryHasBeenSet =
true;
339 m_ipDiscovery = value;
363 int m_snapshotRetentionLimit{0};
371 ReplicaConfigurationRequest m_replicaConfiguration;
373 ShardConfigurationRequest m_shardConfiguration;
378 bool m_clusterNameHasBeenSet =
false;
379 bool m_descriptionHasBeenSet =
false;
380 bool m_securityGroupIdsHasBeenSet =
false;
381 bool m_maintenanceWindowHasBeenSet =
false;
382 bool m_snsTopicArnHasBeenSet =
false;
383 bool m_snsTopicStatusHasBeenSet =
false;
384 bool m_parameterGroupNameHasBeenSet =
false;
385 bool m_snapshotWindowHasBeenSet =
false;
386 bool m_snapshotRetentionLimitHasBeenSet =
false;
387 bool m_nodeTypeHasBeenSet =
false;
388 bool m_engineHasBeenSet =
false;
389 bool m_engineVersionHasBeenSet =
false;
390 bool m_replicaConfigurationHasBeenSet =
false;
391 bool m_shardConfigurationHasBeenSet =
false;
392 bool m_aCLNameHasBeenSet =
false;
393 bool m_ipDiscoveryHasBeenSet =
false;
UpdateClusterRequest & WithIpDiscovery(IpDiscovery value)
UpdateClusterRequest & WithSnapshotWindow(SnapshotWindowT &&value)
void SetSnapshotRetentionLimit(int value)
const Aws::String & GetClusterName() const
bool MaintenanceWindowHasBeenSet() const
const Aws::String & GetParameterGroupName() const
UpdateClusterRequest & WithSnsTopicArn(SnsTopicArnT &&value)
UpdateClusterRequest & WithSnsTopicStatus(SnsTopicStatusT &&value)
void SetACLName(ACLNameT &&value)
UpdateClusterRequest & WithReplicaConfiguration(ReplicaConfigurationT &&value)
const Aws::String & GetSnapshotWindow() const
const Aws::String & GetEngineVersion() const
const Aws::String & GetEngine() const
bool ACLNameHasBeenSet() const
void SetSnsTopicArn(SnsTopicArnT &&value)
const Aws::String & GetACLName() const
bool DescriptionHasBeenSet() const
UpdateClusterRequest & WithNodeType(NodeTypeT &&value)
const Aws::String & GetSnsTopicStatus() const
const Aws::String & GetNodeType() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
virtual const char * GetServiceRequestName() const override
UpdateClusterRequest & WithMaintenanceWindow(MaintenanceWindowT &&value)
AWS_MEMORYDB_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
UpdateClusterRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool EngineVersionHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
UpdateClusterRequest & WithDescription(DescriptionT &&value)
UpdateClusterRequest & WithEngine(EngineT &&value)
UpdateClusterRequest & WithShardConfiguration(ShardConfigurationT &&value)
void SetNodeType(NodeTypeT &&value)
UpdateClusterRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetDescription(DescriptionT &&value)
bool NodeTypeHasBeenSet() const
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const ShardConfigurationRequest & GetShardConfiguration() const
bool ClusterNameHasBeenSet() const
void SetShardConfiguration(ShardConfigurationT &&value)
bool SnapshotRetentionLimitHasBeenSet() const
IpDiscovery GetIpDiscovery() const
bool SecurityGroupIdsHasBeenSet() const
void SetMaintenanceWindow(MaintenanceWindowT &&value)
bool SnsTopicArnHasBeenSet() const
void SetSnapshotWindow(SnapshotWindowT &&value)
int GetSnapshotRetentionLimit() const
bool ParameterGroupNameHasBeenSet() const
AWS_MEMORYDB_API UpdateClusterRequest()=default
UpdateClusterRequest & WithEngineVersion(EngineVersionT &&value)
UpdateClusterRequest & WithClusterName(ClusterNameT &&value)
const Aws::String & GetMaintenanceWindow() const
bool ShardConfigurationHasBeenSet() const
bool SnsTopicStatusHasBeenSet() const
UpdateClusterRequest & WithSnapshotRetentionLimit(int value)
const Aws::String & GetSnsTopicArn() const
void SetSnsTopicStatus(SnsTopicStatusT &&value)
bool SnapshotWindowHasBeenSet() const
bool IpDiscoveryHasBeenSet() const
void SetClusterName(ClusterNameT &&value)
void SetReplicaConfiguration(ReplicaConfigurationT &&value)
const ReplicaConfigurationRequest & GetReplicaConfiguration() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool ReplicaConfigurationHasBeenSet() const
UpdateClusterRequest & WithACLName(ACLNameT &&value)
bool EngineHasBeenSet() const
UpdateClusterRequest & WithParameterGroupName(ParameterGroupNameT &&value)
void SetEngine(EngineT &&value)
void SetIpDiscovery(IpDiscovery value)
void SetParameterGroupName(ParameterGroupNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector