AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryPoint.h
1
6#pragma once
7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace RedshiftServerless
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REDSHIFTSERVERLESS_API RecoveryPoint();
37 AWS_REDSHIFTSERVERLESS_API RecoveryPoint(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REDSHIFTSERVERLESS_API RecoveryPoint& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetNamespaceArn() const{ return m_namespaceArn; }
48 inline bool NamespaceArnHasBeenSet() const { return m_namespaceArnHasBeenSet; }
49 inline void SetNamespaceArn(const Aws::String& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = value; }
50 inline void SetNamespaceArn(Aws::String&& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = std::move(value); }
51 inline void SetNamespaceArn(const char* value) { m_namespaceArnHasBeenSet = true; m_namespaceArn.assign(value); }
52 inline RecoveryPoint& WithNamespaceArn(const Aws::String& value) { SetNamespaceArn(value); return *this;}
53 inline RecoveryPoint& WithNamespaceArn(Aws::String&& value) { SetNamespaceArn(std::move(value)); return *this;}
54 inline RecoveryPoint& WithNamespaceArn(const char* value) { SetNamespaceArn(value); return *this;}
56
58
61 inline const Aws::String& GetNamespaceName() const{ return m_namespaceName; }
62 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
63 inline void SetNamespaceName(const Aws::String& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = value; }
64 inline void SetNamespaceName(Aws::String&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::move(value); }
65 inline void SetNamespaceName(const char* value) { m_namespaceNameHasBeenSet = true; m_namespaceName.assign(value); }
66 inline RecoveryPoint& WithNamespaceName(const Aws::String& value) { SetNamespaceName(value); return *this;}
67 inline RecoveryPoint& WithNamespaceName(Aws::String&& value) { SetNamespaceName(std::move(value)); return *this;}
68 inline RecoveryPoint& WithNamespaceName(const char* value) { SetNamespaceName(value); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetRecoveryPointCreateTime() const{ return m_recoveryPointCreateTime; }
76 inline bool RecoveryPointCreateTimeHasBeenSet() const { return m_recoveryPointCreateTimeHasBeenSet; }
77 inline void SetRecoveryPointCreateTime(const Aws::Utils::DateTime& value) { m_recoveryPointCreateTimeHasBeenSet = true; m_recoveryPointCreateTime = value; }
78 inline void SetRecoveryPointCreateTime(Aws::Utils::DateTime&& value) { m_recoveryPointCreateTimeHasBeenSet = true; m_recoveryPointCreateTime = std::move(value); }
82
84
87 inline const Aws::String& GetRecoveryPointId() const{ return m_recoveryPointId; }
88 inline bool RecoveryPointIdHasBeenSet() const { return m_recoveryPointIdHasBeenSet; }
89 inline void SetRecoveryPointId(const Aws::String& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = value; }
90 inline void SetRecoveryPointId(Aws::String&& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = std::move(value); }
91 inline void SetRecoveryPointId(const char* value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId.assign(value); }
92 inline RecoveryPoint& WithRecoveryPointId(const Aws::String& value) { SetRecoveryPointId(value); return *this;}
93 inline RecoveryPoint& WithRecoveryPointId(Aws::String&& value) { SetRecoveryPointId(std::move(value)); return *this;}
94 inline RecoveryPoint& WithRecoveryPointId(const char* value) { SetRecoveryPointId(value); return *this;}
96
98
101 inline double GetTotalSizeInMegaBytes() const{ return m_totalSizeInMegaBytes; }
102 inline bool TotalSizeInMegaBytesHasBeenSet() const { return m_totalSizeInMegaBytesHasBeenSet; }
103 inline void SetTotalSizeInMegaBytes(double value) { m_totalSizeInMegaBytesHasBeenSet = true; m_totalSizeInMegaBytes = value; }
104 inline RecoveryPoint& WithTotalSizeInMegaBytes(double value) { SetTotalSizeInMegaBytes(value); return *this;}
106
108
111 inline const Aws::String& GetWorkgroupName() const{ return m_workgroupName; }
112 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
113 inline void SetWorkgroupName(const Aws::String& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = value; }
114 inline void SetWorkgroupName(Aws::String&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::move(value); }
115 inline void SetWorkgroupName(const char* value) { m_workgroupNameHasBeenSet = true; m_workgroupName.assign(value); }
116 inline RecoveryPoint& WithWorkgroupName(const Aws::String& value) { SetWorkgroupName(value); return *this;}
117 inline RecoveryPoint& WithWorkgroupName(Aws::String&& value) { SetWorkgroupName(std::move(value)); return *this;}
118 inline RecoveryPoint& WithWorkgroupName(const char* value) { SetWorkgroupName(value); return *this;}
120 private:
121
122 Aws::String m_namespaceArn;
123 bool m_namespaceArnHasBeenSet = false;
124
125 Aws::String m_namespaceName;
126 bool m_namespaceNameHasBeenSet = false;
127
128 Aws::Utils::DateTime m_recoveryPointCreateTime;
129 bool m_recoveryPointCreateTimeHasBeenSet = false;
130
131 Aws::String m_recoveryPointId;
132 bool m_recoveryPointIdHasBeenSet = false;
133
134 double m_totalSizeInMegaBytes;
135 bool m_totalSizeInMegaBytesHasBeenSet = false;
136
137 Aws::String m_workgroupName;
138 bool m_workgroupNameHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace RedshiftServerless
143} // namespace Aws
AWS_REDSHIFTSERVERLESS_API RecoveryPoint()
RecoveryPoint & WithWorkgroupName(const char *value)
const Aws::String & GetWorkgroupName() const
RecoveryPoint & WithRecoveryPointId(const char *value)
void SetRecoveryPointCreateTime(Aws::Utils::DateTime &&value)
RecoveryPoint & WithRecoveryPointCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetNamespaceArn() const
RecoveryPoint & WithRecoveryPointId(Aws::String &&value)
RecoveryPoint & WithWorkgroupName(Aws::String &&value)
void SetWorkgroupName(const Aws::String &value)
void SetNamespaceName(const Aws::String &value)
void SetRecoveryPointCreateTime(const Aws::Utils::DateTime &value)
RecoveryPoint & WithNamespaceName(const Aws::String &value)
void SetRecoveryPointId(const Aws::String &value)
RecoveryPoint & WithNamespaceArn(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTSERVERLESS_API RecoveryPoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNamespaceName() const
RecoveryPoint & WithRecoveryPointCreateTime(Aws::Utils::DateTime &&value)
RecoveryPoint & WithNamespaceName(const char *value)
RecoveryPoint & WithTotalSizeInMegaBytes(double value)
void SetNamespaceArn(const Aws::String &value)
RecoveryPoint & WithRecoveryPointId(const Aws::String &value)
RecoveryPoint & WithNamespaceArn(const char *value)
RecoveryPoint & WithNamespaceName(Aws::String &&value)
const Aws::String & GetRecoveryPointId() const
AWS_REDSHIFTSERVERLESS_API RecoveryPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetRecoveryPointCreateTime() const
RecoveryPoint & WithWorkgroupName(const Aws::String &value)
RecoveryPoint & WithNamespaceArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue