7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/ChangeProgressStage.h>
12#include <aws/opensearch/model/ConfigChangeStatus.h>
13#include <aws/opensearch/model/InitiatedBy.h>
14#include <aws/opensearch/model/OverallChangeStatus.h>
15#include <aws/opensearch/model/ValidationFailure.h>
26namespace OpenSearchService {
49 template <
typename ChangeIdT = Aws::String>
51 m_changeIdHasBeenSet =
true;
52 m_changeId = std::forward<ChangeIdT>(value);
54 template <
typename ChangeIdT = Aws::String>
67 template <
typename StartTimeT = Aws::Utils::DateTime>
69 m_startTimeHasBeenSet =
true;
70 m_startTime = std::forward<StartTimeT>(value);
72 template <
typename StartTimeT = Aws::Utils::DateTime>
86 m_statusHasBeenSet =
true;
102 template <
typename PendingPropertiesT = Aws::Vector<Aws::String>>
104 m_pendingPropertiesHasBeenSet =
true;
105 m_pendingProperties = std::forward<PendingPropertiesT>(value);
107 template <
typename PendingPropertiesT = Aws::Vector<Aws::String>>
112 template <
typename PendingPropertiesT = Aws::String>
114 m_pendingPropertiesHasBeenSet =
true;
115 m_pendingProperties.emplace_back(std::forward<PendingPropertiesT>(value));
127 template <
typename CompletedPropertiesT = Aws::Vector<Aws::String>>
129 m_completedPropertiesHasBeenSet =
true;
130 m_completedProperties = std::forward<CompletedPropertiesT>(value);
132 template <
typename CompletedPropertiesT = Aws::Vector<Aws::String>>
137 template <
typename CompletedPropertiesT = Aws::String>
139 m_completedPropertiesHasBeenSet =
true;
140 m_completedProperties.emplace_back(std::forward<CompletedPropertiesT>(value));
152 m_totalNumberOfStagesHasBeenSet =
true;
153 m_totalNumberOfStages = value;
168 template <
typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
170 m_changeProgressStagesHasBeenSet =
true;
171 m_changeProgressStages = std::forward<ChangeProgressStagesT>(value);
173 template <
typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
178 template <
typename ChangeProgressStagesT = ChangeProgressStage>
180 m_changeProgressStagesHasBeenSet =
true;
181 m_changeProgressStages.emplace_back(std::forward<ChangeProgressStagesT>(value));
192 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
194 m_lastUpdatedTimeHasBeenSet =
true;
195 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
197 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
211 m_configChangeStatusHasBeenSet =
true;
212 m_configChangeStatus = value;
227 m_initiatedByHasBeenSet =
true;
228 m_initiatedBy = value;
243 template <
typename Val
idationFailuresT = Aws::Vector<Val
idationFailure>>
245 m_validationFailuresHasBeenSet =
true;
246 m_validationFailures = std::forward<ValidationFailuresT>(value);
248 template <
typename Val
idationFailuresT = Aws::Vector<Val
idationFailure>>
253 template <
typename Val
idationFailuresT = Val
idationFailure>
255 m_validationFailuresHasBeenSet =
true;
256 m_validationFailures.emplace_back(std::forward<ValidationFailuresT>(value));
268 template <
typename AcceptedWarningsT = Aws::Vector<Aws::String>>
270 m_acceptedWarningsHasBeenSet =
true;
271 m_acceptedWarnings = std::forward<AcceptedWarningsT>(value);
273 template <
typename AcceptedWarningsT = Aws::Vector<Aws::String>>
278 template <
typename AcceptedWarningsT = Aws::String>
280 m_acceptedWarningsHasBeenSet =
true;
281 m_acceptedWarnings.emplace_back(std::forward<AcceptedWarningsT>(value));
296 int m_totalNumberOfStages{0};
309 bool m_changeIdHasBeenSet =
false;
310 bool m_startTimeHasBeenSet =
false;
311 bool m_statusHasBeenSet =
false;
312 bool m_pendingPropertiesHasBeenSet =
false;
313 bool m_completedPropertiesHasBeenSet =
false;
314 bool m_totalNumberOfStagesHasBeenSet =
false;
315 bool m_changeProgressStagesHasBeenSet =
false;
316 bool m_lastUpdatedTimeHasBeenSet =
false;
317 bool m_configChangeStatusHasBeenSet =
false;
318 bool m_initiatedByHasBeenSet =
false;
319 bool m_validationFailuresHasBeenSet =
false;
320 bool m_acceptedWarningsHasBeenSet =
false;
ChangeProgressStatusDetails & WithStartTime(StartTimeT &&value)
ChangeProgressStatusDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool ChangeIdHasBeenSet() const
ChangeProgressStatusDetails & AddChangeProgressStages(ChangeProgressStagesT &&value)
const Aws::String & GetChangeId() const
bool ValidationFailuresHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails()=default
ChangeProgressStatusDetails & WithInitiatedBy(InitiatedBy value)
void SetChangeId(ChangeIdT &&value)
bool PendingPropertiesHasBeenSet() const
bool StatusHasBeenSet() const
const Aws::Vector< Aws::String > & GetPendingProperties() const
bool InitiatedByHasBeenSet() const
ChangeProgressStatusDetails & AddCompletedProperties(CompletedPropertiesT &&value)
bool AcceptedWarningsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
ChangeProgressStatusDetails & WithTotalNumberOfStages(int value)
void SetValidationFailures(ValidationFailuresT &&value)
ChangeProgressStatusDetails & WithConfigChangeStatus(ConfigChangeStatus value)
ChangeProgressStatusDetails & WithChangeId(ChangeIdT &&value)
bool LastUpdatedTimeHasBeenSet() const
ChangeProgressStatusDetails & WithPendingProperties(PendingPropertiesT &&value)
void SetStatus(OverallChangeStatus value)
bool CompletedPropertiesHasBeenSet() const
void SetStartTime(StartTimeT &&value)
void SetPendingProperties(PendingPropertiesT &&value)
int GetTotalNumberOfStages() const
void SetAcceptedWarnings(AcceptedWarningsT &&value)
ChangeProgressStatusDetails & AddPendingProperties(PendingPropertiesT &&value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
void SetInitiatedBy(InitiatedBy value)
bool TotalNumberOfStagesHasBeenSet() const
ChangeProgressStatusDetails & WithStatus(OverallChangeStatus value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
InitiatedBy GetInitiatedBy() const
ConfigChangeStatus GetConfigChangeStatus() const
void SetConfigChangeStatus(ConfigChangeStatus value)
const Aws::Vector< Aws::String > & GetAcceptedWarnings() const
bool ConfigChangeStatusHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatusDetails & WithValidationFailures(ValidationFailuresT &&value)
bool StartTimeHasBeenSet() const
bool ChangeProgressStagesHasBeenSet() const
OverallChangeStatus GetStatus() const
const Aws::Vector< Aws::String > & GetCompletedProperties() const
ChangeProgressStatusDetails & WithChangeProgressStages(ChangeProgressStagesT &&value)
ChangeProgressStatusDetails & AddValidationFailures(ValidationFailuresT &&value)
void SetChangeProgressStages(ChangeProgressStagesT &&value)
void SetTotalNumberOfStages(int value)
ChangeProgressStatusDetails & WithCompletedProperties(CompletedPropertiesT &&value)
ChangeProgressStatusDetails & WithAcceptedWarnings(AcceptedWarningsT &&value)
const Aws::Vector< ValidationFailure > & GetValidationFailures() const
void SetCompletedProperties(CompletedPropertiesT &&value)
ChangeProgressStatusDetails & AddAcceptedWarnings(AcceptedWarningsT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::Utils::DateTime & GetStartTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue