7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/Mgn_EXPORTS.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/mgn/model/SourceServerConnectorAction.h>
42 template <
typename SourceServerIDT = Aws::String>
44 m_sourceServerIDHasBeenSet =
true;
45 m_sourceServerID = std::forward<SourceServerIDT>(value);
47 template <
typename SourceServerIDT = Aws::String>
60 template <
typename ArnT = Aws::String>
62 m_arnHasBeenSet =
true;
63 m_arn = std::forward<ArnT>(value);
65 template <
typename ArnT = Aws::String>
67 SetArn(std::forward<ArnT>(value));
79 m_isArchivedHasBeenSet =
true;
94 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
96 m_tagsHasBeenSet =
true;
97 m_tags = std::forward<TagsT>(value);
99 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
101 SetTags(std::forward<TagsT>(value));
104 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
106 m_tagsHasBeenSet =
true;
107 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
118 template <
typename LaunchedInstanceT = LaunchedInstance>
120 m_launchedInstanceHasBeenSet =
true;
121 m_launchedInstance = std::forward<LaunchedInstanceT>(value);
123 template <
typename LaunchedInstanceT = LaunchedInstance>
136 template <
typename DataReplicationInfoT = DataReplicationInfo>
138 m_dataReplicationInfoHasBeenSet =
true;
139 m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value);
141 template <
typename DataReplicationInfoT = DataReplicationInfo>
154 template <
typename LifeCycleT = LifeCycle>
156 m_lifeCycleHasBeenSet =
true;
157 m_lifeCycle = std::forward<LifeCycleT>(value);
159 template <
typename LifeCycleT = LifeCycle>
172 template <
typename SourcePropertiesT = SourceProperties>
174 m_sourcePropertiesHasBeenSet =
true;
175 m_sourceProperties = std::forward<SourcePropertiesT>(value);
177 template <
typename SourcePropertiesT = SourceProperties>
191 m_replicationTypeHasBeenSet =
true;
192 m_replicationType = value;
206 template <
typename VcenterClientIDT = Aws::String>
208 m_vcenterClientIDHasBeenSet =
true;
209 m_vcenterClientID = std::forward<VcenterClientIDT>(value);
211 template <
typename VcenterClientIDT = Aws::String>
224 template <
typename ApplicationIDT = Aws::String>
226 m_applicationIDHasBeenSet =
true;
227 m_applicationID = std::forward<ApplicationIDT>(value);
229 template <
typename ApplicationIDT = Aws::String>
242 template <
typename UserProv
idedIDT = Aws::String>
244 m_userProvidedIDHasBeenSet =
true;
245 m_userProvidedID = std::forward<UserProvidedIDT>(value);
247 template <
typename UserProv
idedIDT = Aws::String>
260 template <
typename FqdnForActionFrameworkT = Aws::String>
262 m_fqdnForActionFrameworkHasBeenSet =
true;
263 m_fqdnForActionFramework = std::forward<FqdnForActionFrameworkT>(value);
265 template <
typename FqdnForActionFrameworkT = Aws::String>
278 template <
typename ConnectorActionT = SourceServerConnectorAction>
280 m_connectorActionHasBeenSet =
true;
281 m_connectorAction = std::forward<ConnectorActionT>(value);
283 template <
typename ConnectorActionT = SourceServerConnectorAction>
294 template <
typename RequestIdT = Aws::String>
296 m_requestIdHasBeenSet =
true;
297 m_requestId = std::forward<RequestIdT>(value);
299 template <
typename RequestIdT = Aws::String>
310 bool m_isArchived{
false};
314 LaunchedInstance m_launchedInstance;
316 DataReplicationInfo m_dataReplicationInfo;
318 LifeCycle m_lifeCycle;
320 SourceProperties m_sourceProperties;
332 SourceServerConnectorAction m_connectorAction;
335 bool m_sourceServerIDHasBeenSet =
false;
336 bool m_arnHasBeenSet =
false;
337 bool m_isArchivedHasBeenSet =
false;
338 bool m_tagsHasBeenSet =
false;
339 bool m_launchedInstanceHasBeenSet =
false;
340 bool m_dataReplicationInfoHasBeenSet =
false;
341 bool m_lifeCycleHasBeenSet =
false;
342 bool m_sourcePropertiesHasBeenSet =
false;
343 bool m_replicationTypeHasBeenSet =
false;
344 bool m_vcenterClientIDHasBeenSet =
false;
345 bool m_applicationIDHasBeenSet =
false;
346 bool m_userProvidedIDHasBeenSet =
false;
347 bool m_fqdnForActionFrameworkHasBeenSet =
false;
348 bool m_connectorActionHasBeenSet =
false;
349 bool m_requestIdHasBeenSet =
false;
SourceServer & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetApplicationID(ApplicationIDT &&value)
void SetLaunchedInstance(LaunchedInstanceT &&value)
bool GetIsArchived() const
SourceServer & WithApplicationID(ApplicationIDT &&value)
void SetRequestId(RequestIdT &&value)
void SetUserProvidedID(UserProvidedIDT &&value)
void SetIsArchived(bool value)
SourceServer & WithDataReplicationInfo(DataReplicationInfoT &&value)
bool FqdnForActionFrameworkHasBeenSet() const
bool TagsHasBeenSet() const
ReplicationType GetReplicationType() const
const Aws::String & GetSourceServerID() const
bool SourceServerIDHasBeenSet() const
SourceServer & WithSourceServerID(SourceServerIDT &&value)
SourceServer & WithConnectorAction(ConnectorActionT &&value)
bool LaunchedInstanceHasBeenSet() const
const Aws::String & GetFqdnForActionFramework() const
SourceServer & WithLifeCycle(LifeCycleT &&value)
void SetReplicationType(ReplicationType value)
AWS_MGN_API SourceServer(Aws::Utils::Json::JsonView jsonValue)
bool SourcePropertiesHasBeenSet() const
bool RequestIdHasBeenSet() const
const Aws::String & GetArn() const
bool UserProvidedIDHasBeenSet() const
SourceServer & WithFqdnForActionFramework(FqdnForActionFrameworkT &&value)
const Aws::String & GetApplicationID() const
void SetDataReplicationInfo(DataReplicationInfoT &&value)
SourceServer & WithUserProvidedID(UserProvidedIDT &&value)
const DataReplicationInfo & GetDataReplicationInfo() const
SourceServer & WithIsArchived(bool value)
void SetSourceProperties(SourcePropertiesT &&value)
bool IsArchivedHasBeenSet() const
void SetConnectorAction(ConnectorActionT &&value)
void SetVcenterClientID(VcenterClientIDT &&value)
bool ArnHasBeenSet() const
bool VcenterClientIDHasBeenSet() const
SourceServer & WithLaunchedInstance(LaunchedInstanceT &&value)
bool ApplicationIDHasBeenSet() const
void SetLifeCycle(LifeCycleT &&value)
bool LifeCycleHasBeenSet() const
SourceServer & WithReplicationType(ReplicationType value)
bool ConnectorActionHasBeenSet() const
void SetTags(TagsT &&value)
const Aws::String & GetRequestId() const
AWS_MGN_API SourceServer()=default
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFqdnForActionFramework(FqdnForActionFrameworkT &&value)
void SetArn(ArnT &&value)
AWS_MGN_API SourceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserProvidedID() const
const SourceProperties & GetSourceProperties() const
void SetSourceServerID(SourceServerIDT &&value)
const LifeCycle & GetLifeCycle() const
SourceServer & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SourceServer & WithVcenterClientID(VcenterClientIDT &&value)
const LaunchedInstance & GetLaunchedInstance() const
const SourceServerConnectorAction & GetConnectorAction() const
SourceServer & WithArn(ArnT &&value)
const Aws::String & GetVcenterClientID() const
bool ReplicationTypeHasBeenSet() const
SourceServer & WithRequestId(RequestIdT &&value)
bool DataReplicationInfoHasBeenSet() const
SourceServer & WithSourceProperties(SourcePropertiesT &&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