7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/redshift/model/Tag.h>
57 template<
typename SnapshotCopyGrantNameT = Aws::String>
58 void SetSnapshotCopyGrantName(SnapshotCopyGrantNameT&& value) { m_snapshotCopyGrantNameHasBeenSet =
true; m_snapshotCopyGrantName = std::forward<SnapshotCopyGrantNameT>(value); }
59 template<
typename SnapshotCopyGrantNameT = Aws::String>
70 template<
typename KmsKeyIdT = Aws::String>
71 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
72 template<
typename KmsKeyIdT = Aws::String>
82 template<
typename TagsT = Aws::Vector<Tag>>
83 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
84 template<
typename TagsT = Aws::Vector<Tag>>
86 template<
typename TagsT = Tag>
92 bool m_snapshotCopyGrantNameHasBeenSet =
false;
95 bool m_kmsKeyIdHasBeenSet =
false;
98 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