7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
19namespace RedshiftServerless {
42 template <
typename DestinationKmsKeyIdT = Aws::String>
44 m_destinationKmsKeyIdHasBeenSet =
true;
45 m_destinationKmsKeyId = std::forward<DestinationKmsKeyIdT>(value);
47 template <
typename DestinationKmsKeyIdT = Aws::String>
60 template <
typename DestinationRegionT = Aws::String>
62 m_destinationRegionHasBeenSet =
true;
63 m_destinationRegion = std::forward<DestinationRegionT>(value);
65 template <
typename DestinationRegionT = Aws::String>
79 template <
typename NamespaceNameT = Aws::String>
81 m_namespaceNameHasBeenSet =
true;
82 m_namespaceName = std::forward<NamespaceNameT>(value);
84 template <
typename NamespaceNameT = Aws::String>
97 template <
typename SnapshotCopyConfigurationArnT = Aws::String>
99 m_snapshotCopyConfigurationArnHasBeenSet =
true;
100 m_snapshotCopyConfigurationArn = std::forward<SnapshotCopyConfigurationArnT>(value);
102 template <
typename SnapshotCopyConfigurationArnT = Aws::String>
115 template <
typename SnapshotCopyConfigurationIdT = Aws::String>
117 m_snapshotCopyConfigurationIdHasBeenSet =
true;
118 m_snapshotCopyConfigurationId = std::forward<SnapshotCopyConfigurationIdT>(value);
120 template <
typename SnapshotCopyConfigurationIdT = Aws::String>
135 m_snapshotRetentionPeriodHasBeenSet =
true;
136 m_snapshotRetentionPeriod = value;
154 int m_snapshotRetentionPeriod{0};
155 bool m_destinationKmsKeyIdHasBeenSet =
false;
156 bool m_destinationRegionHasBeenSet =
false;
157 bool m_namespaceNameHasBeenSet =
false;
158 bool m_snapshotCopyConfigurationArnHasBeenSet =
false;
159 bool m_snapshotCopyConfigurationIdHasBeenSet =
false;
160 bool m_snapshotRetentionPeriodHasBeenSet =
false;
const Aws::String & GetSnapshotCopyConfigurationArn() const
bool NamespaceNameHasBeenSet() const
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationId(SnapshotCopyConfigurationIdT &&value)
void SetSnapshotCopyConfigurationArn(SnapshotCopyConfigurationArnT &&value)
bool SnapshotCopyConfigurationIdHasBeenSet() const
void SetSnapshotRetentionPeriod(int value)
void SetNamespaceName(NamespaceNameT &&value)
void SetDestinationRegion(DestinationRegionT &&value)
AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration()=default
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SnapshotCopyConfigurationArnHasBeenSet() const
SnapshotCopyConfiguration & WithDestinationKmsKeyId(DestinationKmsKeyIdT &&value)
SnapshotCopyConfiguration & WithDestinationRegion(DestinationRegionT &&value)
bool DestinationRegionHasBeenSet() const
void SetDestinationKmsKeyId(DestinationKmsKeyIdT &&value)
SnapshotCopyConfiguration & WithSnapshotRetentionPeriod(int value)
void SetSnapshotCopyConfigurationId(SnapshotCopyConfigurationIdT &&value)
SnapshotCopyConfiguration & WithSnapshotCopyConfigurationArn(SnapshotCopyConfigurationArnT &&value)
AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDestinationKmsKeyId() const
const Aws::String & GetNamespaceName() const
bool DestinationKmsKeyIdHasBeenSet() const
const Aws::String & GetDestinationRegion() const
const Aws::String & GetSnapshotCopyConfigurationId() const
bool SnapshotRetentionPeriodHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API SnapshotCopyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
SnapshotCopyConfiguration & WithNamespaceName(NamespaceNameT &&value)
int GetSnapshotRetentionPeriod() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue