7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3/model/Type.h>
47 template<
typename DisplayNameT = Aws::String>
48 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet =
true; m_displayName = std::forward<DisplayNameT>(value); }
49 template<
typename DisplayNameT = Aws::String>
68 template<
typename EmailAddressT = Aws::String>
69 void SetEmailAddress(EmailAddressT&& value) { m_emailAddressHasBeenSet =
true; m_emailAddress = std::forward<EmailAddressT>(value); }
70 template<
typename EmailAddressT = Aws::String>
80 template<
typename IDT = Aws::String>
81 void SetID(IDT&& value) { m_iDHasBeenSet =
true; m_iD = std::forward<IDT>(value); }
82 template<
typename IDT = Aws::String>
92 inline void SetType(
Type value) { m_typeHasBeenSet =
true; m_type = value; }
102 template<
typename URIT = Aws::String>
103 void SetURI(URIT&& value) { m_uRIHasBeenSet =
true; m_uRI = std::forward<URIT>(value); }
104 template<
typename URIT = Aws::String>
110 bool m_displayNameHasBeenSet =
false;
113 bool m_emailAddressHasBeenSet =
false;
116 bool m_iDHasBeenSet =
false;
119 bool m_typeHasBeenSet =
false;
122 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