AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataReplicationInfo.h
1
6#pragma once
7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/drs/model/DataReplicationError.h>
9#include <aws/drs/model/DataReplicationInitiation.h>
10#include <aws/drs/model/DataReplicationState.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/drs/model/DataReplicationInfoReplicatedDisk.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace drs
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_DRS_API DataReplicationInfo();
43
44
46
49 inline const DataReplicationError& GetDataReplicationError() const{ return m_dataReplicationError; }
50 inline bool DataReplicationErrorHasBeenSet() const { return m_dataReplicationErrorHasBeenSet; }
51 inline void SetDataReplicationError(const DataReplicationError& value) { m_dataReplicationErrorHasBeenSet = true; m_dataReplicationError = value; }
52 inline void SetDataReplicationError(DataReplicationError&& value) { m_dataReplicationErrorHasBeenSet = true; m_dataReplicationError = std::move(value); }
56
58
61 inline const DataReplicationInitiation& GetDataReplicationInitiation() const{ return m_dataReplicationInitiation; }
62 inline bool DataReplicationInitiationHasBeenSet() const { return m_dataReplicationInitiationHasBeenSet; }
63 inline void SetDataReplicationInitiation(const DataReplicationInitiation& value) { m_dataReplicationInitiationHasBeenSet = true; m_dataReplicationInitiation = value; }
64 inline void SetDataReplicationInitiation(DataReplicationInitiation&& value) { m_dataReplicationInitiationHasBeenSet = true; m_dataReplicationInitiation = std::move(value); }
68
70
73 inline const DataReplicationState& GetDataReplicationState() const{ return m_dataReplicationState; }
74 inline bool DataReplicationStateHasBeenSet() const { return m_dataReplicationStateHasBeenSet; }
75 inline void SetDataReplicationState(const DataReplicationState& value) { m_dataReplicationStateHasBeenSet = true; m_dataReplicationState = value; }
76 inline void SetDataReplicationState(DataReplicationState&& value) { m_dataReplicationStateHasBeenSet = true; m_dataReplicationState = std::move(value); }
80
82
85 inline const Aws::String& GetEtaDateTime() const{ return m_etaDateTime; }
86 inline bool EtaDateTimeHasBeenSet() const { return m_etaDateTimeHasBeenSet; }
87 inline void SetEtaDateTime(const Aws::String& value) { m_etaDateTimeHasBeenSet = true; m_etaDateTime = value; }
88 inline void SetEtaDateTime(Aws::String&& value) { m_etaDateTimeHasBeenSet = true; m_etaDateTime = std::move(value); }
89 inline void SetEtaDateTime(const char* value) { m_etaDateTimeHasBeenSet = true; m_etaDateTime.assign(value); }
90 inline DataReplicationInfo& WithEtaDateTime(const Aws::String& value) { SetEtaDateTime(value); return *this;}
91 inline DataReplicationInfo& WithEtaDateTime(Aws::String&& value) { SetEtaDateTime(std::move(value)); return *this;}
92 inline DataReplicationInfo& WithEtaDateTime(const char* value) { SetEtaDateTime(value); return *this;}
94
96
99 inline const Aws::String& GetLagDuration() const{ return m_lagDuration; }
100 inline bool LagDurationHasBeenSet() const { return m_lagDurationHasBeenSet; }
101 inline void SetLagDuration(const Aws::String& value) { m_lagDurationHasBeenSet = true; m_lagDuration = value; }
102 inline void SetLagDuration(Aws::String&& value) { m_lagDurationHasBeenSet = true; m_lagDuration = std::move(value); }
103 inline void SetLagDuration(const char* value) { m_lagDurationHasBeenSet = true; m_lagDuration.assign(value); }
104 inline DataReplicationInfo& WithLagDuration(const Aws::String& value) { SetLagDuration(value); return *this;}
105 inline DataReplicationInfo& WithLagDuration(Aws::String&& value) { SetLagDuration(std::move(value)); return *this;}
106 inline DataReplicationInfo& WithLagDuration(const char* value) { SetLagDuration(value); return *this;}
108
110
113 inline const Aws::Vector<DataReplicationInfoReplicatedDisk>& GetReplicatedDisks() const{ return m_replicatedDisks; }
114 inline bool ReplicatedDisksHasBeenSet() const { return m_replicatedDisksHasBeenSet; }
115 inline void SetReplicatedDisks(const Aws::Vector<DataReplicationInfoReplicatedDisk>& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = value; }
116 inline void SetReplicatedDisks(Aws::Vector<DataReplicationInfoReplicatedDisk>&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks = std::move(value); }
119 inline DataReplicationInfo& AddReplicatedDisks(const DataReplicationInfoReplicatedDisk& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.push_back(value); return *this; }
120 inline DataReplicationInfo& AddReplicatedDisks(DataReplicationInfoReplicatedDisk&& value) { m_replicatedDisksHasBeenSet = true; m_replicatedDisks.push_back(std::move(value)); return *this; }
122
124
127 inline const Aws::String& GetStagingAvailabilityZone() const{ return m_stagingAvailabilityZone; }
128 inline bool StagingAvailabilityZoneHasBeenSet() const { return m_stagingAvailabilityZoneHasBeenSet; }
129 inline void SetStagingAvailabilityZone(const Aws::String& value) { m_stagingAvailabilityZoneHasBeenSet = true; m_stagingAvailabilityZone = value; }
130 inline void SetStagingAvailabilityZone(Aws::String&& value) { m_stagingAvailabilityZoneHasBeenSet = true; m_stagingAvailabilityZone = std::move(value); }
131 inline void SetStagingAvailabilityZone(const char* value) { m_stagingAvailabilityZoneHasBeenSet = true; m_stagingAvailabilityZone.assign(value); }
134 inline DataReplicationInfo& WithStagingAvailabilityZone(const char* value) { SetStagingAvailabilityZone(value); return *this;}
136
138
141 inline const Aws::String& GetStagingOutpostArn() const{ return m_stagingOutpostArn; }
142 inline bool StagingOutpostArnHasBeenSet() const { return m_stagingOutpostArnHasBeenSet; }
143 inline void SetStagingOutpostArn(const Aws::String& value) { m_stagingOutpostArnHasBeenSet = true; m_stagingOutpostArn = value; }
144 inline void SetStagingOutpostArn(Aws::String&& value) { m_stagingOutpostArnHasBeenSet = true; m_stagingOutpostArn = std::move(value); }
145 inline void SetStagingOutpostArn(const char* value) { m_stagingOutpostArnHasBeenSet = true; m_stagingOutpostArn.assign(value); }
146 inline DataReplicationInfo& WithStagingOutpostArn(const Aws::String& value) { SetStagingOutpostArn(value); return *this;}
147 inline DataReplicationInfo& WithStagingOutpostArn(Aws::String&& value) { SetStagingOutpostArn(std::move(value)); return *this;}
148 inline DataReplicationInfo& WithStagingOutpostArn(const char* value) { SetStagingOutpostArn(value); return *this;}
150 private:
151
152 DataReplicationError m_dataReplicationError;
153 bool m_dataReplicationErrorHasBeenSet = false;
154
155 DataReplicationInitiation m_dataReplicationInitiation;
156 bool m_dataReplicationInitiationHasBeenSet = false;
157
158 DataReplicationState m_dataReplicationState;
159 bool m_dataReplicationStateHasBeenSet = false;
160
161 Aws::String m_etaDateTime;
162 bool m_etaDateTimeHasBeenSet = false;
163
164 Aws::String m_lagDuration;
165 bool m_lagDurationHasBeenSet = false;
166
168 bool m_replicatedDisksHasBeenSet = false;
169
170 Aws::String m_stagingAvailabilityZone;
171 bool m_stagingAvailabilityZoneHasBeenSet = false;
172
173 Aws::String m_stagingOutpostArn;
174 bool m_stagingOutpostArnHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace drs
179} // namespace Aws
const DataReplicationError & GetDataReplicationError() const
void SetDataReplicationState(DataReplicationState &&value)
DataReplicationInfo & WithStagingAvailabilityZone(Aws::String &&value)
DataReplicationInfo & WithStagingOutpostArn(const Aws::String &value)
void SetStagingAvailabilityZone(Aws::String &&value)
const Aws::String & GetStagingOutpostArn() const
DataReplicationInfo & WithDataReplicationError(DataReplicationError &&value)
DataReplicationInfo & WithStagingOutpostArn(Aws::String &&value)
DataReplicationInfo & WithDataReplicationError(const DataReplicationError &value)
const Aws::String & GetStagingAvailabilityZone() const
DataReplicationInfo & WithLagDuration(Aws::String &&value)
DataReplicationInfo & WithDataReplicationInitiation(DataReplicationInitiation &&value)
void SetReplicatedDisks(Aws::Vector< DataReplicationInfoReplicatedDisk > &&value)
DataReplicationInfo & WithReplicatedDisks(const Aws::Vector< DataReplicationInfoReplicatedDisk > &value)
DataReplicationInfo & WithEtaDateTime(Aws::String &&value)
void SetDataReplicationInitiation(DataReplicationInitiation &&value)
void SetStagingOutpostArn(Aws::String &&value)
const DataReplicationState & GetDataReplicationState() const
void SetDataReplicationInitiation(const DataReplicationInitiation &value)
DataReplicationInfo & WithReplicatedDisks(Aws::Vector< DataReplicationInfoReplicatedDisk > &&value)
DataReplicationInfo & WithEtaDateTime(const char *value)
void SetReplicatedDisks(const Aws::Vector< DataReplicationInfoReplicatedDisk > &value)
DataReplicationInfo & WithStagingAvailabilityZone(const char *value)
void SetStagingAvailabilityZone(const char *value)
void SetDataReplicationState(const DataReplicationState &value)
AWS_DRS_API DataReplicationInfo(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfo & WithDataReplicationState(DataReplicationState &&value)
DataReplicationInfo & AddReplicatedDisks(DataReplicationInfoReplicatedDisk &&value)
void SetLagDuration(const Aws::String &value)
const Aws::String & GetLagDuration() const
DataReplicationInfo & AddReplicatedDisks(const DataReplicationInfoReplicatedDisk &value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
DataReplicationInfo & WithDataReplicationState(const DataReplicationState &value)
DataReplicationInfo & WithLagDuration(const char *value)
void SetDataReplicationError(DataReplicationError &&value)
DataReplicationInfo & WithStagingOutpostArn(const char *value)
AWS_DRS_API DataReplicationInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DataReplicationInfo & WithStagingAvailabilityZone(const Aws::String &value)
const Aws::Vector< DataReplicationInfoReplicatedDisk > & GetReplicatedDisks() const
DataReplicationInfo & WithEtaDateTime(const Aws::String &value)
const DataReplicationInitiation & GetDataReplicationInitiation() const
void SetStagingOutpostArn(const Aws::String &value)
void SetDataReplicationError(const DataReplicationError &value)
void SetStagingAvailabilityZone(const Aws::String &value)
void SetEtaDateTime(const Aws::String &value)
DataReplicationInfo & WithLagDuration(const Aws::String &value)
const Aws::String & GetEtaDateTime() const
DataReplicationInfo & WithDataReplicationInitiation(const DataReplicationInitiation &value)
void SetEtaDateTime(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