7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mgn/model/LifeCycleLastCutover.h>
10#include <aws/mgn/model/LifeCycleLastTest.h>
11#include <aws/mgn/model/LifeCycleState.h>
49 template<
typename AddedToServiceDateTimeT = Aws::String>
50 void SetAddedToServiceDateTime(AddedToServiceDateTimeT&& value) { m_addedToServiceDateTimeHasBeenSet =
true; m_addedToServiceDateTime = std::forward<AddedToServiceDateTimeT>(value); }
51 template<
typename AddedToServiceDateTimeT = Aws::String>
61 template<
typename ElapsedReplicationDurationT = Aws::String>
62 void SetElapsedReplicationDuration(ElapsedReplicationDurationT&& value) { m_elapsedReplicationDurationHasBeenSet =
true; m_elapsedReplicationDuration = std::forward<ElapsedReplicationDurationT>(value); }
63 template<
typename ElapsedReplicationDurationT = Aws::String>
73 template<
typename FirstByteDateTimeT = Aws::String>
74 void SetFirstByteDateTime(FirstByteDateTimeT&& value) { m_firstByteDateTimeHasBeenSet =
true; m_firstByteDateTime = std::forward<FirstByteDateTimeT>(value); }
75 template<
typename FirstByteDateTimeT = Aws::String>
85 template<
typename LastCutoverT = LifeCycleLastCutover>
86 void SetLastCutover(LastCutoverT&& value) { m_lastCutoverHasBeenSet =
true; m_lastCutover = std::forward<LastCutoverT>(value); }
87 template<
typename LastCutoverT = LifeCycleLastCutover>
97 template<
typename LastSeenByServiceDateTimeT = Aws::String>
98 void SetLastSeenByServiceDateTime(LastSeenByServiceDateTimeT&& value) { m_lastSeenByServiceDateTimeHasBeenSet =
true; m_lastSeenByServiceDateTime = std::forward<LastSeenByServiceDateTimeT>(value); }
99 template<
typename LastSeenByServiceDateTimeT = Aws::String>
109 template<
typename LastTestT = LifeCycleLastTest>
110 void SetLastTest(LastTestT&& value) { m_lastTestHasBeenSet =
true; m_lastTest = std::forward<LastTestT>(value); }
111 template<
typename LastTestT = LifeCycleLastTest>
127 bool m_addedToServiceDateTimeHasBeenSet =
false;
130 bool m_elapsedReplicationDurationHasBeenSet =
false;
133 bool m_firstByteDateTimeHasBeenSet =
false;
136 bool m_lastCutoverHasBeenSet =
false;
139 bool m_lastSeenByServiceDateTimeHasBeenSet =
false;
142 bool m_lastTestHasBeenSet =
false;
145 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