7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace RedshiftServerless
48 template<
typename DestinationKmsKeyIdT = Aws::String>
49 void SetDestinationKmsKeyId(DestinationKmsKeyIdT&& value) { m_destinationKmsKeyIdHasBeenSet =
true; m_destinationKmsKeyId = std::forward<DestinationKmsKeyIdT>(value); }
50 template<
typename DestinationKmsKeyIdT = Aws::String>
60 template<
typename DestinationRegionT = Aws::String>
61 void SetDestinationRegion(DestinationRegionT&& value) { m_destinationRegionHasBeenSet =
true; m_destinationRegion = std::forward<DestinationRegionT>(value); }
62 template<
typename DestinationRegionT = Aws::String>
73 template<
typename NamespaceNameT = Aws::String>
74 void SetNamespaceName(NamespaceNameT&& value) { m_namespaceNameHasBeenSet =
true; m_namespaceName = std::forward<NamespaceNameT>(value); }
75 template<
typename NamespaceNameT = Aws::String>
85 template<
typename SnapshotCopyConfigurationArnT = Aws::String>
86 void SetSnapshotCopyConfigurationArn(SnapshotCopyConfigurationArnT&& value) { m_snapshotCopyConfigurationArnHasBeenSet =
true; m_snapshotCopyConfigurationArn = std::forward<SnapshotCopyConfigurationArnT>(value); }
87 template<
typename SnapshotCopyConfigurationArnT = Aws::String>
97 template<
typename SnapshotCopyConfigurationIdT = Aws::String>
98 void SetSnapshotCopyConfigurationId(SnapshotCopyConfigurationIdT&& value) { m_snapshotCopyConfigurationIdHasBeenSet =
true; m_snapshotCopyConfigurationId = std::forward<SnapshotCopyConfigurationIdT>(value); }
99 template<
typename SnapshotCopyConfigurationIdT = Aws::String>
116 bool m_destinationKmsKeyIdHasBeenSet =
false;
119 bool m_destinationRegionHasBeenSet =
false;
122 bool m_namespaceNameHasBeenSet =
false;
125 bool m_snapshotCopyConfigurationArnHasBeenSet =
false;
128 bool m_snapshotCopyConfigurationIdHasBeenSet =
false;
130 int m_snapshotRetentionPeriod{0};
131 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