7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/redshift/Redshift_EXPORTS.h>
11#include <aws/redshift/model/Tag.h>
50 template <
typename SnapshotCopyGrantNameT = Aws::String>
52 m_snapshotCopyGrantNameHasBeenSet =
true;
53 m_snapshotCopyGrantName = std::forward<SnapshotCopyGrantNameT>(value);
55 template <
typename SnapshotCopyGrantNameT = Aws::String>
69 template <
typename KmsKeyIdT = Aws::String>
71 m_kmsKeyIdHasBeenSet =
true;
72 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
74 template <
typename KmsKeyIdT = Aws::String>
87 template <
typename TagsT = Aws::Vector<Tag>>
89 m_tagsHasBeenSet =
true;
90 m_tags = std::forward<TagsT>(value);
92 template <
typename TagsT = Aws::Vector<Tag>>
94 SetTags(std::forward<TagsT>(value));
97 template <
typename TagsT = Tag>
99 m_tagsHasBeenSet =
true;
100 m_tags.emplace_back(std::forward<TagsT>(value));
110 bool m_snapshotCopyGrantNameHasBeenSet =
false;
111 bool m_kmsKeyIdHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
SnapshotCopyGrant & AddTags(TagsT &&value)
AWS_REDSHIFT_API SnapshotCopyGrant(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotCopyGrantNameHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
SnapshotCopyGrant & WithTags(TagsT &&value)
bool TagsHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
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(KmsKeyIdT &&value)
AWS_REDSHIFT_API SnapshotCopyGrant()=default
void SetSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
SnapshotCopyGrant & WithSnapshotCopyGrantName(SnapshotCopyGrantNameT &&value)
void SetTags(TagsT &&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