7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Tag.h>
53 template <
typename SnapshotCopyGrantNameT = Aws::String>
55 m_snapshotCopyGrantNameHasBeenSet =
true;
56 m_snapshotCopyGrantName = std::forward<SnapshotCopyGrantNameT>(value);
58 template <
typename SnapshotCopyGrantNameT = Aws::String>
72 template <
typename KmsKeyIdT = Aws::String>
74 m_kmsKeyIdHasBeenSet =
true;
75 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
77 template <
typename KmsKeyIdT = Aws::String>
90 template <
typename TagsT = Aws::Vector<Tag>>
92 m_tagsHasBeenSet =
true;
93 m_tags = std::forward<TagsT>(value);
95 template <
typename TagsT = Aws::Vector<Tag>>
97 SetTags(std::forward<TagsT>(value));
100 template <
typename TagsT = Tag>
102 m_tagsHasBeenSet =
true;
103 m_tags.emplace_back(std::forward<TagsT>(value));
113 bool m_snapshotCopyGrantNameHasBeenSet =
false;
114 bool m_kmsKeyIdHasBeenSet =
false;
115 bool m_tagsHasBeenSet =
false;
CreateSnapshotCopyGrantRequest & WithSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
CreateSnapshotCopyGrantRequest & AddTags(TagsT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SnapshotCopyGrantNameHasBeenSet() const
const Aws::String & GetSnapshotCopyGrantName() const
const Aws::Vector< Tag > & GetTags() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsKeyId() const
AWS_REDSHIFT_API CreateSnapshotCopyGrantRequest()=default
bool KmsKeyIdHasBeenSet() const
CreateSnapshotCopyGrantRequest & WithTags(TagsT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool TagsHasBeenSet() const
CreateSnapshotCopyGrantRequest & WithKmsKeyId(KmsKeyIdT &&value)
void SetSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector