/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a GraphQL API.See Also:
AWS
* API Reference
The API name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The API name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The API name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The API name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The API name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The API name.
*/ inline GraphqlApi& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The API name.
*/ inline GraphqlApi& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The API name.
*/ inline GraphqlApi& WithName(const char* value) { SetName(value); return *this;} /** *The API ID.
*/ inline const Aws::String& GetApiId() const{ return m_apiId; } /** *The API ID.
*/ inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; } /** *The API ID.
*/ inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; } /** *The API ID.
*/ inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); } /** *The API ID.
*/ inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); } /** *The API ID.
*/ inline GraphqlApi& WithApiId(const Aws::String& value) { SetApiId(value); return *this;} /** *The API ID.
*/ inline GraphqlApi& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;} /** *The API ID.
*/ inline GraphqlApi& WithApiId(const char* value) { SetApiId(value); return *this;} /** *The authentication type.
*/ inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; } /** *The authentication type.
*/ inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; } /** *The authentication type.
*/ inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; } /** *The authentication type.
*/ inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); } /** *The authentication type.
*/ inline GraphqlApi& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;} /** *The authentication type.
*/ inline GraphqlApi& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;} /** *The Amazon CloudWatch Logs configuration.
*/ inline const LogConfig& GetLogConfig() const{ return m_logConfig; } /** *The Amazon CloudWatch Logs configuration.
*/ inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; } /** *The Amazon CloudWatch Logs configuration.
*/ inline void SetLogConfig(const LogConfig& value) { m_logConfigHasBeenSet = true; m_logConfig = value; } /** *The Amazon CloudWatch Logs configuration.
*/ inline void SetLogConfig(LogConfig&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::move(value); } /** *The Amazon CloudWatch Logs configuration.
*/ inline GraphqlApi& WithLogConfig(const LogConfig& value) { SetLogConfig(value); return *this;} /** *The Amazon CloudWatch Logs configuration.
*/ inline GraphqlApi& WithLogConfig(LogConfig&& value) { SetLogConfig(std::move(value)); return *this;} /** *The Amazon Cognito user pool configuration.
*/ inline const UserPoolConfig& GetUserPoolConfig() const{ return m_userPoolConfig; } /** *The Amazon Cognito user pool configuration.
*/ inline bool UserPoolConfigHasBeenSet() const { return m_userPoolConfigHasBeenSet; } /** *The Amazon Cognito user pool configuration.
*/ inline void SetUserPoolConfig(const UserPoolConfig& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = value; } /** *The Amazon Cognito user pool configuration.
*/ inline void SetUserPoolConfig(UserPoolConfig&& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = std::move(value); } /** *The Amazon Cognito user pool configuration.
*/ inline GraphqlApi& WithUserPoolConfig(const UserPoolConfig& value) { SetUserPoolConfig(value); return *this;} /** *The Amazon Cognito user pool configuration.
*/ inline GraphqlApi& WithUserPoolConfig(UserPoolConfig&& value) { SetUserPoolConfig(std::move(value)); return *this;} /** *The OpenID Connect configuration.
*/ inline const OpenIDConnectConfig& GetOpenIDConnectConfig() const{ return m_openIDConnectConfig; } /** *The OpenID Connect configuration.
*/ inline bool OpenIDConnectConfigHasBeenSet() const { return m_openIDConnectConfigHasBeenSet; } /** *The OpenID Connect configuration.
*/ inline void SetOpenIDConnectConfig(const OpenIDConnectConfig& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = value; } /** *The OpenID Connect configuration.
*/ inline void SetOpenIDConnectConfig(OpenIDConnectConfig&& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = std::move(value); } /** *The OpenID Connect configuration.
*/ inline GraphqlApi& WithOpenIDConnectConfig(const OpenIDConnectConfig& value) { SetOpenIDConnectConfig(value); return *this;} /** *The OpenID Connect configuration.
*/ inline GraphqlApi& WithOpenIDConnectConfig(OpenIDConnectConfig&& value) { SetOpenIDConnectConfig(std::move(value)); return *this;} /** *The ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN.
*/ inline GraphqlApi& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN.
*/ inline GraphqlApi& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN.
*/ inline GraphqlApi& WithArn(const char* value) { SetArn(value); return *this;} /** *The URIs.
*/ inline const Aws::MapThe URIs.
*/ inline bool UrisHasBeenSet() const { return m_urisHasBeenSet; } /** *The URIs.
*/ inline void SetUris(const Aws::MapThe URIs.
*/ inline void SetUris(Aws::MapThe URIs.
*/ inline GraphqlApi& WithUris(const Aws::MapThe URIs.
*/ inline GraphqlApi& WithUris(Aws::MapThe URIs.
*/ inline GraphqlApi& AddUris(const Aws::String& key, const Aws::String& value) { m_urisHasBeenSet = true; m_uris.emplace(key, value); return *this; } /** *The URIs.
*/ inline GraphqlApi& AddUris(Aws::String&& key, const Aws::String& value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), value); return *this; } /** *The URIs.
*/ inline GraphqlApi& AddUris(const Aws::String& key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(key, std::move(value)); return *this; } /** *The URIs.
*/ inline GraphqlApi& AddUris(Aws::String&& key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), std::move(value)); return *this; } /** *The URIs.
*/ inline GraphqlApi& AddUris(const char* key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(key, std::move(value)); return *this; } /** *The URIs.
*/ inline GraphqlApi& AddUris(Aws::String&& key, const char* value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), value); return *this; } /** *The URIs.
*/ inline GraphqlApi& AddUris(const char* key, const char* value) { m_urisHasBeenSet = true; m_uris.emplace(key, value); return *this; } /** *The tags.
*/ inline const Aws::MapThe tags.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags.
*/ inline void SetTags(const Aws::MapThe tags.
*/ inline void SetTags(Aws::MapThe tags.
*/ inline GraphqlApi& WithTags(const Aws::MapThe tags.
*/ inline GraphqlApi& WithTags(Aws::MapThe tags.
*/ inline GraphqlApi& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags.
*/ inline GraphqlApi& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags.
*/ inline GraphqlApi& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags.
*/ inline GraphqlApi& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags.
*/ inline GraphqlApi& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags.
*/ inline GraphqlApi& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags.
*/ inline GraphqlApi& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A list of additional authentication providers for the GraphqlApi
* API.
A flag representing whether X-Ray tracing is enabled for this
* GraphqlApi.
A flag representing whether X-Ray tracing is enabled for this
* GraphqlApi.
A flag representing whether X-Ray tracing is enabled for this
* GraphqlApi.
A flag representing whether X-Ray tracing is enabled for this
* GraphqlApi.