7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
22namespace RedshiftServerless
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>
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>
73 template<
typename RecoveryPo
intCreateTimeT = Aws::Utils::DateTime>
74 void SetRecoveryPointCreateTime(RecoveryPointCreateTimeT&& value) { m_recoveryPointCreateTimeHasBeenSet =
true; m_recoveryPointCreateTime = std::forward<RecoveryPointCreateTimeT>(value); }
75 template<
typename RecoveryPo
intCreateTimeT = Aws::Utils::DateTime>
85 template<
typename RecoveryPo
intIdT = Aws::String>
86 void SetRecoveryPointId(RecoveryPointIdT&& value) { m_recoveryPointIdHasBeenSet =
true; m_recoveryPointId = std::forward<RecoveryPointIdT>(value); }
87 template<
typename RecoveryPo
intIdT = Aws::String>
97 inline void SetTotalSizeInMegaBytes(
double value) { m_totalSizeInMegaBytesHasBeenSet =
true; m_totalSizeInMegaBytes = value; }
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>
115 bool m_namespaceArnHasBeenSet =
false;
118 bool m_namespaceNameHasBeenSet =
false;
121 bool m_recoveryPointCreateTimeHasBeenSet =
false;
124 bool m_recoveryPointIdHasBeenSet =
false;
126 double m_totalSizeInMegaBytes{0.0};
127 bool m_totalSizeInMegaBytesHasBeenSet =
false;
130 bool m_workgroupNameHasBeenSet =
false;
bool TotalSizeInMegaBytesHasBeenSet() const
void SetRecoveryPointId(RecoveryPointIdT &&value)
RecoveryPoint & WithRecoveryPointCreateTime(RecoveryPointCreateTimeT &&value)
const Aws::String & GetWorkgroupName() const
RecoveryPoint & WithNamespaceArn(NamespaceArnT &&value)
RecoveryPoint & WithWorkgroupName(WorkgroupNameT &&value)
void SetTotalSizeInMegaBytes(double value)
bool NamespaceNameHasBeenSet() const
const Aws::String & GetNamespaceArn() const
bool RecoveryPointCreateTimeHasBeenSet() 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)
double GetTotalSizeInMegaBytes() const
const Aws::String & GetNamespaceName() const
void SetWorkgroupName(WorkgroupNameT &&value)
void SetNamespaceName(NamespaceNameT &&value)
RecoveryPoint & WithTotalSizeInMegaBytes(double value)
bool WorkgroupNameHasBeenSet() const
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)
bool NamespaceArnHasBeenSet() const
bool RecoveryPointIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue