7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.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>
58 inline void SetSnapshotCopyGrantName(
const char* value) { m_snapshotCopyGrantNameHasBeenSet =
true; m_snapshotCopyGrantName.assign(value); }
73 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
95 bool m_snapshotCopyGrantNameHasBeenSet =
false;
98 bool m_kmsKeyIdHasBeenSet =
false;
101 bool m_tagsHasBeenSet =
false;
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSnapshotCopyGrantName(const Aws::String &value)
SnapshotCopyGrant & AddTags(const Tag &value)
AWS_REDSHIFT_API SnapshotCopyGrant(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotCopyGrantNameHasBeenSet() const
AWS_REDSHIFT_API SnapshotCopyGrant()
const Aws::Vector< Tag > & GetTags() const
bool TagsHasBeenSet() const
void SetKmsKeyId(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
SnapshotCopyGrant & AddTags(Tag &&value)
SnapshotCopyGrant & WithKmsKeyId(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
SnapshotCopyGrant & WithKmsKeyId(const char *value)
void SetKmsKeyId(Aws::String &&value)
bool KmsKeyIdHasBeenSet() const
SnapshotCopyGrant & WithSnapshotCopyGrantName(const Aws::String &value)
SnapshotCopyGrant & WithTags(Aws::Vector< Tag > &&value)
AWS_REDSHIFT_API SnapshotCopyGrant & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetKmsKeyId() const
SnapshotCopyGrant & WithKmsKeyId(const Aws::String &value)
SnapshotCopyGrant & WithSnapshotCopyGrantName(Aws::String &&value)
void SetSnapshotCopyGrantName(Aws::String &&value)
SnapshotCopyGrant & WithSnapshotCopyGrantName(const char *value)
void SetKmsKeyId(const Aws::String &value)
void SetSnapshotCopyGrantName(const char *value)
SnapshotCopyGrant & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetSnapshotCopyGrantName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream