AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisconnectFromServiceResult.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 DisconnectFromServiceResult& WithApplicationID(const Aws::String& value) { SetApplicationID(value); return *this;}
51 inline DisconnectFromServiceResult& WithApplicationID(Aws::String&& value) { SetApplicationID(std::move(value)); return *this;}
52 inline DisconnectFromServiceResult& 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 DisconnectFromServiceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
64 inline DisconnectFromServiceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
65 inline DisconnectFromServiceResult& 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 DisconnectFromServiceResult& 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 DisconnectFromServiceResult& 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); }
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 DisconnectFromServiceResult& WithLifeCycle(const LifeCycle& value) { SetLifeCycle(value); return *this;}
131 inline DisconnectFromServiceResult& 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 DisconnectFromServiceResult& 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); }
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); }
165 inline DisconnectFromServiceResult& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;}
166 inline DisconnectFromServiceResult& 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 DisconnectFromServiceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
178 inline DisconnectFromServiceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
179 inline DisconnectFromServiceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
180 inline DisconnectFromServiceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
181 inline DisconnectFromServiceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
182 inline DisconnectFromServiceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
183 inline DisconnectFromServiceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
184 inline DisconnectFromServiceResult& 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); }
196 inline DisconnectFromServiceResult& WithUserProvidedID(Aws::String&& value) { SetUserProvidedID(std::move(value)); return *this;}
197 inline DisconnectFromServiceResult& 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 DisconnectFromServiceResult& WithVcenterClientID(Aws::String&& value) { SetVcenterClientID(std::move(value)); return *this;}
210 inline DisconnectFromServiceResult& 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 DisconnectFromServiceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
220 inline DisconnectFromServiceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
221 inline DisconnectFromServiceResult& 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
const SourceServerConnectorAction & GetConnectorAction() const
DisconnectFromServiceResult & AddTags(const Aws::String &key, const Aws::String &value)
DisconnectFromServiceResult & WithUserProvidedID(const char *value)
void SetLaunchedInstance(const LaunchedInstance &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DisconnectFromServiceResult & WithDataReplicationInfo(const DataReplicationInfo &value)
DisconnectFromServiceResult & WithIsArchived(bool value)
DisconnectFromServiceResult & WithSourceServerID(const Aws::String &value)
DisconnectFromServiceResult & WithConnectorAction(const SourceServerConnectorAction &value)
DisconnectFromServiceResult & AddTags(const char *key, Aws::String &&value)
DisconnectFromServiceResult & WithRequestId(const Aws::String &value)
DisconnectFromServiceResult & WithReplicationType(const ReplicationType &value)
DisconnectFromServiceResult & WithDataReplicationInfo(DataReplicationInfo &&value)
DisconnectFromServiceResult & WithUserProvidedID(Aws::String &&value)
AWS_MGN_API DisconnectFromServiceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisconnectFromServiceResult & WithSourceServerID(Aws::String &&value)
DisconnectFromServiceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DisconnectFromServiceResult & WithArn(const Aws::String &value)
DisconnectFromServiceResult & WithApplicationID(const char *value)
DisconnectFromServiceResult & WithSourceProperties(SourceProperties &&value)
DisconnectFromServiceResult & WithApplicationID(const Aws::String &value)
void SetDataReplicationInfo(DataReplicationInfo &&value)
DisconnectFromServiceResult & WithLifeCycle(const LifeCycle &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSourceProperties(const SourceProperties &value)
DisconnectFromServiceResult & AddTags(const char *key, const char *value)
DisconnectFromServiceResult & WithRequestId(Aws::String &&value)
DisconnectFromServiceResult & WithFqdnForActionFramework(const char *value)
DisconnectFromServiceResult & WithReplicationType(ReplicationType &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DisconnectFromServiceResult & WithRequestId(const char *value)
DisconnectFromServiceResult & WithVcenterClientID(Aws::String &&value)
const DataReplicationInfo & GetDataReplicationInfo() const
DisconnectFromServiceResult & WithArn(const char *value)
DisconnectFromServiceResult & WithApplicationID(Aws::String &&value)
DisconnectFromServiceResult & WithSourceServerID(const char *value)
DisconnectFromServiceResult & WithArn(Aws::String &&value)
DisconnectFromServiceResult & WithUserProvidedID(const Aws::String &value)
DisconnectFromServiceResult & WithLifeCycle(LifeCycle &&value)
DisconnectFromServiceResult & AddTags(Aws::String &&key, const Aws::String &value)
DisconnectFromServiceResult & WithVcenterClientID(const Aws::String &value)
DisconnectFromServiceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DisconnectFromServiceResult & WithConnectorAction(SourceServerConnectorAction &&value)
AWS_MGN_API DisconnectFromServiceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DisconnectFromServiceResult & AddTags(Aws::String &&key, Aws::String &&value)
DisconnectFromServiceResult & WithFqdnForActionFramework(const Aws::String &value)
DisconnectFromServiceResult & WithLaunchedInstance(const LaunchedInstance &value)
DisconnectFromServiceResult & WithVcenterClientID(const char *value)
void SetDataReplicationInfo(const DataReplicationInfo &value)
void SetConnectorAction(SourceServerConnectorAction &&value)
void SetConnectorAction(const SourceServerConnectorAction &value)
DisconnectFromServiceResult & WithLaunchedInstance(LaunchedInstance &&value)
DisconnectFromServiceResult & WithSourceProperties(const SourceProperties &value)
DisconnectFromServiceResult & AddTags(const Aws::String &key, Aws::String &&value)
DisconnectFromServiceResult & WithFqdnForActionFramework(Aws::String &&value)
DisconnectFromServiceResult & AddTags(Aws::String &&key, const char *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