AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TestMigrationRequest.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 TestMigrationRequest();
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 "TestMigration"; }
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 TestMigrationRequest& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
52 inline TestMigrationRequest& 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 TestMigrationRequest& AddCustomerNodeEndpointList(const CustomerNodeEndpoint& value) { m_customerNodeEndpointListHasBeenSet = true; m_customerNodeEndpointList.push_back(value); return *this; }
67 inline TestMigrationRequest& 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
TestMigrationRequest & WithCustomerNodeEndpointList(Aws::Vector< CustomerNodeEndpoint > &&value)
const Aws::Vector< CustomerNodeEndpoint > & GetCustomerNodeEndpointList() const
TestMigrationRequest & AddCustomerNodeEndpointList(const CustomerNodeEndpoint &value)
TestMigrationRequest & WithReplicationGroupId(Aws::String &&value)
TestMigrationRequest & WithCustomerNodeEndpointList(const Aws::Vector< CustomerNodeEndpoint > &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
void SetCustomerNodeEndpointList(Aws::Vector< CustomerNodeEndpoint > &&value)
TestMigrationRequest & WithReplicationGroupId(const Aws::String &value)
TestMigrationRequest & AddCustomerNodeEndpointList(CustomerNodeEndpoint &&value)
void SetCustomerNodeEndpointList(const Aws::Vector< CustomerNodeEndpoint > &value)
void SetReplicationGroupId(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
TestMigrationRequest & WithReplicationGroupId(const char *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