7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/model/DataReplicationError.h>
9#include <aws/mgn/model/DataReplicationInitiation.h>
10#include <aws/mgn/model/DataReplicationState.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mgn/model/DataReplicationInfoReplicatedDisk.h>
89 inline void SetEtaDateTime(
const char* value) { m_etaDateTimeHasBeenSet =
true; m_etaDateTime.assign(value); }
103 inline void SetLagDuration(
const char* value) { m_lagDurationHasBeenSet =
true; m_lagDuration.assign(value); }
117 inline void SetLastSnapshotDateTime(
const char* value) { m_lastSnapshotDateTimeHasBeenSet =
true; m_lastSnapshotDateTime.assign(value); }
139 bool m_dataReplicationErrorHasBeenSet =
false;
142 bool m_dataReplicationInitiationHasBeenSet =
false;
145 bool m_dataReplicationStateHasBeenSet =
false;
148 bool m_etaDateTimeHasBeenSet =
false;
151 bool m_lagDurationHasBeenSet =
false;
154 bool m_lastSnapshotDateTimeHasBeenSet =
false;
157 bool m_replicatedDisksHasBeenSet =
false;
DataReplicationInfo & AddReplicatedDisks(const DataReplicationInfoReplicatedDisk &value)
bool DataReplicationInitiationHasBeenSet() const
const DataReplicationState & GetDataReplicationState() const
void SetLagDuration(const Aws::String &value)
DataReplicationInfo & WithEtaDateTime(const char *value)
bool DataReplicationStateHasBeenSet() const
const Aws::Vector< DataReplicationInfoReplicatedDisk > & GetReplicatedDisks() const
DataReplicationInfo & WithDataReplicationState(DataReplicationState &&value)
void SetDataReplicationError(const DataReplicationError &value)
AWS_MGN_API DataReplicationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const DataReplicationInitiation & GetDataReplicationInitiation() const
bool ReplicatedDisksHasBeenSet() const
DataReplicationInfo & WithDataReplicationState(const DataReplicationState &value)
void SetLastSnapshotDateTime(Aws::String &&value)
void SetEtaDateTime(const char *value)
void SetLagDuration(const char *value)
DataReplicationInfo & WithDataReplicationError(DataReplicationError &&value)
bool DataReplicationErrorHasBeenSet() const
DataReplicationInfo & WithDataReplicationInitiation(DataReplicationInitiation &&value)
DataReplicationInfo & WithEtaDateTime(const Aws::String &value)
AWS_MGN_API DataReplicationInfo()
AWS_MGN_API DataReplicationInfo(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfo & WithEtaDateTime(Aws::String &&value)
const Aws::String & GetLagDuration() const
void SetDataReplicationError(DataReplicationError &&value)
bool LastSnapshotDateTimeHasBeenSet() const
void SetLastSnapshotDateTime(const Aws::String &value)
bool LagDurationHasBeenSet() const
DataReplicationInfo & WithLastSnapshotDateTime(Aws::String &&value)
void SetLagDuration(Aws::String &&value)
void SetDataReplicationState(DataReplicationState &&value)
const Aws::String & GetLastSnapshotDateTime() const
const Aws::String & GetEtaDateTime() const
DataReplicationInfo & AddReplicatedDisks(DataReplicationInfoReplicatedDisk &&value)
DataReplicationInfo & WithLagDuration(const Aws::String &value)
void SetEtaDateTime(Aws::String &&value)
DataReplicationInfo & WithLagDuration(Aws::String &&value)
void SetReplicatedDisks(const Aws::Vector< DataReplicationInfoReplicatedDisk > &value)
void SetDataReplicationInitiation(DataReplicationInitiation &&value)
DataReplicationInfo & WithReplicatedDisks(Aws::Vector< DataReplicationInfoReplicatedDisk > &&value)
DataReplicationInfo & WithDataReplicationInitiation(const DataReplicationInitiation &value)
DataReplicationInfo & WithLagDuration(const char *value)
DataReplicationInfo & WithDataReplicationError(const DataReplicationError &value)
DataReplicationInfo & WithReplicatedDisks(const Aws::Vector< DataReplicationInfoReplicatedDisk > &value)
void SetLastSnapshotDateTime(const char *value)
DataReplicationInfo & WithLastSnapshotDateTime(const char *value)
void SetDataReplicationInitiation(const DataReplicationInitiation &value)
void SetReplicatedDisks(Aws::Vector< DataReplicationInfoReplicatedDisk > &&value)
bool EtaDateTimeHasBeenSet() const
void SetDataReplicationState(const DataReplicationState &value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const DataReplicationError & GetDataReplicationError() const
void SetEtaDateTime(const Aws::String &value)
DataReplicationInfo & WithLastSnapshotDateTime(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue