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>
50 inline void SetApplicationID(
const char* value) { m_applicationIDHasBeenSet =
true; m_applicationID.assign(value); }
63 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
64 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
102 inline void SetFqdnForActionFramework(
const char* value) { m_fqdnForActionFrameworkHasBeenSet =
true; m_fqdnForActionFramework.assign(value); }
114 inline void SetIsArchived(
bool value) { m_isArchivedHasBeenSet =
true; m_isArchived = value; }
174 inline void SetSourceServerID(
const char* value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID.assign(value); }
196 inline SourceServer&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
207 inline void SetUserProvidedID(
const char* value) { m_userProvidedIDHasBeenSet =
true; m_userProvidedID.assign(value); }
221 inline void SetVcenterClientID(
const char* value) { m_vcenterClientIDHasBeenSet =
true; m_vcenterClientID.assign(value); }
233 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
241 bool m_applicationIDHasBeenSet =
false;
244 bool m_arnHasBeenSet =
false;
247 bool m_connectorActionHasBeenSet =
false;
250 bool m_dataReplicationInfoHasBeenSet =
false;
253 bool m_fqdnForActionFrameworkHasBeenSet =
false;
256 bool m_isArchivedHasBeenSet =
false;
259 bool m_launchedInstanceHasBeenSet =
false;
262 bool m_lifeCycleHasBeenSet =
false;
265 bool m_replicationTypeHasBeenSet =
false;
268 bool m_sourcePropertiesHasBeenSet =
false;
271 bool m_sourceServerIDHasBeenSet =
false;
274 bool m_tagsHasBeenSet =
false;
277 bool m_userProvidedIDHasBeenSet =
false;
280 bool m_vcenterClientIDHasBeenSet =
false;
283 bool m_requestIdHasBeenSet =
false;
SourceServer & WithSourceServerID(Aws::String &&value)
void SetReplicationType(const ReplicationType &value)
SourceServer & WithFqdnForActionFramework(const char *value)
SourceServer & WithVcenterClientID(const Aws::String &value)
void SetUserProvidedID(const Aws::String &value)
SourceServer & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool GetIsArchived() const
SourceServer & WithSourceServerID(const Aws::String &value)
void SetIsArchived(bool value)
void SetApplicationID(const char *value)
void SetRequestId(Aws::String &&value)
bool FqdnForActionFrameworkHasBeenSet() const
SourceServer & WithLaunchedInstance(LaunchedInstance &&value)
SourceServer & WithReplicationType(const ReplicationType &value)
bool TagsHasBeenSet() const
void SetUserProvidedID(const char *value)
const Aws::String & GetSourceServerID() const
void SetLifeCycle(const LifeCycle &value)
bool SourceServerIDHasBeenSet() const
SourceServer & WithSourceServerID(const char *value)
void SetFqdnForActionFramework(const char *value)
SourceServer & WithFqdnForActionFramework(Aws::String &&value)
void SetLifeCycle(LifeCycle &&value)
bool LaunchedInstanceHasBeenSet() const
SourceServer & WithLaunchedInstance(const LaunchedInstance &value)
SourceServer & WithArn(Aws::String &&value)
const Aws::String & GetFqdnForActionFramework() const
SourceServer & AddTags(const char *key, Aws::String &&value)
AWS_MGN_API SourceServer(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
bool SourcePropertiesHasBeenSet() const
bool RequestIdHasBeenSet() const
SourceServer & WithApplicationID(const char *value)
void SetFqdnForActionFramework(Aws::String &&value)
SourceServer & WithDataReplicationInfo(DataReplicationInfo &&value)
SourceServer & AddTags(const char *key, const char *value)
const Aws::String & GetArn() const
SourceServer & AddTags(Aws::String &&key, Aws::String &&value)
SourceServer & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSourceServerID(const Aws::String &value)
bool UserProvidedIDHasBeenSet() const
void SetApplicationID(const Aws::String &value)
void SetSourceProperties(SourceProperties &&value)
const Aws::String & GetApplicationID() const
SourceServer & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetVcenterClientID(const char *value)
SourceServer & WithVcenterClientID(Aws::String &&value)
void SetSourceServerID(Aws::String &&value)
const DataReplicationInfo & GetDataReplicationInfo() const
SourceServer & WithUserProvidedID(const char *value)
SourceServer & WithApplicationID(Aws::String &&value)
SourceServer & WithIsArchived(bool value)
SourceServer & WithUserProvidedID(const Aws::String &value)
SourceServer & WithArn(const char *value)
SourceServer & AddTags(const Aws::String &key, const Aws::String &value)
bool IsArchivedHasBeenSet() const
void SetVcenterClientID(Aws::String &&value)
const ReplicationType & GetReplicationType() const
SourceServer & WithDataReplicationInfo(const DataReplicationInfo &value)
void SetApplicationID(Aws::String &&value)
bool ArnHasBeenSet() const
SourceServer & WithRequestId(Aws::String &&value)
bool VcenterClientIDHasBeenSet() const
SourceServer & WithFqdnForActionFramework(const Aws::String &value)
SourceServer & WithRequestId(const Aws::String &value)
bool ApplicationIDHasBeenSet() const
void SetVcenterClientID(const Aws::String &value)
void SetUserProvidedID(Aws::String &&value)
SourceServer & WithRequestId(const char *value)
bool LifeCycleHasBeenSet() const
SourceServer & WithSourceProperties(const SourceProperties &value)
void SetDataReplicationInfo(DataReplicationInfo &&value)
SourceServer & WithArn(const Aws::String &value)
bool ConnectorActionHasBeenSet() const
SourceServer & WithApplicationID(const Aws::String &value)
const Aws::String & GetRequestId() const
SourceServer & WithConnectorAction(const SourceServerConnectorAction &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
SourceServer & WithVcenterClientID(const char *value)
SourceServer & AddTags(const Aws::String &key, Aws::String &&value)
SourceServer & WithLifeCycle(const LifeCycle &value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRequestId(const Aws::String &value)
void SetLaunchedInstance(LaunchedInstance &&value)
void SetArn(const char *value)
SourceServer & WithReplicationType(ReplicationType &&value)
AWS_MGN_API SourceServer()
void SetSourceProperties(const SourceProperties &value)
SourceServer & AddTags(Aws::String &&key, const char *value)
void SetConnectorAction(SourceServerConnectorAction &&value)
void SetRequestId(const char *value)
void SetFqdnForActionFramework(const Aws::String &value)
void SetConnectorAction(const SourceServerConnectorAction &value)
SourceServer & WithUserProvidedID(Aws::String &&value)
SourceServer & WithConnectorAction(SourceServerConnectorAction &&value)
void SetReplicationType(ReplicationType &&value)
AWS_MGN_API SourceServer & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUserProvidedID() const
const SourceProperties & GetSourceProperties() const
const LifeCycle & GetLifeCycle() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetSourceServerID(const char *value)
const LaunchedInstance & GetLaunchedInstance() const
const SourceServerConnectorAction & GetConnectorAction() const
void SetLaunchedInstance(const LaunchedInstance &value)
const Aws::String & GetVcenterClientID() const
bool ReplicationTypeHasBeenSet() const
SourceServer & WithLifeCycle(LifeCycle &&value)
void SetArn(Aws::String &&value)
bool DataReplicationInfoHasBeenSet() const
void SetDataReplicationInfo(const DataReplicationInfo &value)
SourceServer & WithSourceProperties(SourceProperties &&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