AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ChangeProgressStatusDetails.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/es/model/OverallChangeStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/es/model/ConfigChangeStatus.h>
13#include <aws/es/model/InitiatedBy.h>
14#include <aws/es/model/ChangeProgressStage.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace ElasticsearchService
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails() = default;
42 AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue);
43 AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetChangeId() const { return m_changeId; }
53 inline bool ChangeIdHasBeenSet() const { return m_changeIdHasBeenSet; }
54 template<typename ChangeIdT = Aws::String>
55 void SetChangeId(ChangeIdT&& value) { m_changeIdHasBeenSet = true; m_changeId = std::forward<ChangeIdT>(value); }
56 template<typename ChangeIdT = Aws::String>
57 ChangeProgressStatusDetails& WithChangeId(ChangeIdT&& value) { SetChangeId(std::forward<ChangeIdT>(value)); return *this;}
59
61
64 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
65 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
66 template<typename StartTimeT = Aws::Utils::DateTime>
67 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
68 template<typename StartTimeT = Aws::Utils::DateTime>
69 ChangeProgressStatusDetails& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
71
73
78 inline OverallChangeStatus GetStatus() const { return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(OverallChangeStatus value) { m_statusHasBeenSet = true; m_status = value; }
83
85
89 inline const Aws::Vector<Aws::String>& GetPendingProperties() const { return m_pendingProperties; }
90 inline bool PendingPropertiesHasBeenSet() const { return m_pendingPropertiesHasBeenSet; }
91 template<typename PendingPropertiesT = Aws::Vector<Aws::String>>
92 void SetPendingProperties(PendingPropertiesT&& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties = std::forward<PendingPropertiesT>(value); }
93 template<typename PendingPropertiesT = Aws::Vector<Aws::String>>
94 ChangeProgressStatusDetails& WithPendingProperties(PendingPropertiesT&& value) { SetPendingProperties(std::forward<PendingPropertiesT>(value)); return *this;}
95 template<typename PendingPropertiesT = Aws::String>
96 ChangeProgressStatusDetails& AddPendingProperties(PendingPropertiesT&& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.emplace_back(std::forward<PendingPropertiesT>(value)); return *this; }
98
100
104 inline const Aws::Vector<Aws::String>& GetCompletedProperties() const { return m_completedProperties; }
105 inline bool CompletedPropertiesHasBeenSet() const { return m_completedPropertiesHasBeenSet; }
106 template<typename CompletedPropertiesT = Aws::Vector<Aws::String>>
107 void SetCompletedProperties(CompletedPropertiesT&& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties = std::forward<CompletedPropertiesT>(value); }
108 template<typename CompletedPropertiesT = Aws::Vector<Aws::String>>
109 ChangeProgressStatusDetails& WithCompletedProperties(CompletedPropertiesT&& value) { SetCompletedProperties(std::forward<CompletedPropertiesT>(value)); return *this;}
110 template<typename CompletedPropertiesT = Aws::String>
111 ChangeProgressStatusDetails& AddCompletedProperties(CompletedPropertiesT&& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.emplace_back(std::forward<CompletedPropertiesT>(value)); return *this; }
113
115
118 inline int GetTotalNumberOfStages() const { return m_totalNumberOfStages; }
119 inline bool TotalNumberOfStagesHasBeenSet() const { return m_totalNumberOfStagesHasBeenSet; }
120 inline void SetTotalNumberOfStages(int value) { m_totalNumberOfStagesHasBeenSet = true; m_totalNumberOfStages = value; }
123
125
129 inline const Aws::Vector<ChangeProgressStage>& GetChangeProgressStages() const { return m_changeProgressStages; }
130 inline bool ChangeProgressStagesHasBeenSet() const { return m_changeProgressStagesHasBeenSet; }
131 template<typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
132 void SetChangeProgressStages(ChangeProgressStagesT&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = std::forward<ChangeProgressStagesT>(value); }
133 template<typename ChangeProgressStagesT = Aws::Vector<ChangeProgressStage>>
134 ChangeProgressStatusDetails& WithChangeProgressStages(ChangeProgressStagesT&& value) { SetChangeProgressStages(std::forward<ChangeProgressStagesT>(value)); return *this;}
135 template<typename ChangeProgressStagesT = ChangeProgressStage>
136 ChangeProgressStatusDetails& AddChangeProgressStages(ChangeProgressStagesT&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.emplace_back(std::forward<ChangeProgressStagesT>(value)); return *this; }
138
140
143 inline ConfigChangeStatus GetConfigChangeStatus() const { return m_configChangeStatus; }
144 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
145 inline void SetConfigChangeStatus(ConfigChangeStatus value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
148
150
153 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
154 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
155 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
156 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
157 template<typename LastUpdatedTimeT = Aws::Utils::DateTime>
158 ChangeProgressStatusDetails& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
160
162
165 inline InitiatedBy GetInitiatedBy() const { return m_initiatedBy; }
166 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
167 inline void SetInitiatedBy(InitiatedBy value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
170 private:
171
172 Aws::String m_changeId;
173 bool m_changeIdHasBeenSet = false;
174
175 Aws::Utils::DateTime m_startTime{};
176 bool m_startTimeHasBeenSet = false;
177
179 bool m_statusHasBeenSet = false;
180
181 Aws::Vector<Aws::String> m_pendingProperties;
182 bool m_pendingPropertiesHasBeenSet = false;
183
184 Aws::Vector<Aws::String> m_completedProperties;
185 bool m_completedPropertiesHasBeenSet = false;
186
187 int m_totalNumberOfStages{0};
188 bool m_totalNumberOfStagesHasBeenSet = false;
189
190 Aws::Vector<ChangeProgressStage> m_changeProgressStages;
191 bool m_changeProgressStagesHasBeenSet = false;
192
194 bool m_configChangeStatusHasBeenSet = false;
195
196 Aws::Utils::DateTime m_lastUpdatedTime{};
197 bool m_lastUpdatedTimeHasBeenSet = false;
198
199 InitiatedBy m_initiatedBy{InitiatedBy::NOT_SET};
200 bool m_initiatedByHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace ElasticsearchService
205} // namespace Aws
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ChangeProgressStatusDetails & WithInitiatedBy(InitiatedBy value)
ChangeProgressStatusDetails & WithCompletedProperties(CompletedPropertiesT &&value)
ChangeProgressStatusDetails & WithStatus(OverallChangeStatus value)
ChangeProgressStatusDetails & WithConfigChangeStatus(ConfigChangeStatus value)
ChangeProgressStatusDetails & AddPendingProperties(PendingPropertiesT &&value)
ChangeProgressStatusDetails & WithChangeProgressStages(ChangeProgressStagesT &&value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails()=default
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatusDetails & WithStartTime(StartTimeT &&value)
ChangeProgressStatusDetails & AddCompletedProperties(CompletedPropertiesT &&value)
ChangeProgressStatusDetails & WithChangeId(ChangeIdT &&value)
ChangeProgressStatusDetails & WithPendingProperties(PendingPropertiesT &&value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatusDetails & AddChangeProgressStages(ChangeProgressStagesT &&value)
ChangeProgressStatusDetails & WithLastUpdatedTime(LastUpdatedTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue