AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetryDataReplicationResult.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/SourceServerConnectorAction.h>
10#include <aws/mgn/model/DataReplicationInfo.h>
11#include <aws/mgn/model/LaunchedInstance.h>
12#include <aws/mgn/model/LifeCycle.h>
13#include <aws/mgn/model/ReplicationType.h>
14#include <aws/mgn/model/SourceProperties.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace mgn
31{
32namespace Model
33{
35 {
36 public:
40
41
43
46 inline const Aws::String& GetApplicationID() const{ return m_applicationID; }
47 inline void SetApplicationID(const Aws::String& value) { m_applicationID = value; }
48 inline void SetApplicationID(Aws::String&& value) { m_applicationID = std::move(value); }
49 inline void SetApplicationID(const char* value) { m_applicationID.assign(value); }
50 inline RetryDataReplicationResult& WithApplicationID(const Aws::String& value) { SetApplicationID(value); return *this;}
51 inline RetryDataReplicationResult& WithApplicationID(Aws::String&& value) { SetApplicationID(std::move(value)); return *this;}
52 inline RetryDataReplicationResult& WithApplicationID(const char* value) { SetApplicationID(value); return *this;}
54
56
59 inline const Aws::String& GetArn() const{ return m_arn; }
60 inline void SetArn(const Aws::String& value) { m_arn = value; }
61 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
62 inline void SetArn(const char* value) { m_arn.assign(value); }
63 inline RetryDataReplicationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 inline RetryDataReplicationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 inline RetryDataReplicationResult& WithArn(const char* value) { SetArn(value); return *this;}
67
69
72 inline const SourceServerConnectorAction& GetConnectorAction() const{ return m_connectorAction; }
73 inline void SetConnectorAction(const SourceServerConnectorAction& value) { m_connectorAction = value; }
74 inline void SetConnectorAction(SourceServerConnectorAction&& value) { m_connectorAction = std::move(value); }
78
80
83 inline const DataReplicationInfo& GetDataReplicationInfo() const{ return m_dataReplicationInfo; }
84 inline void SetDataReplicationInfo(const DataReplicationInfo& value) { m_dataReplicationInfo = value; }
85 inline void SetDataReplicationInfo(DataReplicationInfo&& value) { m_dataReplicationInfo = std::move(value); }
89
91
94 inline const Aws::String& GetFqdnForActionFramework() const{ return m_fqdnForActionFramework; }
95 inline void SetFqdnForActionFramework(const Aws::String& value) { m_fqdnForActionFramework = value; }
96 inline void SetFqdnForActionFramework(Aws::String&& value) { m_fqdnForActionFramework = std::move(value); }
97 inline void SetFqdnForActionFramework(const char* value) { m_fqdnForActionFramework.assign(value); }
100 inline RetryDataReplicationResult& WithFqdnForActionFramework(const char* value) { SetFqdnForActionFramework(value); return *this;}
102
104
107 inline bool GetIsArchived() const{ return m_isArchived; }
108 inline void SetIsArchived(bool value) { m_isArchived = value; }
109 inline RetryDataReplicationResult& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
111
113
116 inline const LaunchedInstance& GetLaunchedInstance() const{ return m_launchedInstance; }
117 inline void SetLaunchedInstance(const LaunchedInstance& value) { m_launchedInstance = value; }
118 inline void SetLaunchedInstance(LaunchedInstance&& value) { m_launchedInstance = std::move(value); }
120 inline RetryDataReplicationResult& WithLaunchedInstance(LaunchedInstance&& value) { SetLaunchedInstance(std::move(value)); return *this;}
122
124
127 inline const LifeCycle& GetLifeCycle() const{ return m_lifeCycle; }
128 inline void SetLifeCycle(const LifeCycle& value) { m_lifeCycle = value; }
129 inline void SetLifeCycle(LifeCycle&& value) { m_lifeCycle = std::move(value); }
130 inline RetryDataReplicationResult& WithLifeCycle(const LifeCycle& value) { SetLifeCycle(value); return *this;}
131 inline RetryDataReplicationResult& WithLifeCycle(LifeCycle&& value) { SetLifeCycle(std::move(value)); return *this;}
133
135
138 inline const ReplicationType& GetReplicationType() const{ return m_replicationType; }
139 inline void SetReplicationType(const ReplicationType& value) { m_replicationType = value; }
140 inline void SetReplicationType(ReplicationType&& value) { m_replicationType = std::move(value); }
142 inline RetryDataReplicationResult& WithReplicationType(ReplicationType&& value) { SetReplicationType(std::move(value)); return *this;}
144
146
149 inline const SourceProperties& GetSourceProperties() const{ return m_sourceProperties; }
150 inline void SetSourceProperties(const SourceProperties& value) { m_sourceProperties = value; }
151 inline void SetSourceProperties(SourceProperties&& value) { m_sourceProperties = std::move(value); }
153 inline RetryDataReplicationResult& WithSourceProperties(SourceProperties&& value) { SetSourceProperties(std::move(value)); return *this;}
155
157
160 inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; }
161 inline void SetSourceServerID(const Aws::String& value) { m_sourceServerID = value; }
162 inline void SetSourceServerID(Aws::String&& value) { m_sourceServerID = std::move(value); }
163 inline void SetSourceServerID(const char* value) { m_sourceServerID.assign(value); }
164 inline RetryDataReplicationResult& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;}
165 inline RetryDataReplicationResult& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
166 inline RetryDataReplicationResult& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;}
168
170
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
174 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
175 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
177 inline RetryDataReplicationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
178 inline RetryDataReplicationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
179 inline RetryDataReplicationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
180 inline RetryDataReplicationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
181 inline RetryDataReplicationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
182 inline RetryDataReplicationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
183 inline RetryDataReplicationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
184 inline RetryDataReplicationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
186
188
191 inline const Aws::String& GetUserProvidedID() const{ return m_userProvidedID; }
192 inline void SetUserProvidedID(const Aws::String& value) { m_userProvidedID = value; }
193 inline void SetUserProvidedID(Aws::String&& value) { m_userProvidedID = std::move(value); }
194 inline void SetUserProvidedID(const char* value) { m_userProvidedID.assign(value); }
195 inline RetryDataReplicationResult& WithUserProvidedID(const Aws::String& value) { SetUserProvidedID(value); return *this;}
196 inline RetryDataReplicationResult& WithUserProvidedID(Aws::String&& value) { SetUserProvidedID(std::move(value)); return *this;}
197 inline RetryDataReplicationResult& WithUserProvidedID(const char* value) { SetUserProvidedID(value); return *this;}
199
201
204 inline const Aws::String& GetVcenterClientID() const{ return m_vcenterClientID; }
205 inline void SetVcenterClientID(const Aws::String& value) { m_vcenterClientID = value; }
206 inline void SetVcenterClientID(Aws::String&& value) { m_vcenterClientID = std::move(value); }
207 inline void SetVcenterClientID(const char* value) { m_vcenterClientID.assign(value); }
209 inline RetryDataReplicationResult& WithVcenterClientID(Aws::String&& value) { SetVcenterClientID(std::move(value)); return *this;}
210 inline RetryDataReplicationResult& WithVcenterClientID(const char* value) { SetVcenterClientID(value); return *this;}
212
214
215 inline const Aws::String& GetRequestId() const{ return m_requestId; }
216 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
217 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
218 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
219 inline RetryDataReplicationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
220 inline RetryDataReplicationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
221 inline RetryDataReplicationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
223 private:
224
225 Aws::String m_applicationID;
226
227 Aws::String m_arn;
228
229 SourceServerConnectorAction m_connectorAction;
230
231 DataReplicationInfo m_dataReplicationInfo;
232
233 Aws::String m_fqdnForActionFramework;
234
235 bool m_isArchived;
236
237 LaunchedInstance m_launchedInstance;
238
239 LifeCycle m_lifeCycle;
240
241 ReplicationType m_replicationType;
242
243 SourceProperties m_sourceProperties;
244
245 Aws::String m_sourceServerID;
246
248
249 Aws::String m_userProvidedID;
250
251 Aws::String m_vcenterClientID;
252
253 Aws::String m_requestId;
254 };
255
256} // namespace Model
257} // namespace mgn
258} // namespace Aws
void SetConnectorAction(SourceServerConnectorAction &&value)
RetryDataReplicationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
RetryDataReplicationResult & WithVcenterClientID(Aws::String &&value)
RetryDataReplicationResult & AddTags(const Aws::String &key, Aws::String &&value)
RetryDataReplicationResult & WithApplicationID(const Aws::String &value)
RetryDataReplicationResult & WithLaunchedInstance(const LaunchedInstance &value)
RetryDataReplicationResult & AddTags(Aws::String &&key, const char *value)
RetryDataReplicationResult & WithSourceServerID(const Aws::String &value)
RetryDataReplicationResult & WithFqdnForActionFramework(const Aws::String &value)
RetryDataReplicationResult & WithSourceServerID(const char *value)
RetryDataReplicationResult & WithVcenterClientID(const char *value)
RetryDataReplicationResult & WithConnectorAction(const SourceServerConnectorAction &value)
RetryDataReplicationResult & WithDataReplicationInfo(DataReplicationInfo &&value)
AWS_MGN_API RetryDataReplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDataReplicationInfo(const DataReplicationInfo &value)
RetryDataReplicationResult & WithApplicationID(const char *value)
RetryDataReplicationResult & WithConnectorAction(SourceServerConnectorAction &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RetryDataReplicationResult & WithSourceServerID(Aws::String &&value)
RetryDataReplicationResult & WithDataReplicationInfo(const DataReplicationInfo &value)
const SourceServerConnectorAction & GetConnectorAction() const
RetryDataReplicationResult & WithArn(Aws::String &&value)
RetryDataReplicationResult & WithReplicationType(const ReplicationType &value)
RetryDataReplicationResult & WithFqdnForActionFramework(const char *value)
RetryDataReplicationResult & AddTags(Aws::String &&key, const Aws::String &value)
RetryDataReplicationResult & WithUserProvidedID(Aws::String &&value)
RetryDataReplicationResult & WithRequestId(const char *value)
RetryDataReplicationResult & WithSourceProperties(SourceProperties &&value)
RetryDataReplicationResult & WithRequestId(const Aws::String &value)
RetryDataReplicationResult & WithFqdnForActionFramework(Aws::String &&value)
RetryDataReplicationResult & WithLaunchedInstance(LaunchedInstance &&value)
RetryDataReplicationResult & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RetryDataReplicationResult & WithIsArchived(bool value)
RetryDataReplicationResult & AddTags(const char *key, Aws::String &&value)
void SetLaunchedInstance(const LaunchedInstance &value)
void SetSourceProperties(const SourceProperties &value)
RetryDataReplicationResult & WithVcenterClientID(const Aws::String &value)
void SetConnectorAction(const SourceServerConnectorAction &value)
RetryDataReplicationResult & WithUserProvidedID(const char *value)
RetryDataReplicationResult & AddTags(Aws::String &&key, Aws::String &&value)
AWS_MGN_API RetryDataReplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetReplicationType(const ReplicationType &value)
RetryDataReplicationResult & WithArn(const Aws::String &value)
RetryDataReplicationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetDataReplicationInfo(DataReplicationInfo &&value)
RetryDataReplicationResult & WithLifeCycle(const LifeCycle &value)
RetryDataReplicationResult & WithReplicationType(ReplicationType &&value)
RetryDataReplicationResult & WithRequestId(Aws::String &&value)
RetryDataReplicationResult & WithApplicationID(Aws::String &&value)
RetryDataReplicationResult & AddTags(const char *key, const char *value)
RetryDataReplicationResult & WithArn(const char *value)
const DataReplicationInfo & GetDataReplicationInfo() const
RetryDataReplicationResult & WithUserProvidedID(const Aws::String &value)
RetryDataReplicationResult & WithSourceProperties(const SourceProperties &value)
RetryDataReplicationResult & WithLifeCycle(LifeCycle &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue