7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
10#include <aws/redshift-serverless/model/Tag.h>
21namespace RedshiftServerless {
48 template <
typename NamespaceNameT = Aws::String>
50 m_namespaceNameHasBeenSet =
true;
51 m_namespaceName = std::forward<NamespaceNameT>(value);
53 template <
typename NamespaceNameT = Aws::String>
67 m_retentionPeriodHasBeenSet =
true;
68 m_retentionPeriod = value;
84 template <
typename SnapshotNamePrefixT = Aws::String>
86 m_snapshotNamePrefixHasBeenSet =
true;
87 m_snapshotNamePrefix = std::forward<SnapshotNamePrefixT>(value);
89 template <
typename SnapshotNamePrefixT = Aws::String>
104 template <
typename TagsT = Aws::Vector<Tag>>
106 m_tagsHasBeenSet =
true;
107 m_tags = std::forward<TagsT>(value);
109 template <
typename TagsT = Aws::Vector<Tag>>
111 SetTags(std::forward<TagsT>(value));
114 template <
typename TagsT = Tag>
116 m_tagsHasBeenSet =
true;
117 m_tags.emplace_back(std::forward<TagsT>(value));
124 int m_retentionPeriod{0};
129 bool m_namespaceNameHasBeenSet =
false;
130 bool m_retentionPeriodHasBeenSet =
false;
131 bool m_snapshotNamePrefixHasBeenSet =
false;
132 bool m_tagsHasBeenSet =
false;
int GetRetentionPeriod() const
void SetSnapshotNamePrefix(SnapshotNamePrefixT &&value)
CreateSnapshotScheduleActionParameters & WithRetentionPeriod(int value)
bool TagsHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API CreateSnapshotScheduleActionParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
void SetNamespaceName(NamespaceNameT &&value)
const Aws::String & GetSnapshotNamePrefix() const
void SetRetentionPeriod(int value)
CreateSnapshotScheduleActionParameters & WithSnapshotNamePrefix(SnapshotNamePrefixT &&value)
CreateSnapshotScheduleActionParameters & WithTags(TagsT &&value)
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SnapshotNamePrefixHasBeenSet() const
CreateSnapshotScheduleActionParameters & WithNamespaceName(NamespaceNameT &&value)
const Aws::String & GetNamespaceName() const
bool NamespaceNameHasBeenSet() const
bool RetentionPeriodHasBeenSet() const
CreateSnapshotScheduleActionParameters & AddTags(TagsT &&value)
void SetTags(TagsT &&value)
AWS_REDSHIFTSERVERLESS_API CreateSnapshotScheduleActionParameters()=default
AWS_REDSHIFTSERVERLESS_API CreateSnapshotScheduleActionParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue