7#include <aws/drs/Drs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename EbsSnapshotsT = Aws::Vector<Aws::String>>
49 void SetEbsSnapshots(EbsSnapshotsT&& value) { m_ebsSnapshotsHasBeenSet =
true; m_ebsSnapshots = std::forward<EbsSnapshotsT>(value); }
50 template<
typename EbsSnapshotsT = Aws::Vector<Aws::String>>
52 template<
typename EbsSnapshotsT = Aws::String>
53 RecoverySnapshot&
AddEbsSnapshots(EbsSnapshotsT&& value) { m_ebsSnapshotsHasBeenSet =
true; m_ebsSnapshots.emplace_back(std::forward<EbsSnapshotsT>(value));
return *
this; }
62 template<
typename ExpectedTimestampT = Aws::String>
63 void SetExpectedTimestamp(ExpectedTimestampT&& value) { m_expectedTimestampHasBeenSet =
true; m_expectedTimestamp = std::forward<ExpectedTimestampT>(value); }
64 template<
typename ExpectedTimestampT = Aws::String>
74 template<
typename SnapshotIDT = Aws::String>
75 void SetSnapshotID(SnapshotIDT&& value) { m_snapshotIDHasBeenSet =
true; m_snapshotID = std::forward<SnapshotIDT>(value); }
76 template<
typename SnapshotIDT = Aws::String>
86 template<
typename SourceServerIDT = Aws::String>
87 void SetSourceServerID(SourceServerIDT&& value) { m_sourceServerIDHasBeenSet =
true; m_sourceServerID = std::forward<SourceServerIDT>(value); }
88 template<
typename SourceServerIDT = Aws::String>
98 template<
typename TimestampT = Aws::String>
99 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
100 template<
typename TimestampT = Aws::String>
106 bool m_ebsSnapshotsHasBeenSet =
false;
109 bool m_expectedTimestampHasBeenSet =
false;
112 bool m_snapshotIDHasBeenSet =
false;
115 bool m_sourceServerIDHasBeenSet =
false;
118 bool m_timestampHasBeenSet =
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