AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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