7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearch/OpenSearchService_EXPORTS.h>
19namespace OpenSearchService {
46 m_enabledHasBeenSet =
true;
62 template <
typename UserPoolIdT = Aws::String>
64 m_userPoolIdHasBeenSet =
true;
65 m_userPoolId = std::forward<UserPoolIdT>(value);
67 template <
typename UserPoolIdT = Aws::String>
81 template <
typename IdentityPoolIdT = Aws::String>
83 m_identityPoolIdHasBeenSet =
true;
84 m_identityPoolId = std::forward<IdentityPoolIdT>(value);
86 template <
typename IdentityPoolIdT = Aws::String>
100 template <
typename RoleArnT = Aws::String>
102 m_roleArnHasBeenSet =
true;
103 m_roleArn = std::forward<RoleArnT>(value);
105 template <
typename RoleArnT = Aws::String>
112 bool m_enabled{
false};
119 bool m_enabledHasBeenSet =
false;
120 bool m_userPoolIdHasBeenSet =
false;
121 bool m_identityPoolIdHasBeenSet =
false;
122 bool m_roleArnHasBeenSet =
false;
const Aws::String & GetUserPoolId() const
bool IdentityPoolIdHasBeenSet() const
void SetUserPoolId(UserPoolIdT &&value)
bool EnabledHasBeenSet() const
void SetIdentityPoolId(IdentityPoolIdT &&value)
CognitoOptions & WithEnabled(bool value)
void SetEnabled(bool value)
CognitoOptions & WithUserPoolId(UserPoolIdT &&value)
bool UserPoolIdHasBeenSet() const
const Aws::String & GetIdentityPoolId() const
AWS_OPENSEARCHSERVICE_API CognitoOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
CognitoOptions & WithIdentityPoolId(IdentityPoolIdT &&value)
const Aws::String & GetRoleArn() const
bool RoleArnHasBeenSet() const
void SetRoleArn(RoleArnT &&value)
AWS_OPENSEARCHSERVICE_API CognitoOptions()=default
AWS_OPENSEARCHSERVICE_API CognitoOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
CognitoOptions & WithRoleArn(RoleArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue