AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRedshiftClusterRestoreStatus.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsRedshiftClusterRestoreStatus();
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline double GetCurrentRestoreRateInMegaBytesPerSecond() const{ return m_currentRestoreRateInMegaBytesPerSecond; }
48 inline bool CurrentRestoreRateInMegaBytesPerSecondHasBeenSet() const { return m_currentRestoreRateInMegaBytesPerSecondHasBeenSet; }
49 inline void SetCurrentRestoreRateInMegaBytesPerSecond(double value) { m_currentRestoreRateInMegaBytesPerSecondHasBeenSet = true; m_currentRestoreRateInMegaBytesPerSecond = value; }
52
54
59 inline long long GetElapsedTimeInSeconds() const{ return m_elapsedTimeInSeconds; }
60 inline bool ElapsedTimeInSecondsHasBeenSet() const { return m_elapsedTimeInSecondsHasBeenSet; }
61 inline void SetElapsedTimeInSeconds(long long value) { m_elapsedTimeInSecondsHasBeenSet = true; m_elapsedTimeInSeconds = value; }
64
66
71 inline long long GetEstimatedTimeToCompletionInSeconds() const{ return m_estimatedTimeToCompletionInSeconds; }
72 inline bool EstimatedTimeToCompletionInSecondsHasBeenSet() const { return m_estimatedTimeToCompletionInSecondsHasBeenSet; }
73 inline void SetEstimatedTimeToCompletionInSeconds(long long value) { m_estimatedTimeToCompletionInSecondsHasBeenSet = true; m_estimatedTimeToCompletionInSeconds = value; }
76
78
82 inline long long GetProgressInMegaBytes() const{ return m_progressInMegaBytes; }
83 inline bool ProgressInMegaBytesHasBeenSet() const { return m_progressInMegaBytesHasBeenSet; }
84 inline void SetProgressInMegaBytes(long long value) { m_progressInMegaBytesHasBeenSet = true; m_progressInMegaBytes = value; }
85 inline AwsRedshiftClusterRestoreStatus& WithProgressInMegaBytes(long long value) { SetProgressInMegaBytes(value); return *this;}
87
89
94 inline long long GetSnapshotSizeInMegaBytes() const{ return m_snapshotSizeInMegaBytes; }
95 inline bool SnapshotSizeInMegaBytesHasBeenSet() const { return m_snapshotSizeInMegaBytesHasBeenSet; }
96 inline void SetSnapshotSizeInMegaBytes(long long value) { m_snapshotSizeInMegaBytesHasBeenSet = true; m_snapshotSizeInMegaBytes = value; }
99
101
105 inline const Aws::String& GetStatus() const{ return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
107 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
108 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
109 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
110 inline AwsRedshiftClusterRestoreStatus& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
111 inline AwsRedshiftClusterRestoreStatus& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
112 inline AwsRedshiftClusterRestoreStatus& WithStatus(const char* value) { SetStatus(value); return *this;}
114 private:
115
116 double m_currentRestoreRateInMegaBytesPerSecond;
117 bool m_currentRestoreRateInMegaBytesPerSecondHasBeenSet = false;
118
119 long long m_elapsedTimeInSeconds;
120 bool m_elapsedTimeInSecondsHasBeenSet = false;
121
122 long long m_estimatedTimeToCompletionInSeconds;
123 bool m_estimatedTimeToCompletionInSecondsHasBeenSet = false;
124
125 long long m_progressInMegaBytes;
126 bool m_progressInMegaBytesHasBeenSet = false;
127
128 long long m_snapshotSizeInMegaBytes;
129 bool m_snapshotSizeInMegaBytesHasBeenSet = false;
130
131 Aws::String m_status;
132 bool m_statusHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SecurityHub
137} // namespace Aws
AWS_SECURITYHUB_API AwsRedshiftClusterRestoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsRedshiftClusterRestoreStatus(Aws::Utils::Json::JsonView jsonValue)
AwsRedshiftClusterRestoreStatus & WithSnapshotSizeInMegaBytes(long long value)
AwsRedshiftClusterRestoreStatus & WithStatus(const Aws::String &value)
AwsRedshiftClusterRestoreStatus & WithEstimatedTimeToCompletionInSeconds(long long value)
AwsRedshiftClusterRestoreStatus & WithProgressInMegaBytes(long long value)
AwsRedshiftClusterRestoreStatus & WithStatus(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRedshiftClusterRestoreStatus & WithStatus(const char *value)
AwsRedshiftClusterRestoreStatus & WithCurrentRestoreRateInMegaBytesPerSecond(double value)
AwsRedshiftClusterRestoreStatus & WithElapsedTimeInSeconds(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue