7#include <aws/ds/DirectoryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ds/model/UpdateStatus.h>
10#include <aws/ds/model/UpdateValue.h>
11#include <aws/core/utils/DateTime.h>
24namespace DirectoryService
50 template<
typename RegionT = Aws::String>
51 void SetRegion(RegionT&& value) { m_regionHasBeenSet =
true; m_region = std::forward<RegionT>(value); }
52 template<
typename RegionT = Aws::String>
72 template<
typename StatusReasonT = Aws::String>
73 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
74 template<
typename StatusReasonT = Aws::String>
85 template<
typename InitiatedByT = Aws::String>
86 void SetInitiatedBy(InitiatedByT&& value) { m_initiatedByHasBeenSet =
true; m_initiatedBy = std::forward<InitiatedByT>(value); }
87 template<
typename InitiatedByT = Aws::String>
97 template<
typename NewValueT = UpdateValue>
98 void SetNewValue(NewValueT&& value) { m_newValueHasBeenSet =
true; m_newValue = std::forward<NewValueT>(value); }
99 template<
typename NewValueT = UpdateValue>
109 template<
typename PreviousValueT = UpdateValue>
110 void SetPreviousValue(PreviousValueT&& value) { m_previousValueHasBeenSet =
true; m_previousValue = std::forward<PreviousValueT>(value); }
111 template<
typename PreviousValueT = UpdateValue>
122 template<
typename StartTimeT = Aws::Utils::DateTime>
123 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
124 template<
typename StartTimeT = Aws::Utils::DateTime>
134 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
135 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet =
true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
136 template<
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
142 bool m_regionHasBeenSet =
false;
145 bool m_statusHasBeenSet =
false;
148 bool m_statusReasonHasBeenSet =
false;
151 bool m_initiatedByHasBeenSet =
false;
153 UpdateValue m_newValue;
154 bool m_newValueHasBeenSet =
false;
156 UpdateValue m_previousValue;
157 bool m_previousValueHasBeenSet =
false;
160 bool m_startTimeHasBeenSet =
false;
163 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