7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/Type.h>
41 template <
typename DisplayNameT = Aws::String>
43 m_displayNameHasBeenSet =
true;
44 m_displayName = std::forward<DisplayNameT>(value);
46 template <
typename DisplayNameT = Aws::String>
59 template <
typename EmailAddressT = Aws::String>
61 m_emailAddressHasBeenSet =
true;
62 m_emailAddress = std::forward<EmailAddressT>(value);
64 template <
typename EmailAddressT = Aws::String>
77 template <
typename IDT = Aws::String>
79 m_iDHasBeenSet =
true;
80 m_iD = std::forward<IDT>(value);
82 template <
typename IDT = Aws::String>
84 SetID(std::forward<IDT>(value));
96 m_typeHasBeenSet =
true;
111 template <
typename URIT = Aws::String>
113 m_uRIHasBeenSet =
true;
114 m_uRI = std::forward<URIT>(value);
116 template <
typename URIT = Aws::String>
118 SetURI(std::forward<URIT>(value));
132 bool m_displayNameHasBeenSet =
false;
133 bool m_emailAddressHasBeenSet =
false;
134 bool m_iDHasBeenSet =
false;
135 bool m_typeHasBeenSet =
false;
136 bool m_uRIHasBeenSet =
false;
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetURI(URIT &&value)
AWS_S3_API Grantee & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3_API Grantee()=default
AWS_S3_API Grantee(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetID() const
const Aws::String & GetEmailAddress() const
const Aws::String & GetDisplayName() const
Grantee & WithDisplayName(DisplayNameT &&value)
Grantee & WithType(Type value)
const Aws::String & GetURI() const
void SetEmailAddress(EmailAddressT &&value)
void SetDisplayName(DisplayNameT &&value)
bool TypeHasBeenSet() const
bool DisplayNameHasBeenSet() const
Grantee & WithEmailAddress(EmailAddressT &&value)
bool URIHasBeenSet() const
Grantee & WithID(IDT &&value)
bool IDHasBeenSet() const
Grantee & WithURI(URIT &&value)
bool EmailAddressHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String