AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetChangeId(const Aws::String& value) { m_changeIdHasBeenSet = true; m_changeId = value; }
55 inline void SetChangeId(Aws::String&& value) { m_changeIdHasBeenSet = true; m_changeId = std::move(value); }
56 inline void SetChangeId(const char* value) { m_changeIdHasBeenSet = true; m_changeId.assign(value); }
57 inline ChangeProgressStatusDetails& WithChangeId(const Aws::String& value) { SetChangeId(value); return *this;}
58 inline ChangeProgressStatusDetails& WithChangeId(Aws::String&& value) { SetChangeId(std::move(value)); return *this;}
59 inline ChangeProgressStatusDetails& WithChangeId(const char* value) { SetChangeId(value); return *this;}
61
63
66 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
67 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
68 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
69 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
70 inline ChangeProgressStatusDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
71 inline ChangeProgressStatusDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
73
75
80 inline const OverallChangeStatus& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const OverallChangeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(OverallChangeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
84 inline ChangeProgressStatusDetails& WithStatus(const OverallChangeStatus& value) { SetStatus(value); return *this;}
85 inline ChangeProgressStatusDetails& WithStatus(OverallChangeStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
93 inline const Aws::Vector<Aws::String>& GetPendingProperties() const{ return m_pendingProperties; }
94 inline bool PendingPropertiesHasBeenSet() const { return m_pendingPropertiesHasBeenSet; }
95 inline void SetPendingProperties(const Aws::Vector<Aws::String>& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties = value; }
96 inline void SetPendingProperties(Aws::Vector<Aws::String>&& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties = std::move(value); }
99 inline ChangeProgressStatusDetails& AddPendingProperties(const Aws::String& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.push_back(value); return *this; }
100 inline ChangeProgressStatusDetails& AddPendingProperties(Aws::String&& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.push_back(std::move(value)); return *this; }
101 inline ChangeProgressStatusDetails& AddPendingProperties(const char* value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.push_back(value); return *this; }
103
105
109 inline const Aws::Vector<Aws::String>& GetCompletedProperties() const{ return m_completedProperties; }
110 inline bool CompletedPropertiesHasBeenSet() const { return m_completedPropertiesHasBeenSet; }
111 inline void SetCompletedProperties(const Aws::Vector<Aws::String>& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties = value; }
112 inline void SetCompletedProperties(Aws::Vector<Aws::String>&& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties = std::move(value); }
115 inline ChangeProgressStatusDetails& AddCompletedProperties(const Aws::String& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.push_back(value); return *this; }
116 inline ChangeProgressStatusDetails& AddCompletedProperties(Aws::String&& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.push_back(std::move(value)); return *this; }
117 inline ChangeProgressStatusDetails& AddCompletedProperties(const char* value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.push_back(value); return *this; }
119
121
124 inline int GetTotalNumberOfStages() const{ return m_totalNumberOfStages; }
125 inline bool TotalNumberOfStagesHasBeenSet() const { return m_totalNumberOfStagesHasBeenSet; }
126 inline void SetTotalNumberOfStages(int value) { m_totalNumberOfStagesHasBeenSet = true; m_totalNumberOfStages = value; }
129
131
135 inline const Aws::Vector<ChangeProgressStage>& GetChangeProgressStages() const{ return m_changeProgressStages; }
136 inline bool ChangeProgressStagesHasBeenSet() const { return m_changeProgressStagesHasBeenSet; }
137 inline void SetChangeProgressStages(const Aws::Vector<ChangeProgressStage>& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = value; }
138 inline void SetChangeProgressStages(Aws::Vector<ChangeProgressStage>&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = std::move(value); }
141 inline ChangeProgressStatusDetails& AddChangeProgressStages(const ChangeProgressStage& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(value); return *this; }
142 inline ChangeProgressStatusDetails& AddChangeProgressStages(ChangeProgressStage&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(std::move(value)); return *this; }
144
146
149 inline const ConfigChangeStatus& GetConfigChangeStatus() const{ return m_configChangeStatus; }
150 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
151 inline void SetConfigChangeStatus(const ConfigChangeStatus& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
152 inline void SetConfigChangeStatus(ConfigChangeStatus&& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = std::move(value); }
156
158
161 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
162 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
163 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
164 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
168
170
173 inline const InitiatedBy& GetInitiatedBy() const{ return m_initiatedBy; }
174 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
175 inline void SetInitiatedBy(const InitiatedBy& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
176 inline void SetInitiatedBy(InitiatedBy&& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = std::move(value); }
177 inline ChangeProgressStatusDetails& WithInitiatedBy(const InitiatedBy& value) { SetInitiatedBy(value); return *this;}
178 inline ChangeProgressStatusDetails& WithInitiatedBy(InitiatedBy&& value) { SetInitiatedBy(std::move(value)); return *this;}
180 private:
181
182 Aws::String m_changeId;
183 bool m_changeIdHasBeenSet = false;
184
185 Aws::Utils::DateTime m_startTime;
186 bool m_startTimeHasBeenSet = false;
187
188 OverallChangeStatus m_status;
189 bool m_statusHasBeenSet = false;
190
191 Aws::Vector<Aws::String> m_pendingProperties;
192 bool m_pendingPropertiesHasBeenSet = false;
193
194 Aws::Vector<Aws::String> m_completedProperties;
195 bool m_completedPropertiesHasBeenSet = false;
196
197 int m_totalNumberOfStages;
198 bool m_totalNumberOfStagesHasBeenSet = false;
199
200 Aws::Vector<ChangeProgressStage> m_changeProgressStages;
201 bool m_changeProgressStagesHasBeenSet = false;
202
203 ConfigChangeStatus m_configChangeStatus;
204 bool m_configChangeStatusHasBeenSet = false;
205
206 Aws::Utils::DateTime m_lastUpdatedTime;
207 bool m_lastUpdatedTimeHasBeenSet = false;
208
209 InitiatedBy m_initiatedBy;
210 bool m_initiatedByHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace ElasticsearchService
215} // namespace Aws
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
ChangeProgressStatusDetails & WithChangeId(const char *value)
ChangeProgressStatusDetails & WithCompletedProperties(const Aws::Vector< Aws::String > &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPendingProperties(const Aws::Vector< Aws::String > &value)
ChangeProgressStatusDetails & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ChangeProgressStatusDetails & WithStartTime(Aws::Utils::DateTime &&value)
ChangeProgressStatusDetails & AddPendingProperties(const char *value)
void SetChangeProgressStages(Aws::Vector< ChangeProgressStage > &&value)
ChangeProgressStatusDetails & WithCompletedProperties(Aws::Vector< Aws::String > &&value)
ChangeProgressStatusDetails & WithInitiatedBy(InitiatedBy &&value)
void SetCompletedProperties(const Aws::Vector< Aws::String > &value)
ChangeProgressStatusDetails & AddPendingProperties(Aws::String &&value)
ChangeProgressStatusDetails & WithInitiatedBy(const InitiatedBy &value)
ChangeProgressStatusDetails & WithStatus(const OverallChangeStatus &value)
void SetChangeProgressStages(const Aws::Vector< ChangeProgressStage > &value)
ChangeProgressStatusDetails & WithConfigChangeStatus(ConfigChangeStatus &&value)
ChangeProgressStatusDetails & WithConfigChangeStatus(const ConfigChangeStatus &value)
ChangeProgressStatusDetails & WithPendingProperties(const Aws::Vector< Aws::String > &value)
ChangeProgressStatusDetails & AddCompletedProperties(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatusDetails & WithChangeProgressStages(Aws::Vector< ChangeProgressStage > &&value)
ChangeProgressStatusDetails & AddChangeProgressStages(const ChangeProgressStage &value)
ChangeProgressStatusDetails & AddCompletedProperties(const Aws::String &value)
ChangeProgressStatusDetails & AddChangeProgressStages(ChangeProgressStage &&value)
ChangeProgressStatusDetails & WithStartTime(const Aws::Utils::DateTime &value)
ChangeProgressStatusDetails & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ChangeProgressStatusDetails & AddCompletedProperties(const char *value)
AWS_ELASTICSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatusDetails & WithChangeId(const Aws::String &value)
ChangeProgressStatusDetails & WithPendingProperties(Aws::Vector< Aws::String > &&value)
ChangeProgressStatusDetails & WithChangeId(Aws::String &&value)
ChangeProgressStatusDetails & AddPendingProperties(const Aws::String &value)
ChangeProgressStatusDetails & WithStatus(OverallChangeStatus &&value)
ChangeProgressStatusDetails & WithChangeProgressStages(const Aws::Vector< ChangeProgressStage > &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