7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/drs/Drs_EXPORTS.h>
42 template <
typename SnapshotIDT = Aws::String>
44 m_snapshotIDHasBeenSet =
true;
45 m_snapshotID = std::forward<SnapshotIDT>(value);
47 template <
typename SnapshotIDT = Aws::String>
60 template <
typename SourceServerIDT = Aws::String>
62 m_sourceServerIDHasBeenSet =
true;
63 m_sourceServerID = std::forward<SourceServerIDT>(value);
65 template <
typename SourceServerIDT = Aws::String>
78 template <
typename ExpectedTimestampT = Aws::String>
80 m_expectedTimestampHasBeenSet =
true;
81 m_expectedTimestamp = std::forward<ExpectedTimestampT>(value);
83 template <
typename ExpectedTimestampT = Aws::String>
96 template <
typename TimestampT = Aws::String>
98 m_timestampHasBeenSet =
true;
99 m_timestamp = std::forward<TimestampT>(value);
101 template <
typename TimestampT = Aws::String>
114 template <
typename EbsSnapshotsT = Aws::Vector<Aws::String>>
116 m_ebsSnapshotsHasBeenSet =
true;
117 m_ebsSnapshots = std::forward<EbsSnapshotsT>(value);
119 template <
typename EbsSnapshotsT = Aws::Vector<Aws::String>>
124 template <
typename EbsSnapshotsT = Aws::String>
126 m_ebsSnapshotsHasBeenSet =
true;
127 m_ebsSnapshots.emplace_back(std::forward<EbsSnapshotsT>(value));
141 bool m_snapshotIDHasBeenSet =
false;
142 bool m_sourceServerIDHasBeenSet =
false;
143 bool m_expectedTimestampHasBeenSet =
false;
144 bool m_timestampHasBeenSet =
false;
145 bool m_ebsSnapshotsHasBeenSet =
false;
AWS_DRS_API RecoverySnapshot & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSnapshotID(SnapshotIDT &&value)
const Aws::Vector< Aws::String > & GetEbsSnapshots() const
RecoverySnapshot & WithExpectedTimestamp(ExpectedTimestampT &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSourceServerID(SourceServerIDT &&value)
const Aws::String & GetSourceServerID() const
bool TimestampHasBeenSet() const
RecoverySnapshot & AddEbsSnapshots(EbsSnapshotsT &&value)
bool SourceServerIDHasBeenSet() const
const Aws::String & GetTimestamp() const
RecoverySnapshot & WithTimestamp(TimestampT &&value)
void SetExpectedTimestamp(ExpectedTimestampT &&value)
bool SnapshotIDHasBeenSet() const
AWS_DRS_API RecoverySnapshot()=default
void SetEbsSnapshots(EbsSnapshotsT &&value)
void SetTimestamp(TimestampT &&value)
const Aws::String & GetExpectedTimestamp() const
RecoverySnapshot & WithSnapshotID(SnapshotIDT &&value)
bool ExpectedTimestampHasBeenSet() const
RecoverySnapshot & WithSourceServerID(SourceServerIDT &&value)
bool EbsSnapshotsHasBeenSet() const
AWS_DRS_API RecoverySnapshot(Aws::Utils::Json::JsonView jsonValue)
RecoverySnapshot & WithEbsSnapshots(EbsSnapshotsT &&value)
const Aws::String & GetSnapshotID() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue