AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartMigrationRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/CustomerNodeEndpoint.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElastiCache
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ELASTICACHE_API StartMigrationRequest();
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 "StartMigration"; }
33
34 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetReplicationGroupId() const{ return m_replicationGroupId; }
46 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
47 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
48 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
49 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
51 inline StartMigrationRequest& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
52 inline StartMigrationRequest& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
54
56
60 inline const Aws::Vector<CustomerNodeEndpoint>& GetCustomerNodeEndpointList() const{ return m_customerNodeEndpointList; }
61 inline bool CustomerNodeEndpointListHasBeenSet() const { return m_customerNodeEndpointListHasBeenSet; }
62 inline void SetCustomerNodeEndpointList(const Aws::Vector<CustomerNodeEndpoint>& value) { m_customerNodeEndpointListHasBeenSet = true; m_customerNodeEndpointList = value; }
63 inline void SetCustomerNodeEndpointList(Aws::Vector<CustomerNodeEndpoint>&& value) { m_customerNodeEndpointListHasBeenSet = true; m_customerNodeEndpointList = std::move(value); }
66 inline StartMigrationRequest& AddCustomerNodeEndpointList(const CustomerNodeEndpoint& value) { m_customerNodeEndpointListHasBeenSet = true; m_customerNodeEndpointList.push_back(value); return *this; }
67 inline StartMigrationRequest& AddCustomerNodeEndpointList(CustomerNodeEndpoint&& value) { m_customerNodeEndpointListHasBeenSet = true; m_customerNodeEndpointList.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::String m_replicationGroupId;
72 bool m_replicationGroupIdHasBeenSet = false;
73
74 Aws::Vector<CustomerNodeEndpoint> m_customerNodeEndpointList;
75 bool m_customerNodeEndpointListHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ElastiCache
80} // namespace Aws
StartMigrationRequest & WithReplicationGroupId(const Aws::String &value)
StartMigrationRequest & AddCustomerNodeEndpointList(CustomerNodeEndpoint &&value)
const Aws::Vector< CustomerNodeEndpoint > & GetCustomerNodeEndpointList() const
StartMigrationRequest & WithCustomerNodeEndpointList(const Aws::Vector< CustomerNodeEndpoint > &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
StartMigrationRequest & WithReplicationGroupId(const char *value)
void SetCustomerNodeEndpointList(Aws::Vector< CustomerNodeEndpoint > &&value)
StartMigrationRequest & AddCustomerNodeEndpointList(const CustomerNodeEndpoint &value)
void SetCustomerNodeEndpointList(const Aws::Vector< CustomerNodeEndpoint > &value)
StartMigrationRequest & WithReplicationGroupId(Aws::String &&value)
StartMigrationRequest & WithCustomerNodeEndpointList(Aws::Vector< CustomerNodeEndpoint > &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
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