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/HybridUpdateValue.h>
11#include <aws/ds/model/UpdateStatus.h>
22namespace DirectoryService {
46 m_statusHasBeenSet =
true;
62 template <
typename StatusReasonT = Aws::String>
64 m_statusReasonHasBeenSet =
true;
65 m_statusReason = std::forward<StatusReasonT>(value);
67 template <
typename StatusReasonT = Aws::String>
81 template <
typename InitiatedByT = Aws::String>
83 m_initiatedByHasBeenSet =
true;
84 m_initiatedBy = std::forward<InitiatedByT>(value);
86 template <
typename InitiatedByT = Aws::String>
99 template <
typename NewValueT = Hybr
idUpdateValue>
101 m_newValueHasBeenSet =
true;
102 m_newValue = std::forward<NewValueT>(value);
104 template <
typename NewValueT = Hybr
idUpdateValue>
117 template <
typename PreviousValueT = Hybr
idUpdateValue>
119 m_previousValueHasBeenSet =
true;
120 m_previousValue = std::forward<PreviousValueT>(value);
122 template <
typename PreviousValueT = Hybr
idUpdateValue>
135 template <
typename StartTimeT = Aws::Utils::DateTime>
137 m_startTimeHasBeenSet =
true;
138 m_startTime = std::forward<StartTimeT>(value);
140 template <
typename StartTimeT = Aws::Utils::DateTime>
153 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
155 m_lastUpdatedDateTimeHasBeenSet =
true;
156 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
158 template <
typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
172 template <
typename AssessmentIdT = Aws::String>
174 m_assessmentIdHasBeenSet =
true;
175 m_assessmentId = std::forward<AssessmentIdT>(value);
177 template <
typename AssessmentIdT = Aws::String>
190 HybridUpdateValue m_newValue;
192 HybridUpdateValue m_previousValue;
199 bool m_statusHasBeenSet =
false;
200 bool m_statusReasonHasBeenSet =
false;
201 bool m_initiatedByHasBeenSet =
false;
202 bool m_newValueHasBeenSet =
false;
203 bool m_previousValueHasBeenSet =
false;
204 bool m_startTimeHasBeenSet =
false;
205 bool m_lastUpdatedDateTimeHasBeenSet =
false;
206 bool m_assessmentIdHasBeenSet =
false;
bool StartTimeHasBeenSet() const
void SetStartTime(StartTimeT &&value)
bool PreviousValueHasBeenSet() const
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const HybridUpdateValue & GetPreviousValue() const
bool AssessmentIdHasBeenSet() const
const Aws::String & GetStatusReason() const
HybridUpdateInfoEntry & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateStatus GetStatus() const
HybridUpdateInfoEntry & WithAssessmentId(AssessmentIdT &&value)
bool StatusHasBeenSet() const
HybridUpdateInfoEntry & WithPreviousValue(PreviousValueT &&value)
const Aws::String & GetAssessmentId() const
AWS_DIRECTORYSERVICE_API HybridUpdateInfoEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetInitiatedBy() const
bool LastUpdatedDateTimeHasBeenSet() const
void SetInitiatedBy(InitiatedByT &&value)
const HybridUpdateValue & GetNewValue() const
AWS_DIRECTORYSERVICE_API HybridUpdateInfoEntry()=default
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetAssessmentId(AssessmentIdT &&value)
void SetNewValue(NewValueT &&value)
bool StatusReasonHasBeenSet() const
void SetPreviousValue(PreviousValueT &&value)
HybridUpdateInfoEntry & WithStatusReason(StatusReasonT &&value)
void SetStatusReason(StatusReasonT &&value)
bool NewValueHasBeenSet() const
HybridUpdateInfoEntry & WithInitiatedBy(InitiatedByT &&value)
HybridUpdateInfoEntry & WithNewValue(NewValueT &&value)
bool InitiatedByHasBeenSet() const
AWS_DIRECTORYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DIRECTORYSERVICE_API HybridUpdateInfoEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(UpdateStatus value)
HybridUpdateInfoEntry & WithStatus(UpdateStatus value)
const Aws::Utils::DateTime & GetStartTime() const
HybridUpdateInfoEntry & WithStartTime(StartTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue