7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/glacier/model/Type.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
48 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
61 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
74 inline void SetURI(
Aws::String&& value) { m_uRIHasBeenSet =
true; m_uRI = std::move(value); }
75 inline void SetURI(
const char* value) { m_uRIHasBeenSet =
true; m_uRI.assign(value); }
88 inline void SetID(
Aws::String&& value) { m_iDHasBeenSet =
true; m_iD = std::move(value); }
89 inline void SetID(
const char* value) { m_iDHasBeenSet =
true; m_iD.assign(value); }
103 inline void SetEmailAddress(
const char* value) { m_emailAddressHasBeenSet =
true; m_emailAddress.assign(value); }
111 bool m_typeHasBeenSet =
false;
114 bool m_displayNameHasBeenSet =
false;
117 bool m_uRIHasBeenSet =
false;
120 bool m_iDHasBeenSet =
false;
123 bool m_emailAddressHasBeenSet =
false;
Grantee & WithDisplayName(Aws::String &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDisplayName(Aws::String &&value)
Grantee & WithEmailAddress(const char *value)
Grantee & WithURI(const char *value)
void SetType(Type &&value)
bool TypeHasBeenSet() const
Grantee & WithID(const char *value)
void SetID(Aws::String &&value)
Grantee & WithID(Aws::String &&value)
void SetURI(const char *value)
void SetURI(Aws::String &&value)
Grantee & WithDisplayName(const char *value)
const Aws::String & GetID() const
bool DisplayNameHasBeenSet() const
AWS_GLACIER_API Grantee()
void SetEmailAddress(const Aws::String &value)
const Type & GetType() const
Grantee & WithURI(const Aws::String &value)
Grantee & WithID(const Aws::String &value)
Grantee & WithEmailAddress(Aws::String &&value)
const Aws::String & GetDisplayName() const
bool URIHasBeenSet() const
bool IDHasBeenSet() const
AWS_GLACIER_API Grantee(Aws::Utils::Json::JsonView jsonValue)
void SetID(const char *value)
void SetDisplayName(const Aws::String &value)
bool EmailAddressHasBeenSet() const
const Aws::String & GetEmailAddress() const
Grantee & WithEmailAddress(const Aws::String &value)
const Aws::String & GetURI() const
void SetType(const Type &value)
Grantee & WithDisplayName(const Aws::String &value)
void SetDisplayName(const char *value)
Grantee & WithType(Type &&value)
AWS_GLACIER_API Grantee & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetID(const Aws::String &value)
void SetURI(const Aws::String &value)
void SetEmailAddress(const char *value)
Grantee & WithURI(Aws::String &&value)
void SetEmailAddress(Aws::String &&value)
Grantee & WithType(const Type &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue