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>
59 inline void SetSnapshotCopyGrantName(
const char* value) { m_snapshotCopyGrantNameHasBeenSet =
true; m_snapshotCopyGrantName.assign(value); }
74 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
96 bool m_snapshotCopyGrantNameHasBeenSet =
false;
99 bool m_kmsKeyIdHasBeenSet =
false;
102 bool m_tagsHasBeenSet =
false;
void SetKmsKeyId(Aws::String &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SnapshotCopyGrantNameHasBeenSet() const
CreateSnapshotCopyGrantRequest & AddTags(const Tag &value)
void SetSnapshotCopyGrantName(const char *value)
CreateSnapshotCopyGrantRequest & WithSnapshotCopyGrantName(const char *value)
CreateSnapshotCopyGrantRequest & AddTags(Tag &&value)
CreateSnapshotCopyGrantRequest & WithKmsKeyId(Aws::String &&value)
const Aws::String & GetSnapshotCopyGrantName() const
CreateSnapshotCopyGrantRequest & WithSnapshotCopyGrantName(Aws::String &&value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
CreateSnapshotCopyGrantRequest & WithTags(const Aws::Vector< Tag > &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetKmsKeyId() const
bool KmsKeyIdHasBeenSet() const
bool TagsHasBeenSet() const
void SetKmsKeyId(const char *value)
CreateSnapshotCopyGrantRequest & WithTags(Aws::Vector< Tag > &&value)
CreateSnapshotCopyGrantRequest & WithSnapshotCopyGrantName(const Aws::String &value)
void SetSnapshotCopyGrantName(const Aws::String &value)
void SetSnapshotCopyGrantName(Aws::String &&value)
AWS_REDSHIFT_API CreateSnapshotCopyGrantRequest()
AWS_REDSHIFT_API Aws::String SerializePayload() const override
CreateSnapshotCopyGrantRequest & WithKmsKeyId(const Aws::String &value)
void SetKmsKeyId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateSnapshotCopyGrantRequest & WithKmsKeyId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector