7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace ElasticTranscoder
56 inline void SetGranteeType(
const char* value) { m_granteeTypeHasBeenSet =
true; m_granteeType.assign(value); }
73 inline void SetGrantee(
const char* value) { m_granteeHasBeenSet =
true; m_grantee.assign(value); }
100 inline Permission&
AddAccess(
const char* value) { m_accessHasBeenSet =
true; m_access.push_back(value);
return *
this; }
105 bool m_granteeTypeHasBeenSet =
false;
108 bool m_granteeHasBeenSet =
false;
111 bool m_accessHasBeenSet =
false;
void SetGranteeType(Aws::String &&value)
Permission & AddAccess(const Aws::String &value)
Permission & WithGrantee(const Aws::String &value)
bool GranteeTypeHasBeenSet() const
Permission & WithAccess(const Aws::Vector< Aws::String > &value)
Permission & AddAccess(const char *value)
bool GranteeHasBeenSet() const
AWS_ELASTICTRANSCODER_API Permission()
Permission & WithGranteeType(const char *value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
Permission & WithAccess(Aws::Vector< Aws::String > &&value)
void SetAccess(const Aws::Vector< Aws::String > &value)
void SetGrantee(Aws::String &&value)
Permission & WithGrantee(Aws::String &&value)
void SetAccess(Aws::Vector< Aws::String > &&value)
Permission & WithGranteeType(const Aws::String &value)
bool AccessHasBeenSet() const
const Aws::String & GetGrantee() const
void SetGrantee(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAccess() const
AWS_ELASTICTRANSCODER_API Permission(Aws::Utils::Json::JsonView jsonValue)
Permission & AddAccess(Aws::String &&value)
AWS_ELASTICTRANSCODER_API Permission & operator=(Aws::Utils::Json::JsonView jsonValue)
Permission & WithGrantee(const char *value)
void SetGranteeType(const char *value)
const Aws::String & GetGranteeType() const
void SetGrantee(const char *value)
void SetGranteeType(const Aws::String &value)
Permission & WithGranteeType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue