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/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/opensearch/model/OverallChangeStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/opensearch/model/ConfigChangeStatus.h>
13#include <aws/opensearch/model/InitiatedBy.h>
14#include <aws/opensearch/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 OpenSearchService
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails();
42 AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue);
44 AWS_OPENSEARCHSERVICE_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
78 inline const OverallChangeStatus& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const OverallChangeStatus& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(OverallChangeStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline ChangeProgressStatusDetails& WithStatus(const OverallChangeStatus& value) { SetStatus(value); return *this;}
83 inline ChangeProgressStatusDetails& WithStatus(OverallChangeStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
91 inline const Aws::Vector<Aws::String>& GetPendingProperties() const{ return m_pendingProperties; }
92 inline bool PendingPropertiesHasBeenSet() const { return m_pendingPropertiesHasBeenSet; }
93 inline void SetPendingProperties(const Aws::Vector<Aws::String>& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties = value; }
94 inline void SetPendingProperties(Aws::Vector<Aws::String>&& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties = std::move(value); }
97 inline ChangeProgressStatusDetails& AddPendingProperties(const Aws::String& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.push_back(value); return *this; }
98 inline ChangeProgressStatusDetails& AddPendingProperties(Aws::String&& value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.push_back(std::move(value)); return *this; }
99 inline ChangeProgressStatusDetails& AddPendingProperties(const char* value) { m_pendingPropertiesHasBeenSet = true; m_pendingProperties.push_back(value); return *this; }
101
103
107 inline const Aws::Vector<Aws::String>& GetCompletedProperties() const{ return m_completedProperties; }
108 inline bool CompletedPropertiesHasBeenSet() const { return m_completedPropertiesHasBeenSet; }
109 inline void SetCompletedProperties(const Aws::Vector<Aws::String>& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties = value; }
110 inline void SetCompletedProperties(Aws::Vector<Aws::String>&& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties = std::move(value); }
113 inline ChangeProgressStatusDetails& AddCompletedProperties(const Aws::String& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.push_back(value); return *this; }
114 inline ChangeProgressStatusDetails& AddCompletedProperties(Aws::String&& value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.push_back(std::move(value)); return *this; }
115 inline ChangeProgressStatusDetails& AddCompletedProperties(const char* value) { m_completedPropertiesHasBeenSet = true; m_completedProperties.push_back(value); return *this; }
117
119
122 inline int GetTotalNumberOfStages() const{ return m_totalNumberOfStages; }
123 inline bool TotalNumberOfStagesHasBeenSet() const { return m_totalNumberOfStagesHasBeenSet; }
124 inline void SetTotalNumberOfStages(int value) { m_totalNumberOfStagesHasBeenSet = true; m_totalNumberOfStages = value; }
127
129
133 inline const Aws::Vector<ChangeProgressStage>& GetChangeProgressStages() const{ return m_changeProgressStages; }
134 inline bool ChangeProgressStagesHasBeenSet() const { return m_changeProgressStagesHasBeenSet; }
135 inline void SetChangeProgressStages(const Aws::Vector<ChangeProgressStage>& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = value; }
136 inline void SetChangeProgressStages(Aws::Vector<ChangeProgressStage>&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages = std::move(value); }
139 inline ChangeProgressStatusDetails& AddChangeProgressStages(const ChangeProgressStage& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(value); return *this; }
140 inline ChangeProgressStatusDetails& AddChangeProgressStages(ChangeProgressStage&& value) { m_changeProgressStagesHasBeenSet = true; m_changeProgressStages.push_back(std::move(value)); return *this; }
142
144
147 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
148 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
149 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
150 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
154
156
159 inline const ConfigChangeStatus& GetConfigChangeStatus() const{ return m_configChangeStatus; }
160 inline bool ConfigChangeStatusHasBeenSet() const { return m_configChangeStatusHasBeenSet; }
161 inline void SetConfigChangeStatus(const ConfigChangeStatus& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = value; }
162 inline void SetConfigChangeStatus(ConfigChangeStatus&& value) { m_configChangeStatusHasBeenSet = true; m_configChangeStatus = std::move(value); }
166
168
171 inline const InitiatedBy& GetInitiatedBy() const{ return m_initiatedBy; }
172 inline bool InitiatedByHasBeenSet() const { return m_initiatedByHasBeenSet; }
173 inline void SetInitiatedBy(const InitiatedBy& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = value; }
174 inline void SetInitiatedBy(InitiatedBy&& value) { m_initiatedByHasBeenSet = true; m_initiatedBy = std::move(value); }
175 inline ChangeProgressStatusDetails& WithInitiatedBy(const InitiatedBy& value) { SetInitiatedBy(value); return *this;}
176 inline ChangeProgressStatusDetails& WithInitiatedBy(InitiatedBy&& value) { SetInitiatedBy(std::move(value)); return *this;}
178 private:
179
180 Aws::String m_changeId;
181 bool m_changeIdHasBeenSet = false;
182
183 Aws::Utils::DateTime m_startTime;
184 bool m_startTimeHasBeenSet = false;
185
186 OverallChangeStatus m_status;
187 bool m_statusHasBeenSet = false;
188
189 Aws::Vector<Aws::String> m_pendingProperties;
190 bool m_pendingPropertiesHasBeenSet = false;
191
192 Aws::Vector<Aws::String> m_completedProperties;
193 bool m_completedPropertiesHasBeenSet = false;
194
195 int m_totalNumberOfStages;
196 bool m_totalNumberOfStagesHasBeenSet = false;
197
198 Aws::Vector<ChangeProgressStage> m_changeProgressStages;
199 bool m_changeProgressStagesHasBeenSet = false;
200
201 Aws::Utils::DateTime m_lastUpdatedTime;
202 bool m_lastUpdatedTimeHasBeenSet = false;
203
204 ConfigChangeStatus m_configChangeStatus;
205 bool m_configChangeStatusHasBeenSet = false;
206
207 InitiatedBy m_initiatedBy;
208 bool m_initiatedByHasBeenSet = false;
209 };
210
211} // namespace Model
212} // namespace OpenSearchService
213} // namespace Aws
ChangeProgressStatusDetails & AddCompletedProperties(Aws::String &&value)
void SetPendingProperties(const Aws::Vector< Aws::String > &value)
ChangeProgressStatusDetails & AddPendingProperties(const Aws::String &value)
ChangeProgressStatusDetails & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
ChangeProgressStatusDetails & AddCompletedProperties(const Aws::String &value)
void SetChangeProgressStages(const Aws::Vector< ChangeProgressStage > &value)
ChangeProgressStatusDetails & WithConfigChangeStatus(ConfigChangeStatus &&value)
ChangeProgressStatusDetails & WithInitiatedBy(const InitiatedBy &value)
ChangeProgressStatusDetails & WithStatus(const OverallChangeStatus &value)
ChangeProgressStatusDetails & WithChangeId(Aws::String &&value)
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ChangeProgressStage > & GetChangeProgressStages() const
void SetChangeProgressStages(Aws::Vector< ChangeProgressStage > &&value)
ChangeProgressStatusDetails & WithConfigChangeStatus(const ConfigChangeStatus &value)
ChangeProgressStatusDetails & WithCompletedProperties(Aws::Vector< Aws::String > &&value)
ChangeProgressStatusDetails & WithChangeProgressStages(const Aws::Vector< ChangeProgressStage > &value)
ChangeProgressStatusDetails & WithChangeProgressStages(Aws::Vector< ChangeProgressStage > &&value)
ChangeProgressStatusDetails & AddChangeProgressStages(ChangeProgressStage &&value)
ChangeProgressStatusDetails & AddCompletedProperties(const char *value)
ChangeProgressStatusDetails & AddPendingProperties(const char *value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompletedProperties(const Aws::Vector< Aws::String > &value)
ChangeProgressStatusDetails & WithPendingProperties(const Aws::Vector< Aws::String > &value)
AWS_OPENSEARCHSERVICE_API ChangeProgressStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ChangeProgressStatusDetails & WithChangeId(const char *value)
ChangeProgressStatusDetails & WithCompletedProperties(const Aws::Vector< Aws::String > &value)
ChangeProgressStatusDetails & WithStatus(OverallChangeStatus &&value)
ChangeProgressStatusDetails & AddChangeProgressStages(const ChangeProgressStage &value)
ChangeProgressStatusDetails & WithStartTime(Aws::Utils::DateTime &&value)
ChangeProgressStatusDetails & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
ChangeProgressStatusDetails & WithStartTime(const Aws::Utils::DateTime &value)
ChangeProgressStatusDetails & WithChangeId(const Aws::String &value)
ChangeProgressStatusDetails & AddPendingProperties(Aws::String &&value)
ChangeProgressStatusDetails & WithPendingProperties(Aws::Vector< Aws::String > &&value)
ChangeProgressStatusDetails & WithInitiatedBy(InitiatedBy &&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