7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift-serverless/model/Tag.h>
16namespace RedshiftServerless
45 template<
typename RecoveryPo
intIdT = Aws::String>
46 void SetRecoveryPointId(RecoveryPointIdT&& value) { m_recoveryPointIdHasBeenSet =
true; m_recoveryPointId = std::forward<RecoveryPointIdT>(value); }
47 template<
typename RecoveryPo
intIdT = Aws::String>
57 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
67 template<
typename SnapshotNameT = Aws::String>
68 void SetSnapshotName(SnapshotNameT&& value) { m_snapshotNameHasBeenSet =
true; m_snapshotName = std::forward<SnapshotNameT>(value); }
69 template<
typename SnapshotNameT = Aws::String>
81 template<
typename TagsT = Aws::Vector<Tag>>
82 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
83 template<
typename TagsT = Aws::Vector<Tag>>
85 template<
typename TagsT = Tag>
91 bool m_recoveryPointIdHasBeenSet =
false;
93 int m_retentionPeriod{0};
94 bool m_retentionPeriodHasBeenSet =
false;
97 bool m_snapshotNameHasBeenSet =
false;
100 bool m_tagsHasBeenSet =
false;
ConvertRecoveryPointToSnapshotRequest & AddTags(TagsT &&value)
AWS_REDSHIFTSERVERLESS_API ConvertRecoveryPointToSnapshotRequest()=default
void SetRetentionPeriod(int value)
ConvertRecoveryPointToSnapshotRequest & WithRecoveryPointId(RecoveryPointIdT &&value)
int GetRetentionPeriod() const
ConvertRecoveryPointToSnapshotRequest & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
bool SnapshotNameHasBeenSet() const
ConvertRecoveryPointToSnapshotRequest & WithSnapshotName(SnapshotNameT &&value)
void SetRecoveryPointId(RecoveryPointIdT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
bool RecoveryPointIdHasBeenSet() const
const Aws::String & GetRecoveryPointId() const
const Aws::Vector< Tag > & GetTags() const
void SetSnapshotName(SnapshotNameT &&value)
const Aws::String & GetSnapshotName() const
bool RetentionPeriodHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
ConvertRecoveryPointToSnapshotRequest & WithRetentionPeriod(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector