7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_EXPORTS.h>
9#include <aws/mgn/model/LifeCycleLastCutover.h>
10#include <aws/mgn/model/LifeCycleLastTest.h>
11#include <aws/mgn/model/LifeCycleState.h>
43 template <
typename AddedToServiceDateTimeT = Aws::String>
45 m_addedToServiceDateTimeHasBeenSet =
true;
46 m_addedToServiceDateTime = std::forward<AddedToServiceDateTimeT>(value);
48 template <
typename AddedToServiceDateTimeT = Aws::String>
61 template <
typename FirstByteDateTimeT = Aws::String>
63 m_firstByteDateTimeHasBeenSet =
true;
64 m_firstByteDateTime = std::forward<FirstByteDateTimeT>(value);
66 template <
typename FirstByteDateTimeT = Aws::String>
79 template <
typename ElapsedReplicationDurationT = Aws::String>
81 m_elapsedReplicationDurationHasBeenSet =
true;
82 m_elapsedReplicationDuration = std::forward<ElapsedReplicationDurationT>(value);
84 template <
typename ElapsedReplicationDurationT = Aws::String>
97 template <
typename LastSeenByServiceDateTimeT = Aws::String>
99 m_lastSeenByServiceDateTimeHasBeenSet =
true;
100 m_lastSeenByServiceDateTime = std::forward<LastSeenByServiceDateTimeT>(value);
102 template <
typename LastSeenByServiceDateTimeT = Aws::String>
115 template <
typename LastTestT = LifeCycleLastTest>
117 m_lastTestHasBeenSet =
true;
118 m_lastTest = std::forward<LastTestT>(value);
120 template <
typename LastTestT = LifeCycleLastTest>
133 template <
typename LastCutoverT = LifeCycleLastCutover>
135 m_lastCutoverHasBeenSet =
true;
136 m_lastCutover = std::forward<LastCutoverT>(value);
138 template <
typename LastCutoverT = LifeCycleLastCutover>
152 m_stateHasBeenSet =
true;
174 bool m_addedToServiceDateTimeHasBeenSet =
false;
175 bool m_firstByteDateTimeHasBeenSet =
false;
176 bool m_elapsedReplicationDurationHasBeenSet =
false;
177 bool m_lastSeenByServiceDateTimeHasBeenSet =
false;
178 bool m_lastTestHasBeenSet =
false;
179 bool m_lastCutoverHasBeenSet =
false;
180 bool m_stateHasBeenSet =
false;
void SetAddedToServiceDateTime(AddedToServiceDateTimeT &&value)
const LifeCycleLastCutover & GetLastCutover() const
LifeCycleState GetState() const
LifeCycle & WithFirstByteDateTime(FirstByteDateTimeT &&value)
void SetLastSeenByServiceDateTime(LastSeenByServiceDateTimeT &&value)
LifeCycle & WithState(LifeCycleState value)
LifeCycle & WithAddedToServiceDateTime(AddedToServiceDateTimeT &&value)
void SetFirstByteDateTime(FirstByteDateTimeT &&value)
LifeCycle & WithLastTest(LastTestT &&value)
bool ElapsedReplicationDurationHasBeenSet() const
void SetElapsedReplicationDuration(ElapsedReplicationDurationT &&value)
bool LastTestHasBeenSet() const
void SetLastCutover(LastCutoverT &&value)
bool LastCutoverHasBeenSet() const
LifeCycle & WithLastSeenByServiceDateTime(LastSeenByServiceDateTimeT &&value)
bool FirstByteDateTimeHasBeenSet() const
void SetState(LifeCycleState value)
const Aws::String & GetAddedToServiceDateTime() const
bool AddedToServiceDateTimeHasBeenSet() const
bool StateHasBeenSet() const
bool LastSeenByServiceDateTimeHasBeenSet() const
const Aws::String & GetFirstByteDateTime() const
const Aws::String & GetElapsedReplicationDuration() const
void SetLastTest(LastTestT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MGN_API LifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MGN_API LifeCycle(Aws::Utils::Json::JsonView jsonValue)
const LifeCycleLastTest & GetLastTest() const
AWS_MGN_API LifeCycle()=default
const Aws::String & GetLastSeenByServiceDateTime() const
LifeCycle & WithLastCutover(LastCutoverT &&value)
LifeCycle & WithElapsedReplicationDuration(ElapsedReplicationDurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue