7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
19namespace ElasticsearchService {
45 m_enabledHasBeenSet =
true;
60 template <
typename UserPoolIdT = Aws::String>
62 m_userPoolIdHasBeenSet =
true;
63 m_userPoolId = std::forward<UserPoolIdT>(value);
65 template <
typename UserPoolIdT = Aws::String>
78 template <
typename IdentityPoolIdT = Aws::String>
80 m_identityPoolIdHasBeenSet =
true;
81 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
83 template <
typename IdentityPoolIdT = Aws::String>
97 template <
typename RoleArnT = Aws::String>
99 m_roleArnHasBeenSet =
true;
100 m_roleArn = std::forward<RoleArnT>(value);
102 template <
typename RoleArnT = Aws::String>
109 bool m_enabled{
false};
116 bool m_enabledHasBeenSet =
false;
117 bool m_userPoolIdHasBeenSet =
false;
118 bool m_identityPoolIdHasBeenSet =
false;
119 bool m_roleArnHasBeenSet =
false;
bool RoleArnHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CognitoOptions & WithEnabled(bool value)
bool UserPoolIdHasBeenSet() const
const Aws::String & GetIdentityPoolId() const
void SetEnabled(bool value)
CognitoOptions & WithUserPoolId(UserPoolIdT &&value)
AWS_ELASTICSEARCHSERVICE_API CognitoOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIdentityPoolId(IdentityPoolIdT &&value)
AWS_ELASTICSEARCHSERVICE_API CognitoOptions()=default
void SetUserPoolId(UserPoolIdT &&value)
bool EnabledHasBeenSet() const
const Aws::String & GetUserPoolId() const
AWS_ELASTICSEARCHSERVICE_API CognitoOptions(Aws::Utils::Json::JsonView jsonValue)
void SetRoleArn(RoleArnT &&value)
bool IdentityPoolIdHasBeenSet() const
CognitoOptions & WithRoleArn(RoleArnT &&value)
CognitoOptions & WithIdentityPoolId(IdentityPoolIdT &&value)
const Aws::String & GetRoleArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue