AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicateInstanceRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API ReplicateInstanceRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ReplicateInstance"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline ReplicateInstanceRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline ReplicateInstanceRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline ReplicateInstanceRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
58 inline const Aws::String& GetReplicaRegion() const{ return m_replicaRegion; }
59 inline bool ReplicaRegionHasBeenSet() const { return m_replicaRegionHasBeenSet; }
60 inline void SetReplicaRegion(const Aws::String& value) { m_replicaRegionHasBeenSet = true; m_replicaRegion = value; }
61 inline void SetReplicaRegion(Aws::String&& value) { m_replicaRegionHasBeenSet = true; m_replicaRegion = std::move(value); }
62 inline void SetReplicaRegion(const char* value) { m_replicaRegionHasBeenSet = true; m_replicaRegion.assign(value); }
63 inline ReplicateInstanceRequest& WithReplicaRegion(const Aws::String& value) { SetReplicaRegion(value); return *this;}
64 inline ReplicateInstanceRequest& WithReplicaRegion(Aws::String&& value) { SetReplicaRegion(std::move(value)); return *this;}
65 inline ReplicateInstanceRequest& WithReplicaRegion(const char* value) { SetReplicaRegion(value); return *this;}
67
69
76 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
79 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
80 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
81 inline ReplicateInstanceRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
82 inline ReplicateInstanceRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
83 inline ReplicateInstanceRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
85
87
91 inline const Aws::String& GetReplicaAlias() const{ return m_replicaAlias; }
92 inline bool ReplicaAliasHasBeenSet() const { return m_replicaAliasHasBeenSet; }
93 inline void SetReplicaAlias(const Aws::String& value) { m_replicaAliasHasBeenSet = true; m_replicaAlias = value; }
94 inline void SetReplicaAlias(Aws::String&& value) { m_replicaAliasHasBeenSet = true; m_replicaAlias = std::move(value); }
95 inline void SetReplicaAlias(const char* value) { m_replicaAliasHasBeenSet = true; m_replicaAlias.assign(value); }
96 inline ReplicateInstanceRequest& WithReplicaAlias(const Aws::String& value) { SetReplicaAlias(value); return *this;}
97 inline ReplicateInstanceRequest& WithReplicaAlias(Aws::String&& value) { SetReplicaAlias(std::move(value)); return *this;}
98 inline ReplicateInstanceRequest& WithReplicaAlias(const char* value) { SetReplicaAlias(value); return *this;}
100 private:
101
102 Aws::String m_instanceId;
103 bool m_instanceIdHasBeenSet = false;
104
105 Aws::String m_replicaRegion;
106 bool m_replicaRegionHasBeenSet = false;
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110
111 Aws::String m_replicaAlias;
112 bool m_replicaAliasHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Connect
117} // namespace Aws
ReplicateInstanceRequest & WithInstanceId(const char *value)
ReplicateInstanceRequest & WithReplicaAlias(const char *value)
ReplicateInstanceRequest & WithReplicaRegion(Aws::String &&value)
ReplicateInstanceRequest & WithClientToken(Aws::String &&value)
ReplicateInstanceRequest & WithClientToken(const char *value)
ReplicateInstanceRequest & WithInstanceId(const Aws::String &value)
ReplicateInstanceRequest & WithReplicaAlias(const Aws::String &value)
ReplicateInstanceRequest & WithReplicaAlias(Aws::String &&value)
ReplicateInstanceRequest & WithReplicaRegion(const Aws::String &value)
ReplicateInstanceRequest & WithReplicaRegion(const char *value)
ReplicateInstanceRequest & WithClientToken(const Aws::String &value)
ReplicateInstanceRequest & WithInstanceId(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String