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; }
60 template<
typename UserPoolIdT = Aws::String>
61 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet =
true; m_userPoolId = std::forward<UserPoolIdT>(value); }
62 template<
typename UserPoolIdT = Aws::String>
72 template<
typename IdentityPoolIdT = Aws::String>
73 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
74 template<
typename IdentityPoolIdT = Aws::String>
85 template<
typename RoleArnT = Aws::String>
86 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
87 template<
typename RoleArnT = Aws::String>
92 bool m_enabled{
false};
93 bool m_enabledHasBeenSet =
false;
96 bool m_userPoolIdHasBeenSet =
false;
99 bool m_identityPoolIdHasBeenSet =
false;
102 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