7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/redshift-serverless/RedshiftServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14namespace RedshiftServerless
43 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
55 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
62 int m_retentionPeriod;
63 bool m_retentionPeriodHasBeenSet =
false;
66 bool m_snapshotNameHasBeenSet =
false;
UpdateSnapshotRequest & WithSnapshotName(Aws::String &&value)
void SetRetentionPeriod(int value)
AWS_REDSHIFTSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSnapshotRequest & WithSnapshotName(const Aws::String &value)
void SetSnapshotName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateSnapshotRequest & WithRetentionPeriod(int value)
AWS_REDSHIFTSERVERLESS_API UpdateSnapshotRequest()
AWS_REDSHIFTSERVERLESS_API Aws::String SerializePayload() const override
void SetSnapshotName(const char *value)
void SetSnapshotName(Aws::String &&value)
int GetRetentionPeriod() const
bool SnapshotNameHasBeenSet() const
UpdateSnapshotRequest & WithSnapshotName(const char *value)
const Aws::String & GetSnapshotName() const
bool RetentionPeriodHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String