7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/drs/model/RecoveryInstanceDataReplicationInfo.h>
10#include <aws/drs/model/EC2InstanceState.h>
11#include <aws/drs/model/RecoveryInstanceFailback.h>
12#include <aws/drs/model/OriginEnvironment.h>
13#include <aws/drs/model/RecoveryInstanceProperties.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
55 inline void SetAgentVersion(
const char* value) { m_agentVersionHasBeenSet =
true; m_agentVersion.assign(value); }
68 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
69 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
95 inline void SetEc2InstanceID(
const char* value) { m_ec2InstanceIDHasBeenSet =
true; m_ec2InstanceID.assign(value); }
133 inline void SetIsDrill(
bool value) { m_isDrillHasBeenSet =
true; m_isDrill = value; }
145 inline void SetJobID(
const char* value) { m_jobIDHasBeenSet =
true; m_jobID.assign(value); }
159 inline void SetOriginAvailabilityZone(
const char* value) { m_originAvailabilityZoneHasBeenSet =
true; m_originAvailabilityZone.assign(value); }
201 inline void SetRecoveryInstanceID(
const char* value) { m_recoveryInstanceIDHasBeenSet =
true; m_recoveryInstanceID.assign(value); }
227 inline void SetSourceOutpostArn(
const char* value) { m_sourceOutpostArnHasBeenSet =
true; m_sourceOutpostArn.assign(value); }
241 inline void SetSourceServerID(
const char* value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID.assign(value); }
263 inline RecoveryInstance&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
268 bool m_agentVersionHasBeenSet =
false;
271 bool m_arnHasBeenSet =
false;
274 bool m_dataReplicationInfoHasBeenSet =
false;
277 bool m_ec2InstanceIDHasBeenSet =
false;
280 bool m_ec2InstanceStateHasBeenSet =
false;
283 bool m_failbackHasBeenSet =
false;
286 bool m_isDrillHasBeenSet =
false;
289 bool m_jobIDHasBeenSet =
false;
292 bool m_originAvailabilityZoneHasBeenSet =
false;
295 bool m_originEnvironmentHasBeenSet =
false;
298 bool m_pointInTimeSnapshotDateTimeHasBeenSet =
false;
301 bool m_recoveryInstanceIDHasBeenSet =
false;
304 bool m_recoveryInstancePropertiesHasBeenSet =
false;
307 bool m_sourceOutpostArnHasBeenSet =
false;
310 bool m_sourceServerIDHasBeenSet =
false;
313 bool m_tagsHasBeenSet =
false;
void SetJobID(Aws::String &&value)
bool TagsHasBeenSet() const
RecoveryInstance & WithAgentVersion(const Aws::String &value)
void SetAgentVersion(Aws::String &&value)
void SetOriginAvailabilityZone(const Aws::String &value)
void SetArn(Aws::String &&value)
void SetSourceServerID(const Aws::String &value)
RecoveryInstance & AddTags(Aws::String &&key, const char *value)
void SetDataReplicationInfo(RecoveryInstanceDataReplicationInfo &&value)
RecoveryInstance & WithRecoveryInstanceProperties(const RecoveryInstanceProperties &value)
RecoveryInstance & WithJobID(const char *value)
bool Ec2InstanceIDHasBeenSet() const
RecoveryInstance & WithSourceServerID(Aws::String &&value)
const Aws::String & GetSourceOutpostArn() const
const RecoveryInstanceDataReplicationInfo & GetDataReplicationInfo() const
RecoveryInstance & WithRecoveryInstanceID(const char *value)
void SetArn(const Aws::String &value)
const Aws::String & GetJobID() const
void SetRecoveryInstanceProperties(const RecoveryInstanceProperties &value)
void SetOriginEnvironment(OriginEnvironment &&value)
RecoveryInstance & WithOriginEnvironment(OriginEnvironment &&value)
void SetEc2InstanceState(const EC2InstanceState &value)
void SetEc2InstanceID(const char *value)
RecoveryInstance & WithPointInTimeSnapshotDateTime(Aws::String &&value)
const Aws::String & GetArn() const
RecoveryInstance & AddTags(const Aws::String &key, Aws::String &&value)
void SetPointInTimeSnapshotDateTime(const char *value)
AWS_DRS_API RecoveryInstance & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryInstance & AddTags(Aws::String &&key, Aws::String &&value)
bool OriginEnvironmentHasBeenSet() const
void SetPointInTimeSnapshotDateTime(const Aws::String &value)
void SetOriginAvailabilityZone(Aws::String &&value)
RecoveryInstance & WithJobID(Aws::String &&value)
const RecoveryInstanceFailback & GetFailback() const
RecoveryInstance & WithArn(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
RecoveryInstance & WithOriginAvailabilityZone(const char *value)
RecoveryInstance & WithEc2InstanceState(EC2InstanceState &&value)
void SetAgentVersion(const char *value)
RecoveryInstance & WithEc2InstanceState(const EC2InstanceState &value)
bool ArnHasBeenSet() const
void SetDataReplicationInfo(const RecoveryInstanceDataReplicationInfo &value)
const EC2InstanceState & GetEc2InstanceState() const
RecoveryInstance & WithAgentVersion(Aws::String &&value)
const OriginEnvironment & GetOriginEnvironment() const
const Aws::String & GetAgentVersion() const
RecoveryInstance & WithOriginAvailabilityZone(const Aws::String &value)
void SetIsDrill(bool value)
void SetRecoveryInstanceID(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const RecoveryInstanceProperties & GetRecoveryInstanceProperties() const
RecoveryInstance & WithRecoveryInstanceProperties(RecoveryInstanceProperties &&value)
RecoveryInstance & WithOriginEnvironment(const OriginEnvironment &value)
RecoveryInstance & WithAgentVersion(const char *value)
RecoveryInstance & AddTags(const char *key, Aws::String &&value)
bool Ec2InstanceStateHasBeenSet() const
RecoveryInstance & WithFailback(const RecoveryInstanceFailback &value)
RecoveryInstance & AddTags(Aws::String &&key, const Aws::String &value)
void SetFailback(RecoveryInstanceFailback &&value)
RecoveryInstance & WithOriginAvailabilityZone(Aws::String &&value)
void SetJobID(const char *value)
bool PointInTimeSnapshotDateTimeHasBeenSet() const
void SetRecoveryInstanceProperties(RecoveryInstanceProperties &&value)
void SetSourceServerID(const char *value)
RecoveryInstance & WithSourceOutpostArn(const Aws::String &value)
void SetEc2InstanceID(Aws::String &&value)
void SetSourceOutpostArn(Aws::String &&value)
void SetSourceServerID(Aws::String &&value)
void SetJobID(const Aws::String &value)
RecoveryInstance & WithArn(Aws::String &&value)
void SetRecoveryInstanceID(const Aws::String &value)
bool OriginAvailabilityZoneHasBeenSet() const
bool SourceServerIDHasBeenSet() const
RecoveryInstance & WithEc2InstanceID(const Aws::String &value)
AWS_DRS_API RecoveryInstance(Aws::Utils::Json::JsonView jsonValue)
RecoveryInstance & WithRecoveryInstanceID(Aws::String &&value)
void SetSourceOutpostArn(const Aws::String &value)
void SetEc2InstanceState(EC2InstanceState &&value)
RecoveryInstance & WithJobID(const Aws::String &value)
RecoveryInstance & WithSourceServerID(const Aws::String &value)
void SetRecoveryInstanceID(const char *value)
const Aws::String & GetRecoveryInstanceID() const
bool SourceOutpostArnHasBeenSet() const
bool JobIDHasBeenSet() const
bool FailbackHasBeenSet() const
RecoveryInstance & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool RecoveryInstanceIDHasBeenSet() const
RecoveryInstance & AddTags(const char *key, const char *value)
void SetSourceOutpostArn(const char *value)
bool IsDrillHasBeenSet() const
RecoveryInstance & WithDataReplicationInfo(RecoveryInstanceDataReplicationInfo &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryInstance & AddTags(const Aws::String &key, const Aws::String &value)
void SetOriginEnvironment(const OriginEnvironment &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
RecoveryInstance & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
RecoveryInstance & WithIsDrill(bool value)
RecoveryInstance & WithSourceOutpostArn(Aws::String &&value)
RecoveryInstance & WithRecoveryInstanceID(const Aws::String &value)
RecoveryInstance & WithEc2InstanceID(Aws::String &&value)
bool DataReplicationInfoHasBeenSet() const
RecoveryInstance & WithSourceServerID(const char *value)
void SetArn(const char *value)
bool RecoveryInstancePropertiesHasBeenSet() const
AWS_DRS_API RecoveryInstance()
RecoveryInstance & WithSourceOutpostArn(const char *value)
RecoveryInstance & WithDataReplicationInfo(const RecoveryInstanceDataReplicationInfo &value)
const Aws::String & GetSourceServerID() const
void SetEc2InstanceID(const Aws::String &value)
RecoveryInstance & WithPointInTimeSnapshotDateTime(const char *value)
RecoveryInstance & WithEc2InstanceID(const char *value)
const Aws::String & GetEc2InstanceID() const
const Aws::String & GetPointInTimeSnapshotDateTime() const
void SetOriginAvailabilityZone(const char *value)
const Aws::String & GetOriginAvailabilityZone() const
RecoveryInstance & WithArn(const Aws::String &value)
RecoveryInstance & WithPointInTimeSnapshotDateTime(const Aws::String &value)
void SetFailback(const RecoveryInstanceFailback &value)
void SetAgentVersion(const Aws::String &value)
bool AgentVersionHasBeenSet() const
RecoveryInstance & WithFailback(RecoveryInstanceFailback &&value)
void SetPointInTimeSnapshotDateTime(Aws::String &&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