7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift-serverless/model/Tag.h>
23namespace RedshiftServerless
56 inline void SetNamespaceName(
const char* value) { m_namespaceNameHasBeenSet =
true; m_namespaceName.assign(value); }
68 inline void SetRetentionPeriod(
int value) { m_retentionPeriodHasBeenSet =
true; m_retentionPeriod = value; }
82 inline void SetSnapshotNamePrefix(
const char* value) { m_snapshotNamePrefixHasBeenSet =
true; m_snapshotNamePrefix.assign(value); }
106 bool m_namespaceNameHasBeenSet =
false;
108 int m_retentionPeriod;
109 bool m_retentionPeriodHasBeenSet =
false;
112 bool m_snapshotNamePrefixHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
false;
CreateSnapshotScheduleActionParameters & WithTags(const Aws::Vector< Tag > &value)
int GetRetentionPeriod() const
void SetNamespaceName(const Aws::String &value)
CreateSnapshotScheduleActionParameters & WithRetentionPeriod(int value)
bool TagsHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API CreateSnapshotScheduleActionParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
CreateSnapshotScheduleActionParameters & AddTags(Tag &&value)
const Aws::String & GetSnapshotNamePrefix() const
void SetRetentionPeriod(int value)
void SetSnapshotNamePrefix(const char *value)
void SetSnapshotNamePrefix(Aws::String &&value)
void SetNamespaceName(Aws::String &&value)
CreateSnapshotScheduleActionParameters & WithNamespaceName(const Aws::String &value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SnapshotNamePrefixHasBeenSet() const
void SetSnapshotNamePrefix(const Aws::String &value)
CreateSnapshotScheduleActionParameters & AddTags(const Tag &value)
CreateSnapshotScheduleActionParameters & WithSnapshotNamePrefix(const char *value)
CreateSnapshotScheduleActionParameters & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetNamespaceName() const
void SetNamespaceName(const char *value)
bool NamespaceNameHasBeenSet() const
bool RetentionPeriodHasBeenSet() const
CreateSnapshotScheduleActionParameters & WithNamespaceName(Aws::String &&value)
AWS_REDSHIFTSERVERLESS_API CreateSnapshotScheduleActionParameters(Aws::Utils::Json::JsonView jsonValue)
CreateSnapshotScheduleActionParameters & WithSnapshotNamePrefix(Aws::String &&value)
CreateSnapshotScheduleActionParameters & WithSnapshotNamePrefix(const Aws::String &value)
CreateSnapshotScheduleActionParameters & WithNamespaceName(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
AWS_REDSHIFTSERVERLESS_API CreateSnapshotScheduleActionParameters()
void SetTags(const Aws::Vector< Tag > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue