7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/PrincipalType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace ElasticsearchService
63 inline void SetPrincipal(
const char* value) { m_principalHasBeenSet =
true; m_principal.assign(value); }
71 bool m_principalTypeHasBeenSet =
false;
74 bool m_principalHasBeenSet =
false;
const PrincipalType & GetPrincipalType() const
AWS_ELASTICSEARCHSERVICE_API AuthorizedPrincipal(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICSEARCHSERVICE_API AuthorizedPrincipal & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPrincipal() const
AuthorizedPrincipal & WithPrincipal(Aws::String &&value)
AuthorizedPrincipal & WithPrincipal(const Aws::String &value)
bool PrincipalHasBeenSet() const
AuthorizedPrincipal & WithPrincipalType(PrincipalType &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrincipal(const char *value)
AuthorizedPrincipal & WithPrincipalType(const PrincipalType &value)
void SetPrincipal(const Aws::String &value)
void SetPrincipal(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API AuthorizedPrincipal()
void SetPrincipalType(PrincipalType &&value)
void SetPrincipalType(const PrincipalType &value)
bool PrincipalTypeHasBeenSet() const
AuthorizedPrincipal & WithPrincipal(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue