AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
40
41
43
46 inline const Aws::String& GetApplicationID() const { return m_applicationID; }
47 template<typename ApplicationIDT = Aws::String>
48 void SetApplicationID(ApplicationIDT&& value) { m_applicationIDHasBeenSet = true; m_applicationID = std::forward<ApplicationIDT>(value); }
49 template<typename ApplicationIDT = Aws::String>
50 MarkAsArchivedResult& WithApplicationID(ApplicationIDT&& value) { SetApplicationID(std::forward<ApplicationIDT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 MarkAsArchivedResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline const SourceServerConnectorAction& GetConnectorAction() const { return m_connectorAction; }
69 template<typename ConnectorActionT = SourceServerConnectorAction>
70 void SetConnectorAction(ConnectorActionT&& value) { m_connectorActionHasBeenSet = true; m_connectorAction = std::forward<ConnectorActionT>(value); }
71 template<typename ConnectorActionT = SourceServerConnectorAction>
72 MarkAsArchivedResult& WithConnectorAction(ConnectorActionT&& value) { SetConnectorAction(std::forward<ConnectorActionT>(value)); return *this;}
74
76
79 inline const DataReplicationInfo& GetDataReplicationInfo() const { return m_dataReplicationInfo; }
80 template<typename DataReplicationInfoT = DataReplicationInfo>
81 void SetDataReplicationInfo(DataReplicationInfoT&& value) { m_dataReplicationInfoHasBeenSet = true; m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value); }
82 template<typename DataReplicationInfoT = DataReplicationInfo>
83 MarkAsArchivedResult& WithDataReplicationInfo(DataReplicationInfoT&& value) { SetDataReplicationInfo(std::forward<DataReplicationInfoT>(value)); return *this;}
85
87
90 inline const Aws::String& GetFqdnForActionFramework() const { return m_fqdnForActionFramework; }
91 template<typename FqdnForActionFrameworkT = Aws::String>
92 void SetFqdnForActionFramework(FqdnForActionFrameworkT&& value) { m_fqdnForActionFrameworkHasBeenSet = true; m_fqdnForActionFramework = std::forward<FqdnForActionFrameworkT>(value); }
93 template<typename FqdnForActionFrameworkT = Aws::String>
94 MarkAsArchivedResult& WithFqdnForActionFramework(FqdnForActionFrameworkT&& value) { SetFqdnForActionFramework(std::forward<FqdnForActionFrameworkT>(value)); return *this;}
96
98
101 inline bool GetIsArchived() const { return m_isArchived; }
102 inline void SetIsArchived(bool value) { m_isArchivedHasBeenSet = true; m_isArchived = value; }
103 inline MarkAsArchivedResult& WithIsArchived(bool value) { SetIsArchived(value); return *this;}
105
107
110 inline const LaunchedInstance& GetLaunchedInstance() const { return m_launchedInstance; }
111 template<typename LaunchedInstanceT = LaunchedInstance>
112 void SetLaunchedInstance(LaunchedInstanceT&& value) { m_launchedInstanceHasBeenSet = true; m_launchedInstance = std::forward<LaunchedInstanceT>(value); }
113 template<typename LaunchedInstanceT = LaunchedInstance>
114 MarkAsArchivedResult& WithLaunchedInstance(LaunchedInstanceT&& value) { SetLaunchedInstance(std::forward<LaunchedInstanceT>(value)); return *this;}
116
118
121 inline const LifeCycle& GetLifeCycle() const { return m_lifeCycle; }
122 template<typename LifeCycleT = LifeCycle>
123 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet = true; m_lifeCycle = std::forward<LifeCycleT>(value); }
124 template<typename LifeCycleT = LifeCycle>
125 MarkAsArchivedResult& WithLifeCycle(LifeCycleT&& value) { SetLifeCycle(std::forward<LifeCycleT>(value)); return *this;}
127
129
132 inline ReplicationType GetReplicationType() const { return m_replicationType; }
133 inline void SetReplicationType(ReplicationType value) { m_replicationTypeHasBeenSet = true; m_replicationType = value; }
136
138
141 inline const SourceProperties& GetSourceProperties() const { return m_sourceProperties; }
142 template<typename SourcePropertiesT = SourceProperties>
143 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet = true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
144 template<typename SourcePropertiesT = SourceProperties>
145 MarkAsArchivedResult& WithSourceProperties(SourcePropertiesT&& value) { SetSourceProperties(std::forward<SourcePropertiesT>(value)); return *this;}
147
149
152 inline const Aws::String& GetSourceServerID() const { return m_sourceServerID; }
153 template<typename SourceServerIDT = Aws::String>
154 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
155 template<typename SourceServerIDT = Aws::String>
156 MarkAsArchivedResult& WithSourceServerID(SourceServerIDT&& value) { SetSourceServerID(std::forward<SourceServerIDT>(value)); return *this;}
158
160
163 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
164 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
165 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
166 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 MarkAsArchivedResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
168 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
169 MarkAsArchivedResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
170 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
171 }
173
175
178 inline const Aws::String& GetUserProvidedID() const { return m_userProvidedID; }
179 template<typename UserProvidedIDT = Aws::String>
180 void SetUserProvidedID(UserProvidedIDT&& value) { m_userProvidedIDHasBeenSet = true; m_userProvidedID = std::forward<UserProvidedIDT>(value); }
181 template<typename UserProvidedIDT = Aws::String>
182 MarkAsArchivedResult& WithUserProvidedID(UserProvidedIDT&& value) { SetUserProvidedID(std::forward<UserProvidedIDT>(value)); return *this;}
184
186
189 inline const Aws::String& GetVcenterClientID() const { return m_vcenterClientID; }
190 template<typename VcenterClientIDT = Aws::String>
191 void SetVcenterClientID(VcenterClientIDT&& value) { m_vcenterClientIDHasBeenSet = true; m_vcenterClientID = std::forward<VcenterClientIDT>(value); }
192 template<typename VcenterClientIDT = Aws::String>
193 MarkAsArchivedResult& WithVcenterClientID(VcenterClientIDT&& value) { SetVcenterClientID(std::forward<VcenterClientIDT>(value)); return *this;}
195
197
198 inline const Aws::String& GetRequestId() const { return m_requestId; }
199 template<typename RequestIdT = Aws::String>
200 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
201 template<typename RequestIdT = Aws::String>
202 MarkAsArchivedResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
204 private:
205
206 Aws::String m_applicationID;
207 bool m_applicationIDHasBeenSet = false;
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211
212 SourceServerConnectorAction m_connectorAction;
213 bool m_connectorActionHasBeenSet = false;
214
215 DataReplicationInfo m_dataReplicationInfo;
216 bool m_dataReplicationInfoHasBeenSet = false;
217
218 Aws::String m_fqdnForActionFramework;
219 bool m_fqdnForActionFrameworkHasBeenSet = false;
220
221 bool m_isArchived{false};
222 bool m_isArchivedHasBeenSet = false;
223
224 LaunchedInstance m_launchedInstance;
225 bool m_launchedInstanceHasBeenSet = false;
226
227 LifeCycle m_lifeCycle;
228 bool m_lifeCycleHasBeenSet = false;
229
230 ReplicationType m_replicationType{ReplicationType::NOT_SET};
231 bool m_replicationTypeHasBeenSet = false;
232
233 SourceProperties m_sourceProperties;
234 bool m_sourcePropertiesHasBeenSet = false;
235
236 Aws::String m_sourceServerID;
237 bool m_sourceServerIDHasBeenSet = false;
238
240 bool m_tagsHasBeenSet = false;
241
242 Aws::String m_userProvidedID;
243 bool m_userProvidedIDHasBeenSet = false;
244
245 Aws::String m_vcenterClientID;
246 bool m_vcenterClientIDHasBeenSet = false;
247
248 Aws::String m_requestId;
249 bool m_requestIdHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace mgn
254} // namespace Aws
MarkAsArchivedResult & WithArn(ArnT &&value)
const LaunchedInstance & GetLaunchedInstance() const
const SourceServerConnectorAction & GetConnectorAction() const
MarkAsArchivedResult & WithApplicationID(ApplicationIDT &&value)
MarkAsArchivedResult & WithRequestId(RequestIdT &&value)
void SetReplicationType(ReplicationType value)
const Aws::String & GetUserProvidedID() const
MarkAsArchivedResult & WithLifeCycle(LifeCycleT &&value)
void SetSourceServerID(SourceServerIDT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetFqdnForActionFramework() const
const Aws::String & GetSourceServerID() const
void SetLaunchedInstance(LaunchedInstanceT &&value)
void SetDataReplicationInfo(DataReplicationInfoT &&value)
MarkAsArchivedResult & WithVcenterClientID(VcenterClientIDT &&value)
void SetSourceProperties(SourcePropertiesT &&value)
MarkAsArchivedResult & WithLaunchedInstance(LaunchedInstanceT &&value)
void SetConnectorAction(ConnectorActionT &&value)
AWS_MGN_API MarkAsArchivedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MarkAsArchivedResult & WithTags(TagsT &&value)
MarkAsArchivedResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
MarkAsArchivedResult & WithIsArchived(bool value)
AWS_MGN_API MarkAsArchivedResult()=default
const Aws::String & GetApplicationID() const
const SourceProperties & GetSourceProperties() const
MarkAsArchivedResult & WithSourceProperties(SourcePropertiesT &&value)
void SetUserProvidedID(UserProvidedIDT &&value)
MarkAsArchivedResult & WithFqdnForActionFramework(FqdnForActionFrameworkT &&value)
MarkAsArchivedResult & WithReplicationType(ReplicationType value)
MarkAsArchivedResult & WithDataReplicationInfo(DataReplicationInfoT &&value)
MarkAsArchivedResult & WithUserProvidedID(UserProvidedIDT &&value)
const DataReplicationInfo & GetDataReplicationInfo() const
MarkAsArchivedResult & WithConnectorAction(ConnectorActionT &&value)
void SetVcenterClientID(VcenterClientIDT &&value)
void SetFqdnForActionFramework(FqdnForActionFrameworkT &&value)
MarkAsArchivedResult & WithSourceServerID(SourceServerIDT &&value)
AWS_MGN_API MarkAsArchivedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetVcenterClientID() const
void SetApplicationID(ApplicationIDT &&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