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; }
62 template<
typename UserPoolIdT = Aws::String>
63 void SetUserPoolId(UserPoolIdT&& value) { m_userPoolIdHasBeenSet =
true; m_userPoolId = std::forward<UserPoolIdT>(value); }
64 template<
typename UserPoolIdT = Aws::String>
75 template<
typename IdentityPoolIdT = Aws::String>
76 void SetIdentityPoolId(IdentityPoolIdT&& value) { m_identityPoolIdHasBeenSet =
true; m_identityPoolId = std::forward<IdentityPoolIdT>(value); }
77 template<
typename IdentityPoolIdT = Aws::String>
88 template<
typename RoleArnT = Aws::String>
89 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet =
true; m_roleArn = std::forward<RoleArnT>(value); }
90 template<
typename RoleArnT = Aws::String>
95 bool m_enabled{
false};
96 bool m_enabledHasBeenSet =
false;
99 bool m_userPoolIdHasBeenSet =
false;
102 bool m_identityPoolIdHasBeenSet =
false;
105 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