7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/CustomerNodeEndpoint.h>
16namespace ElastiCache {
43 template <
typename ServerlessCacheNameT = Aws::String>
45 m_serverlessCacheNameHasBeenSet =
true;
46 m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value);
48 template <
typename ServerlessCacheNameT = Aws::String>
61 template <
typename ReplicationGroupIdT = Aws::String>
63 m_replicationGroupIdHasBeenSet =
true;
64 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
66 template <
typename ReplicationGroupIdT = Aws::String>
82 template <
typename CustomerNodeEndpo
intListT = Aws::Vector<CustomerNodeEndpo
int>>
84 m_customerNodeEndpointListHasBeenSet =
true;
85 m_customerNodeEndpointList = std::forward<CustomerNodeEndpointListT>(value);
87 template <
typename CustomerNodeEndpo
intListT = Aws::Vector<CustomerNodeEndpo
int>>
92 template <
typename CustomerNodeEndpo
intListT = CustomerNodeEndpo
int>
94 m_customerNodeEndpointListHasBeenSet =
true;
95 m_customerNodeEndpointList.emplace_back(std::forward<CustomerNodeEndpointListT>(value));
108 m_autoCutoverHasBeenSet =
true;
109 m_autoCutover = value;
126 m_clearTargetCacheDataHasBeenSet =
true;
127 m_clearTargetCacheData = value;
141 bool m_autoCutover{
false};
143 bool m_clearTargetCacheData{
false};
144 bool m_serverlessCacheNameHasBeenSet =
false;
145 bool m_replicationGroupIdHasBeenSet =
false;
146 bool m_customerNodeEndpointListHasBeenSet =
false;
147 bool m_autoCutoverHasBeenSet =
false;
148 bool m_clearTargetCacheDataHasBeenSet =
false;
bool CustomerNodeEndpointListHasBeenSet() const
const Aws::Vector< CustomerNodeEndpoint > & GetCustomerNodeEndpointList() const
StartMigrationRequest & WithAutoCutover(bool value)
bool AutoCutoverHasBeenSet() const
bool GetClearTargetCacheData() const
StartMigrationRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
StartMigrationRequest & WithClearTargetCacheData(bool value)
const Aws::String & GetServerlessCacheName() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
void SetClearTargetCacheData(bool value)
bool ServerlessCacheNameHasBeenSet() const
void SetServerlessCacheName(ServerlessCacheNameT &&value)
StartMigrationRequest & WithCustomerNodeEndpointList(CustomerNodeEndpointListT &&value)
AWS_ELASTICACHE_API StartMigrationRequest()=default
void SetCustomerNodeEndpointList(CustomerNodeEndpointListT &&value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
StartMigrationRequest & WithReplicationGroupId(ReplicationGroupIdT &&value)
void SetAutoCutover(bool value)
bool ReplicationGroupIdHasBeenSet() const
const Aws::String & GetReplicationGroupId() const
bool GetAutoCutover() const
bool ClearTargetCacheDataHasBeenSet() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
StartMigrationRequest & AddCustomerNodeEndpointList(CustomerNodeEndpointListT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector