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
47 inline void SetRecoveryPointId(
const char* value) { m_recoveryPointIdHasBeenSet =
true; m_recoveryPointId.assign(value); }
59 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
71 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
95 bool m_recoveryPointIdHasBeenSet =
false;
97 int m_retentionPeriod;
98 bool m_retentionPeriodHasBeenSet =
false;
101 bool m_snapshotNameHasBeenSet =
false;
104 bool m_tagsHasBeenSet =
false;
ConvertRecoveryPointToSnapshotRequest & AddTags(const Tag &value)
ConvertRecoveryPointToSnapshotRequest & AddTags(Tag &&value)
ConvertRecoveryPointToSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
void SetRecoveryPointId(const char *value)
void SetRetentionPeriod(int value)
ConvertRecoveryPointToSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
void SetSnapshotName(const Aws::String &value)
void SetSnapshotName(const char *value)
ConvertRecoveryPointToSnapshotRequest & WithRecoveryPointId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
AWS_REDSHIFTSERVERLESS_API ConvertRecoveryPointToSnapshotRequest()
int GetRetentionPeriod() const
void SetRecoveryPointId(const Aws::String &value)
bool TagsHasBeenSet() const
bool SnapshotNameHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
ConvertRecoveryPointToSnapshotRequest & WithSnapshotName(const char *value)
void SetRecoveryPointId(Aws::String &&value)
bool RecoveryPointIdHasBeenSet() const
ConvertRecoveryPointToSnapshotRequest & WithRecoveryPointId(const char *value)
const Aws::String & GetRecoveryPointId() const
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
ConvertRecoveryPointToSnapshotRequest & WithSnapshotName(const Aws::String &value)
const Aws::String & GetSnapshotName() const
bool RetentionPeriodHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
ConvertRecoveryPointToSnapshotRequest & WithSnapshotName(Aws::String &&value)
ConvertRecoveryPointToSnapshotRequest & WithRecoveryPointId(Aws::String &&value)
ConvertRecoveryPointToSnapshotRequest & WithRetentionPeriod(int value)
void SetSnapshotName(Aws::String &&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