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>
25namespace OpenSearchService {
48 template <
typename ChangeIdT = Aws::String>
50 m_changeIdHasBeenSet =
true;
51 m_changeId = std::forward<ChangeIdT>(value);
53 template <
typename ChangeIdT = Aws::String>
66 template <
typename StartTimeT = Aws::Utils::DateTime>
68 m_startTimeHasBeenSet =
true;
69 m_startTime = std::forward<StartTimeT>(value);
71 template <
typename StartTimeT = Aws::Utils::DateTime>
85 m_statusHasBeenSet =
true;
101 template <
typename PendingPropertiesT = Aws::Vector<Aws::String>>
103 m_pendingPropertiesHasBeenSet =
true;
104 m_pendingProperties = std::forward<PendingPropertiesT>(value);
106 template <
typename PendingPropertiesT = Aws::Vector<Aws::String>>
111 template <
typename PendingPropertiesT = Aws::String>
113 m_pendingPropertiesHasBeenSet =
true;
114 m_pendingProperties.emplace_back(std::forward<PendingPropertiesT>(value));
126 template <
typename CompletedPropertiesT = Aws::Vector<Aws::String>>
128 m_completedPropertiesHasBeenSet =
true;
129 m_completedProperties = std::forward<CompletedPropertiesT>(value);
131 template <
typename CompletedPropertiesT = Aws::Vector<Aws::String>>
136 template <
typename CompletedPropertiesT = Aws::String>
138 m_completedPropertiesHasBeenSet =
true;
139 m_completedProperties.emplace_back(std::forward<CompletedPropertiesT>(value));
151 m_totalNumberOfStagesHasBeenSet =
true;
152 m_totalNumberOfStages = value;
167 template <
typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
169 m_changeProgressStagesHasBeenSet =
true;
170 m_changeProgressStages = std::forward<ChangeProgressStagesT>(value);
172 template <
typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
177 template <
typename ChangeProgressStagesT = ChangeProgressStage>
179 m_changeProgressStagesHasBeenSet =
true;
180 m_changeProgressStages.emplace_back(std::forward<ChangeProgressStagesT>(value));
191 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
193 m_lastUpdatedTimeHasBeenSet =
true;
194 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
196 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
210 m_configChangeStatusHasBeenSet =
true;
211 m_configChangeStatus = value;
226 m_initiatedByHasBeenSet =
true;
227 m_initiatedBy = value;
245 int m_totalNumberOfStages{0};
254 bool m_changeIdHasBeenSet =
false;
255 bool m_startTimeHasBeenSet =
false;
256 bool m_statusHasBeenSet =
false;
257 bool m_pendingPropertiesHasBeenSet =
false;
258 bool m_completedPropertiesHasBeenSet =
false;
259 bool m_totalNumberOfStagesHasBeenSet =
false;
260 bool m_changeProgressStagesHasBeenSet =
false;
261 bool m_lastUpdatedTimeHasBeenSet =
false;
262 bool m_configChangeStatusHasBeenSet =
false;
263 bool m_initiatedByHasBeenSet =
false;
ChangeProgressStatusDetails & WithStartTime(StartTimeT &&value)
ChangeProgressStatusDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
bool ChangeIdHasBeenSet() const
ChangeProgressStatusDetails & AddChangeProgressStages(ChangeProgressStagesT &&value)
const Aws::String & GetChangeId() 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)
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
ChangeProgressStatusDetails & WithTotalNumberOfStages(int 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
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)
bool ConfigChangeStatusHasBeenSet() const
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
bool ChangeProgressStagesHasBeenSet() const
OverallChangeStatus GetStatus() const
const Aws::Vector< Aws::String > & GetCompletedProperties() const
ChangeProgressStatusDetails & WithChangeProgressStages(ChangeProgressStagesT &&value)
void SetChangeProgressStages(ChangeProgressStagesT &&value)
void SetTotalNumberOfStages(int value)
ChangeProgressStatusDetails & WithCompletedProperties(CompletedPropertiesT &&value)
void SetCompletedProperties(CompletedPropertiesT &&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