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/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/ChangeProgressStage.h>
12#include <aws/es/model/ConfigChangeStatus.h>
13#include <aws/es/model/InitiatedBy.h>
14#include <aws/es/model/OverallChangeStatus.h>
25namespace ElasticsearchService {
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>
87 m_statusHasBeenSet =
true;
103 template <
typename PendingPropertiesT = Aws::Vector<Aws::String>>
105 m_pendingPropertiesHasBeenSet =
true;
106 m_pendingProperties = std::forward<PendingPropertiesT>(value);
108 template <
typename PendingPropertiesT = Aws::Vector<Aws::String>>
113 template <
typename PendingPropertiesT = Aws::String>
115 m_pendingPropertiesHasBeenSet =
true;
116 m_pendingProperties.emplace_back(std::forward<PendingPropertiesT>(value));
128 template <
typename CompletedPropertiesT = Aws::Vector<Aws::String>>
130 m_completedPropertiesHasBeenSet =
true;
131 m_completedProperties = std::forward<CompletedPropertiesT>(value);
133 template <
typename CompletedPropertiesT = Aws::Vector<Aws::String>>
138 template <
typename CompletedPropertiesT = Aws::String>
140 m_completedPropertiesHasBeenSet =
true;
141 m_completedProperties.emplace_back(std::forward<CompletedPropertiesT>(value));
153 m_totalNumberOfStagesHasBeenSet =
true;
154 m_totalNumberOfStages = value;
169 template <
typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
171 m_changeProgressStagesHasBeenSet =
true;
172 m_changeProgressStages = std::forward<ChangeProgressStagesT>(value);
174 template <
typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
179 template <
typename ChangeProgressStagesT = ChangeProgressStage>
181 m_changeProgressStagesHasBeenSet =
true;
182 m_changeProgressStages.emplace_back(std::forward<ChangeProgressStagesT>(value));
194 m_configChangeStatusHasBeenSet =
true;
195 m_configChangeStatus = value;
209 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
211 m_lastUpdatedTimeHasBeenSet =
true;
212 m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value);
214 template <
typename LastUpdatedTimeT = Aws::Utils::DateTime>
228 m_initiatedByHasBeenSet =
true;
229 m_initiatedBy = value;
247 int m_totalNumberOfStages{0};
256 bool m_changeIdHasBeenSet =
false;
257 bool m_startTimeHasBeenSet =
false;
258 bool m_statusHasBeenSet =
false;
259 bool m_pendingPropertiesHasBeenSet =
false;
260 bool m_completedPropertiesHasBeenSet =
false;
261 bool m_totalNumberOfStagesHasBeenSet =
false;
262 bool m_changeProgressStagesHasBeenSet =
false;
263 bool m_configChangeStatusHasBeenSet =
false;
264 bool m_lastUpdatedTimeHasBeenSet =
false;
265 bool m_initiatedByHasBeenSet =
false;
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
bool StatusHasBeenSet() const
InitiatedBy GetInitiatedBy() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeProgressStatusDetails & WithInitiatedBy(InitiatedBy value)
ChangeProgressStatusDetails & WithCompletedProperties(CompletedPropertiesT &&value)
const Aws::Utils::DateTime & GetStartTime() const
ChangeProgressStatusDetails & WithTotalNumberOfStages(int value)
bool CompletedPropertiesHasBeenSet() const
void SetTotalNumberOfStages(int value)
void SetChangeProgressStages(ChangeProgressStagesT &&value)
ChangeProgressStatusDetails & WithStatus(OverallChangeStatus value)
ChangeProgressStatusDetails & WithConfigChangeStatus(ConfigChangeStatus value)
ChangeProgressStatusDetails & AddPendingProperties(PendingPropertiesT &&value)
bool ChangeIdHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdatedTime() const
const Aws::String & GetChangeId() const
const Aws::Vector< Aws::String > & GetPendingProperties() const
ChangeProgressStatusDetails & WithChangeProgressStages(ChangeProgressStagesT &&value)
const Aws::Vector< Aws::String > & GetCompletedProperties() const
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails()=default
void SetChangeId(ChangeIdT &&value)
bool TotalNumberOfStagesHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StartTimeHasBeenSet() const
bool LastUpdatedTimeHasBeenSet() const
ChangeProgressStatusDetails & WithStartTime(StartTimeT &&value)
void SetPendingProperties(PendingPropertiesT &&value)
ChangeProgressStatusDetails & AddCompletedProperties(CompletedPropertiesT &&value)
ChangeProgressStatusDetails & WithChangeId(ChangeIdT &&value)
bool PendingPropertiesHasBeenSet() const
int GetTotalNumberOfStages() const
bool ChangeProgressStagesHasBeenSet() const
ChangeProgressStatusDetails & WithPendingProperties(PendingPropertiesT &&value)
ConfigChangeStatus GetConfigChangeStatus() const
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(OverallChangeStatus value)
void SetInitiatedBy(InitiatedBy value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
bool ConfigChangeStatusHasBeenSet() const
OverallChangeStatus GetStatus() const
void SetStartTime(StartTimeT &&value)
void SetConfigChangeStatus(ConfigChangeStatus value)
ChangeProgressStatusDetails & AddChangeProgressStages(ChangeProgressStagesT &&value)
ChangeProgressStatusDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetCompletedProperties(CompletedPropertiesT &&value)
bool InitiatedByHasBeenSet() 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