7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/DirectoryService_EXPORTS.h>
10#include <aws/ds/model/UpdateStatus.h>
11#include <aws/ds/model/UpdateValue.h>
22namespace DirectoryService {
44 template <
typename RegionT = Aws::String>
46 m_regionHasBeenSet =
true;
47 m_region = std::forward<RegionT>(value);
49 template <
typename RegionT = Aws::String>
63 m_statusHasBeenSet =
true;
78 template <
typename StatusReasonT = Aws::String>
80 m_statusReasonHasBeenSet =
true;
81 m_statusReason = std::forward<StatusReasonT>(value);
83 template <
typename StatusReasonT = Aws::String>
97 template <
typename InitiatedByT = Aws::String>
99 m_initiatedByHasBeenSet =
true;
100 m_initiatedBy = std::forward<InitiatedByT>(value);
102 template <
typename InitiatedByT = Aws::String>
115 template <
typename NewValueT = UpdateValue>
117 m_newValueHasBeenSet =
true;
118 m_newValue = std::forward<NewValueT>(value);
120 template <
typename NewValueT = UpdateValue>
133 template <
typename PreviousValueT = UpdateValue>
135 m_previousValueHasBeenSet =
true;
136 m_previousValue = std::forward<PreviousValueT>(value);
138 template <
typename PreviousValueT = UpdateValue>
152 template <
typename StartTimeT = Aws::Utils::DateTime>
154 m_startTimeHasBeenSet =
true;
155 m_startTime = std::forward<StartTimeT>(value);
157 template <
typename StartTimeT = Aws::Utils::DateTime>
170 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
172 m_lastUpdatedDateTimeHasBeenSet =
true;
173 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
175 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
190 UpdateValue m_newValue;
192 UpdateValue m_previousValue;
197 bool m_regionHasBeenSet =
false;
198 bool m_statusHasBeenSet =
false;
199 bool m_statusReasonHasBeenSet =
false;
200 bool m_initiatedByHasBeenSet =
false;
201 bool m_newValueHasBeenSet =
false;
202 bool m_previousValueHasBeenSet =
false;
203 bool m_startTimeHasBeenSet =
false;
204 bool m_lastUpdatedDateTimeHasBeenSet =
false;
UpdateInfoEntry & WithNewValue(NewValueT &&value)
const Aws::Utils::DateTime & GetStartTime() const
const Aws::String & GetInitiatedBy() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const UpdateValue & GetNewValue() const
UpdateInfoEntry & WithPreviousValue(PreviousValueT &&value)
UpdateInfoEntry & WithStatus(UpdateStatus value)
AWS_DIRECTORYSERVICE_API UpdateInfoEntry()=default
void SetStartTime(StartTimeT &&value)
void SetNewValue(NewValueT &&value)
bool InitiatedByHasBeenSet() const
void SetInitiatedBy(InitiatedByT &&value)
const UpdateValue & GetPreviousValue() const
bool StartTimeHasBeenSet() const
bool PreviousValueHasBeenSet() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetStatusReason(StatusReasonT &&value)
AWS_DIRECTORYSERVICE_API UpdateInfoEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateInfoEntry & WithStatusReason(StatusReasonT &&value)
void SetStatus(UpdateStatus value)
void SetPreviousValue(PreviousValueT &&value)
AWS_DIRECTORYSERVICE_API UpdateInfoEntry(Aws::Utils::Json::JsonView jsonValue)
UpdateInfoEntry & WithInitiatedBy(InitiatedByT &&value)
UpdateInfoEntry & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
bool StatusReasonHasBeenSet() const
const Aws::String & GetStatusReason() const
bool LastUpdatedDateTimeHasBeenSet() const
const Aws::String & GetRegion() const
bool RegionHasBeenSet() const
UpdateInfoEntry & WithStartTime(StartTimeT &&value)
void SetRegion(RegionT &&value)
bool NewValueHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
UpdateInfoEntry & WithRegion(RegionT &&value)
UpdateStatus GetStatus() const
bool StatusHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue