AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeResizeResult.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace Redshift
26{
27namespace Model
28{
36 {
37 public:
38 AWS_REDSHIFT_API DescribeResizeResult();
41
42
44
48 inline const Aws::String& GetTargetNodeType() const{ return m_targetNodeType; }
49 inline void SetTargetNodeType(const Aws::String& value) { m_targetNodeType = value; }
50 inline void SetTargetNodeType(Aws::String&& value) { m_targetNodeType = std::move(value); }
51 inline void SetTargetNodeType(const char* value) { m_targetNodeType.assign(value); }
52 inline DescribeResizeResult& WithTargetNodeType(const Aws::String& value) { SetTargetNodeType(value); return *this;}
53 inline DescribeResizeResult& WithTargetNodeType(Aws::String&& value) { SetTargetNodeType(std::move(value)); return *this;}
54 inline DescribeResizeResult& WithTargetNodeType(const char* value) { SetTargetNodeType(value); return *this;}
56
58
62 inline int GetTargetNumberOfNodes() const{ return m_targetNumberOfNodes; }
63 inline void SetTargetNumberOfNodes(int value) { m_targetNumberOfNodes = value; }
64 inline DescribeResizeResult& WithTargetNumberOfNodes(int value) { SetTargetNumberOfNodes(value); return *this;}
66
68
72 inline const Aws::String& GetTargetClusterType() const{ return m_targetClusterType; }
73 inline void SetTargetClusterType(const Aws::String& value) { m_targetClusterType = value; }
74 inline void SetTargetClusterType(Aws::String&& value) { m_targetClusterType = std::move(value); }
75 inline void SetTargetClusterType(const char* value) { m_targetClusterType.assign(value); }
76 inline DescribeResizeResult& WithTargetClusterType(const Aws::String& value) { SetTargetClusterType(value); return *this;}
77 inline DescribeResizeResult& WithTargetClusterType(Aws::String&& value) { SetTargetClusterType(std::move(value)); return *this;}
78 inline DescribeResizeResult& WithTargetClusterType(const char* value) { SetTargetClusterType(value); return *this;}
80
82
87 inline const Aws::String& GetStatus() const{ return m_status; }
88 inline void SetStatus(const Aws::String& value) { m_status = value; }
89 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
90 inline void SetStatus(const char* value) { m_status.assign(value); }
91 inline DescribeResizeResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
92 inline DescribeResizeResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
93 inline DescribeResizeResult& WithStatus(const char* value) { SetStatus(value); return *this;}
95
97
101 inline const Aws::Vector<Aws::String>& GetImportTablesCompleted() const{ return m_importTablesCompleted; }
102 inline void SetImportTablesCompleted(const Aws::Vector<Aws::String>& value) { m_importTablesCompleted = value; }
103 inline void SetImportTablesCompleted(Aws::Vector<Aws::String>&& value) { m_importTablesCompleted = std::move(value); }
106 inline DescribeResizeResult& AddImportTablesCompleted(const Aws::String& value) { m_importTablesCompleted.push_back(value); return *this; }
107 inline DescribeResizeResult& AddImportTablesCompleted(Aws::String&& value) { m_importTablesCompleted.push_back(std::move(value)); return *this; }
108 inline DescribeResizeResult& AddImportTablesCompleted(const char* value) { m_importTablesCompleted.push_back(value); return *this; }
110
112
116 inline const Aws::Vector<Aws::String>& GetImportTablesInProgress() const{ return m_importTablesInProgress; }
117 inline void SetImportTablesInProgress(const Aws::Vector<Aws::String>& value) { m_importTablesInProgress = value; }
118 inline void SetImportTablesInProgress(Aws::Vector<Aws::String>&& value) { m_importTablesInProgress = std::move(value); }
121 inline DescribeResizeResult& AddImportTablesInProgress(const Aws::String& value) { m_importTablesInProgress.push_back(value); return *this; }
122 inline DescribeResizeResult& AddImportTablesInProgress(Aws::String&& value) { m_importTablesInProgress.push_back(std::move(value)); return *this; }
123 inline DescribeResizeResult& AddImportTablesInProgress(const char* value) { m_importTablesInProgress.push_back(value); return *this; }
125
127
131 inline const Aws::Vector<Aws::String>& GetImportTablesNotStarted() const{ return m_importTablesNotStarted; }
132 inline void SetImportTablesNotStarted(const Aws::Vector<Aws::String>& value) { m_importTablesNotStarted = value; }
133 inline void SetImportTablesNotStarted(Aws::Vector<Aws::String>&& value) { m_importTablesNotStarted = std::move(value); }
136 inline DescribeResizeResult& AddImportTablesNotStarted(const Aws::String& value) { m_importTablesNotStarted.push_back(value); return *this; }
137 inline DescribeResizeResult& AddImportTablesNotStarted(Aws::String&& value) { m_importTablesNotStarted.push_back(std::move(value)); return *this; }
138 inline DescribeResizeResult& AddImportTablesNotStarted(const char* value) { m_importTablesNotStarted.push_back(value); return *this; }
140
142
147 inline double GetAvgResizeRateInMegaBytesPerSecond() const{ return m_avgResizeRateInMegaBytesPerSecond; }
148 inline void SetAvgResizeRateInMegaBytesPerSecond(double value) { m_avgResizeRateInMegaBytesPerSecond = value; }
151
153
157 inline long long GetTotalResizeDataInMegaBytes() const{ return m_totalResizeDataInMegaBytes; }
158 inline void SetTotalResizeDataInMegaBytes(long long value) { m_totalResizeDataInMegaBytes = value; }
161
163
170 inline long long GetProgressInMegaBytes() const{ return m_progressInMegaBytes; }
171 inline void SetProgressInMegaBytes(long long value) { m_progressInMegaBytes = value; }
172 inline DescribeResizeResult& WithProgressInMegaBytes(long long value) { SetProgressInMegaBytes(value); return *this;}
174
176
181 inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; }
182 inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSeconds = value; }
183 inline DescribeResizeResult& WithElapsedTimeInSeconds(long long value) { SetElapsedTimeInSeconds(value); return *this;}
185
187
193 inline long long GetEstimatedTimeToCompletionInSeconds() const{ return m_estimatedTimeToCompletionInSeconds; }
194 inline void SetEstimatedTimeToCompletionInSeconds(long long value) { m_estimatedTimeToCompletionInSeconds = value; }
197
199
204 inline const Aws::String& GetResizeType() const{ return m_resizeType; }
205 inline void SetResizeType(const Aws::String& value) { m_resizeType = value; }
206 inline void SetResizeType(Aws::String&& value) { m_resizeType = std::move(value); }
207 inline void SetResizeType(const char* value) { m_resizeType.assign(value); }
208 inline DescribeResizeResult& WithResizeType(const Aws::String& value) { SetResizeType(value); return *this;}
209 inline DescribeResizeResult& WithResizeType(Aws::String&& value) { SetResizeType(std::move(value)); return *this;}
210 inline DescribeResizeResult& WithResizeType(const char* value) { SetResizeType(value); return *this;}
212
214
217 inline const Aws::String& GetMessage() const{ return m_message; }
218 inline void SetMessage(const Aws::String& value) { m_message = value; }
219 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
220 inline void SetMessage(const char* value) { m_message.assign(value); }
221 inline DescribeResizeResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
222 inline DescribeResizeResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
223 inline DescribeResizeResult& WithMessage(const char* value) { SetMessage(value); return *this;}
225
227
231 inline const Aws::String& GetTargetEncryptionType() const{ return m_targetEncryptionType; }
232 inline void SetTargetEncryptionType(const Aws::String& value) { m_targetEncryptionType = value; }
233 inline void SetTargetEncryptionType(Aws::String&& value) { m_targetEncryptionType = std::move(value); }
234 inline void SetTargetEncryptionType(const char* value) { m_targetEncryptionType.assign(value); }
236 inline DescribeResizeResult& WithTargetEncryptionType(Aws::String&& value) { SetTargetEncryptionType(std::move(value)); return *this;}
237 inline DescribeResizeResult& WithTargetEncryptionType(const char* value) { SetTargetEncryptionType(value); return *this;}
239
241
244 inline double GetDataTransferProgressPercent() const{ return m_dataTransferProgressPercent; }
245 inline void SetDataTransferProgressPercent(double value) { m_dataTransferProgressPercent = value; }
248
250
251 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
252 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
253 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
255 inline DescribeResizeResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
257 private:
258
259 Aws::String m_targetNodeType;
260
261 int m_targetNumberOfNodes;
262
263 Aws::String m_targetClusterType;
264
265 Aws::String m_status;
266
267 Aws::Vector<Aws::String> m_importTablesCompleted;
268
269 Aws::Vector<Aws::String> m_importTablesInProgress;
270
271 Aws::Vector<Aws::String> m_importTablesNotStarted;
272
273 double m_avgResizeRateInMegaBytesPerSecond;
274
275 long long m_totalResizeDataInMegaBytes;
276
277 long long m_progressInMegaBytes;
278
279 long long m_elapsedTimeInSeconds;
280
281 long long m_estimatedTimeToCompletionInSeconds;
282
283 Aws::String m_resizeType;
284
285 Aws::String m_message;
286
287 Aws::String m_targetEncryptionType;
288
289 double m_dataTransferProgressPercent;
290
291 ResponseMetadata m_responseMetadata;
292 };
293
294} // namespace Model
295} // namespace Redshift
296} // namespace Aws
DescribeResizeResult & WithDataTransferProgressPercent(double value)
DescribeResizeResult & WithResizeType(const Aws::String &value)
void SetResponseMetadata(ResponseMetadata &&value)
DescribeResizeResult & WithTargetNodeType(Aws::String &&value)
const Aws::Vector< Aws::String > & GetImportTablesNotStarted() const
void SetImportTablesNotStarted(Aws::Vector< Aws::String > &&value)
DescribeResizeResult & WithMessage(const char *value)
DescribeResizeResult & WithAvgResizeRateInMegaBytesPerSecond(double value)
DescribeResizeResult & WithResizeType(Aws::String &&value)
void SetImportTablesNotStarted(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetImportTablesCompleted() const
DescribeResizeResult & WithTargetNumberOfNodes(int value)
DescribeResizeResult & WithMessage(const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeResizeResult & AddImportTablesCompleted(const char *value)
DescribeResizeResult & WithEstimatedTimeToCompletionInSeconds(long long value)
void SetImportTablesCompleted(const Aws::Vector< Aws::String > &value)
DescribeResizeResult & WithTargetNodeType(const Aws::String &value)
DescribeResizeResult & AddImportTablesInProgress(Aws::String &&value)
DescribeResizeResult & AddImportTablesNotStarted(Aws::String &&value)
DescribeResizeResult & WithImportTablesCompleted(const Aws::Vector< Aws::String > &value)
DescribeResizeResult & WithTargetClusterType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetImportTablesInProgress() const
DescribeResizeResult & WithTargetNodeType(const char *value)
DescribeResizeResult & WithImportTablesInProgress(const Aws::Vector< Aws::String > &value)
DescribeResizeResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeResizeResult & AddImportTablesNotStarted(const char *value)
DescribeResizeResult & WithTargetClusterType(Aws::String &&value)
DescribeResizeResult & WithProgressInMegaBytes(long long value)
DescribeResizeResult & AddImportTablesNotStarted(const Aws::String &value)
DescribeResizeResult & WithTargetEncryptionType(const Aws::String &value)
DescribeResizeResult & WithImportTablesInProgress(Aws::Vector< Aws::String > &&value)
DescribeResizeResult & WithTotalResizeDataInMegaBytes(long long value)
DescribeResizeResult & AddImportTablesInProgress(const char *value)
DescribeResizeResult & AddImportTablesCompleted(Aws::String &&value)
DescribeResizeResult & WithImportTablesNotStarted(Aws::Vector< Aws::String > &&value)
const ResponseMetadata & GetResponseMetadata() const
DescribeResizeResult & WithImportTablesCompleted(Aws::Vector< Aws::String > &&value)
DescribeResizeResult & WithTargetEncryptionType(const char *value)
AWS_REDSHIFT_API DescribeResizeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeResizeResult & WithStatus(const Aws::String &value)
void SetImportTablesInProgress(Aws::Vector< Aws::String > &&value)
DescribeResizeResult & WithImportTablesNotStarted(const Aws::Vector< Aws::String > &value)
void SetTargetNodeType(const Aws::String &value)
DescribeResizeResult & WithResizeType(const char *value)
const Aws::String & GetTargetEncryptionType() const
DescribeResizeResult & WithResponseMetadata(ResponseMetadata &&value)
void SetImportTablesCompleted(Aws::Vector< Aws::String > &&value)
void SetTargetClusterType(const Aws::String &value)
DescribeResizeResult & WithStatus(Aws::String &&value)
DescribeResizeResult & WithStatus(const char *value)
DescribeResizeResult & WithTargetEncryptionType(Aws::String &&value)
DescribeResizeResult & WithTargetClusterType(const char *value)
DescribeResizeResult & WithMessage(Aws::String &&value)
DescribeResizeResult & WithElapsedTimeInSeconds(long long value)
AWS_REDSHIFT_API DescribeResizeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeResizeResult & AddImportTablesCompleted(const Aws::String &value)
void SetImportTablesInProgress(const Aws::Vector< Aws::String > &value)
DescribeResizeResult & AddImportTablesInProgress(const Aws::String &value)
void SetTargetEncryptionType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument