AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename NamespaceArnT = Aws::String>
50 void SetNamespaceArn(NamespaceArnT&& value) { m_namespaceArnHasBeenSet = true; m_namespaceArn = std::forward<NamespaceArnT>(value); }
51 template<typename NamespaceArnT = Aws::String>
52 RecoveryPoint& WithNamespaceArn(NamespaceArnT&& value) { SetNamespaceArn(std::forward<NamespaceArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetNamespaceName() const { return m_namespaceName; }
60 inline bool NamespaceNameHasBeenSet() const { return m_namespaceNameHasBeenSet; }
61 template<typename NamespaceNameT = Aws::String>
62 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet = true; m_namespaceName = std::forward<NamespaceNameT>(value); }
63 template<typename NamespaceNameT = Aws::String>
64 RecoveryPoint& WithNamespaceName(NamespaceNameT&& value) { SetNamespaceName(std::forward<NamespaceNameT>(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetRecoveryPointCreateTime() const { return m_recoveryPointCreateTime; }
72 inline bool RecoveryPointCreateTimeHasBeenSet() const { return m_recoveryPointCreateTimeHasBeenSet; }
73 template<typename RecoveryPointCreateTimeT = Aws::Utils::DateTime>
74 void SetRecoveryPointCreateTime(RecoveryPointCreateTimeT&& value) { m_recoveryPointCreateTimeHasBeenSet = true; m_recoveryPointCreateTime = std::forward<RecoveryPointCreateTimeT>(value); }
75 template<typename RecoveryPointCreateTimeT = Aws::Utils::DateTime>
76 RecoveryPoint& WithRecoveryPointCreateTime(RecoveryPointCreateTimeT&& value) { SetRecoveryPointCreateTime(std::forward<RecoveryPointCreateTimeT>(value)); return *this;}
78
80
83 inline const Aws::String& GetRecoveryPointId() const { return m_recoveryPointId; }
84 inline bool RecoveryPointIdHasBeenSet() const { return m_recoveryPointIdHasBeenSet; }
85 template<typename RecoveryPointIdT = Aws::String>
86 void SetRecoveryPointId(RecoveryPointIdT&& value) { m_recoveryPointIdHasBeenSet = true; m_recoveryPointId = std::forward<RecoveryPointIdT>(value); }
87 template<typename RecoveryPointIdT = Aws::String>
88 RecoveryPoint& WithRecoveryPointId(RecoveryPointIdT&& value) { SetRecoveryPointId(std::forward<RecoveryPointIdT>(value)); return *this;}
90
92
95 inline double GetTotalSizeInMegaBytes() const { return m_totalSizeInMegaBytes; }
96 inline bool TotalSizeInMegaBytesHasBeenSet() const { return m_totalSizeInMegaBytesHasBeenSet; }
97 inline void SetTotalSizeInMegaBytes(double value) { m_totalSizeInMegaBytesHasBeenSet = true; m_totalSizeInMegaBytes = value; }
98 inline RecoveryPoint& WithTotalSizeInMegaBytes(double value) { SetTotalSizeInMegaBytes(value); return *this;}
100
102
105 inline const Aws::String& GetWorkgroupName() const { return m_workgroupName; }
106 inline bool WorkgroupNameHasBeenSet() const { return m_workgroupNameHasBeenSet; }
107 template<typename WorkgroupNameT = Aws::String>
108 void SetWorkgroupName(WorkgroupNameT&& value) { m_workgroupNameHasBeenSet = true; m_workgroupName = std::forward<WorkgroupNameT>(value); }
109 template<typename WorkgroupNameT = Aws::String>
110 RecoveryPoint& WithWorkgroupName(WorkgroupNameT&& value) { SetWorkgroupName(std::forward<WorkgroupNameT>(value)); return *this;}
112 private:
113
114 Aws::String m_namespaceArn;
115 bool m_namespaceArnHasBeenSet = false;
116
117 Aws::String m_namespaceName;
118 bool m_namespaceNameHasBeenSet = false;
119
120 Aws::Utils::DateTime m_recoveryPointCreateTime{};
121 bool m_recoveryPointCreateTimeHasBeenSet = false;
122
123 Aws::String m_recoveryPointId;
124 bool m_recoveryPointIdHasBeenSet = false;
125
126 double m_totalSizeInMegaBytes{0.0};
127 bool m_totalSizeInMegaBytesHasBeenSet = false;
128
129 Aws::String m_workgroupName;
130 bool m_workgroupNameHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace RedshiftServerless
135} // namespace Aws
void SetRecoveryPointId(RecoveryPointIdT &&value)
RecoveryPoint & WithRecoveryPointCreateTime(RecoveryPointCreateTimeT &&value)
const Aws::String & GetWorkgroupName() const
RecoveryPoint & WithNamespaceArn(NamespaceArnT &&value)
RecoveryPoint & WithWorkgroupName(WorkgroupNameT &&value)
const Aws::String & GetNamespaceArn() const
AWS_REDSHIFTSERVERLESS_API RecoveryPoint()=default
void SetNamespaceArn(NamespaceArnT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REDSHIFTSERVERLESS_API RecoveryPoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetNamespaceName() const
void SetWorkgroupName(WorkgroupNameT &&value)
void SetNamespaceName(NamespaceNameT &&value)
RecoveryPoint & WithTotalSizeInMegaBytes(double value)
RecoveryPoint & WithNamespaceName(NamespaceNameT &&value)
void SetRecoveryPointCreateTime(RecoveryPointCreateTimeT &&value)
const Aws::String & GetRecoveryPointId() const
AWS_REDSHIFTSERVERLESS_API RecoveryPoint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetRecoveryPointCreateTime() const
RecoveryPoint & WithRecoveryPointId(RecoveryPointIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue