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>
48 template<
typename ApplicationIDT = Aws::String>
49 void SetApplicationID(ApplicationIDT&& value) { m_applicationIDHasBeenSet =
true; m_applicationID = std::forward<ApplicationIDT>(value); }
50 template<
typename ApplicationIDT = Aws::String>
60 template<
typename ArnT = Aws::String>
61 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
62 template<
typename ArnT = Aws::String>
72 template<
typename ConnectorActionT = SourceServerConnectorAction>
73 void SetConnectorAction(ConnectorActionT&& value) { m_connectorActionHasBeenSet =
true; m_connectorAction = std::forward<ConnectorActionT>(value); }
74 template<
typename ConnectorActionT = SourceServerConnectorAction>
84 template<
typename DataReplicationInfoT = DataReplicationInfo>
85 void SetDataReplicationInfo(DataReplicationInfoT&& value) { m_dataReplicationInfoHasBeenSet =
true; m_dataReplicationInfo = std::forward<DataReplicationInfoT>(value); }
86 template<
typename DataReplicationInfoT = DataReplicationInfo>
96 template<
typename FqdnForActionFrameworkT = Aws::String>
97 void SetFqdnForActionFramework(FqdnForActionFrameworkT&& value) { m_fqdnForActionFrameworkHasBeenSet =
true; m_fqdnForActionFramework = std::forward<FqdnForActionFrameworkT>(value); }
98 template<
typename FqdnForActionFrameworkT = Aws::String>
108 inline void SetIsArchived(
bool value) { m_isArchivedHasBeenSet =
true; m_isArchived = value; }
118 template<
typename LaunchedInstanceT = LaunchedInstance>
119 void SetLaunchedInstance(LaunchedInstanceT&& value) { m_launchedInstanceHasBeenSet =
true; m_launchedInstance = std::forward<LaunchedInstanceT>(value); }
120 template<
typename LaunchedInstanceT = LaunchedInstance>
130 template<
typename LifeCycleT = LifeCycle>
131 void SetLifeCycle(LifeCycleT&& value) { m_lifeCycleHasBeenSet =
true; m_lifeCycle = std::forward<LifeCycleT>(value); }
132 template<
typename LifeCycleT = LifeCycle>
152 template<
typename SourcePropertiesT = SourceProperties>
153 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet =
true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
154 template<
typename SourcePropertiesT = SourceProperties>
164 template<
typename SourceServerIDT = Aws::String>
165 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
166 template<
typename SourceServerIDT = Aws::String>
176 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
177 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
178 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
180 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
182 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
192 template<
typename UserProv
idedIDT = Aws::String>
193 void SetUserProvidedID(UserProvidedIDT&& value) { m_userProvidedIDHasBeenSet =
true; m_userProvidedID = std::forward<UserProvidedIDT>(value); }
194 template<
typename UserProv
idedIDT = Aws::String>
204 template<
typename VcenterClientIDT = Aws::String>
205 void SetVcenterClientID(VcenterClientIDT&& value) { m_vcenterClientIDHasBeenSet =
true; m_vcenterClientID = std::forward<VcenterClientIDT>(value); }
206 template<
typename VcenterClientIDT = Aws::String>
214 template<
typename RequestIdT = Aws::String>
215 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
216 template<
typename RequestIdT = Aws::String>
222 bool m_applicationIDHasBeenSet =
false;
225 bool m_arnHasBeenSet =
false;
228 bool m_connectorActionHasBeenSet =
false;
231 bool m_dataReplicationInfoHasBeenSet =
false;
234 bool m_fqdnForActionFrameworkHasBeenSet =
false;
236 bool m_isArchived{
false};
237 bool m_isArchivedHasBeenSet =
false;
239 LaunchedInstance m_launchedInstance;
240 bool m_launchedInstanceHasBeenSet =
false;
242 LifeCycle m_lifeCycle;
243 bool m_lifeCycleHasBeenSet =
false;
246 bool m_replicationTypeHasBeenSet =
false;
248 SourceProperties m_sourceProperties;
249 bool m_sourcePropertiesHasBeenSet =
false;
252 bool m_sourceServerIDHasBeenSet =
false;
255 bool m_tagsHasBeenSet =
false;
258 bool m_userProvidedIDHasBeenSet =
false;
261 bool m_vcenterClientIDHasBeenSet =
false;
264 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