7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticsearchService
50 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
62 inline void SetUserPoolId(
const char* value) { m_userPoolIdHasBeenSet =
true; m_userPoolId.assign(value); }
76 inline void SetIdentityPoolId(
const char* value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId.assign(value); }
91 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
99 bool m_enabledHasBeenSet =
false;
102 bool m_userPoolIdHasBeenSet =
false;
105 bool m_identityPoolIdHasBeenSet =
false;
108 bool m_roleArnHasBeenSet =
false;
void SetUserPoolId(const char *value)
bool RoleArnHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserPoolId(Aws::String &&value)
CognitoOptions & WithRoleArn(const char *value)
AWS_ELASTICSEARCHSERVICE_API CognitoOptions()
CognitoOptions & WithEnabled(bool value)
bool UserPoolIdHasBeenSet() const
void SetIdentityPoolId(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
CognitoOptions & WithUserPoolId(const Aws::String &value)
void SetIdentityPoolId(const char *value)
CognitoOptions & WithUserPoolId(const char *value)
const Aws::String & GetIdentityPoolId() const
void SetIdentityPoolId(Aws::String &&value)
void SetEnabled(bool value)
CognitoOptions & WithIdentityPoolId(const char *value)
AWS_ELASTICSEARCHSERVICE_API CognitoOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(const char *value)
CognitoOptions & WithIdentityPoolId(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
bool EnabledHasBeenSet() const
const Aws::String & GetUserPoolId() const
AWS_ELASTICSEARCHSERVICE_API CognitoOptions(Aws::Utils::Json::JsonView jsonValue)
CognitoOptions & WithRoleArn(Aws::String &&value)
void SetUserPoolId(const Aws::String &value)
bool IdentityPoolIdHasBeenSet() const
CognitoOptions & WithIdentityPoolId(Aws::String &&value)
CognitoOptions & WithUserPoolId(Aws::String &&value)
CognitoOptions & WithRoleArn(const Aws::String &value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue