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