/**
* 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 Amazon Resource Name (ARN).
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN).
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN).
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN).
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN).
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN).
*/ inline GraphqlApi& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN).
*/ inline GraphqlApi& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (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 indicating whether to use X-Ray tracing for this
* GraphqlApi
.
A flag indicating whether to use X-Ray tracing for this
* GraphqlApi
.
A flag indicating whether to use X-Ray tracing for this
* GraphqlApi
.
A flag indicating whether to use X-Ray tracing for this
* GraphqlApi
.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
The ARN of the WAF access control list (ACL) associated with this
* GraphqlApi
, if one exists.
Configuration for Lambda function authorization.
*/ inline const LambdaAuthorizerConfig& GetLambdaAuthorizerConfig() const{ return m_lambdaAuthorizerConfig; } /** *Configuration for Lambda function authorization.
*/ inline bool LambdaAuthorizerConfigHasBeenSet() const { return m_lambdaAuthorizerConfigHasBeenSet; } /** *Configuration for Lambda function authorization.
*/ inline void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = value; } /** *Configuration for Lambda function authorization.
*/ inline void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = std::move(value); } /** *Configuration for Lambda function authorization.
*/ inline GraphqlApi& WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { SetLambdaAuthorizerConfig(value); return *this;} /** *Configuration for Lambda function authorization.
*/ inline GraphqlApi& WithLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { SetLambdaAuthorizerConfig(std::move(value)); return *this;} /** *The DNS records for the API.
*/ inline const Aws::MapThe DNS records for the API.
*/ inline bool DnsHasBeenSet() const { return m_dnsHasBeenSet; } /** *The DNS records for the API.
*/ inline void SetDns(const Aws::MapThe DNS records for the API.
*/ inline void SetDns(Aws::MapThe DNS records for the API.
*/ inline GraphqlApi& WithDns(const Aws::MapThe DNS records for the API.
*/ inline GraphqlApi& WithDns(Aws::MapThe DNS records for the API.
*/ inline GraphqlApi& AddDns(const Aws::String& key, const Aws::String& value) { m_dnsHasBeenSet = true; m_dns.emplace(key, value); return *this; } /** *The DNS records for the API.
*/ inline GraphqlApi& AddDns(Aws::String&& key, const Aws::String& value) { m_dnsHasBeenSet = true; m_dns.emplace(std::move(key), value); return *this; } /** *The DNS records for the API.
*/ inline GraphqlApi& AddDns(const Aws::String& key, Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.emplace(key, std::move(value)); return *this; } /** *The DNS records for the API.
*/ inline GraphqlApi& AddDns(Aws::String&& key, Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.emplace(std::move(key), std::move(value)); return *this; } /** *The DNS records for the API.
*/ inline GraphqlApi& AddDns(const char* key, Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.emplace(key, std::move(value)); return *this; } /** *The DNS records for the API.
*/ inline GraphqlApi& AddDns(Aws::String&& key, const char* value) { m_dnsHasBeenSet = true; m_dns.emplace(std::move(key), value); return *this; } /** *The DNS records for the API.
*/ inline GraphqlApi& AddDns(const char* key, const char* value) { m_dnsHasBeenSet = true; m_dns.emplace(key, value); return *this; } /** *Sets the value of the GraphQL API to public (GLOBAL
) or private
* (PRIVATE
). If no value is provided, the visibility will be set to
* GLOBAL
by default. This value cannot be changed once the API has
* been created.
Sets the value of the GraphQL API to public (GLOBAL
) or private
* (PRIVATE
). If no value is provided, the visibility will be set to
* GLOBAL
by default. This value cannot be changed once the API has
* been created.
Sets the value of the GraphQL API to public (GLOBAL
) or private
* (PRIVATE
). If no value is provided, the visibility will be set to
* GLOBAL
by default. This value cannot be changed once the API has
* been created.
Sets the value of the GraphQL API to public (GLOBAL
) or private
* (PRIVATE
). If no value is provided, the visibility will be set to
* GLOBAL
by default. This value cannot be changed once the API has
* been created.
Sets the value of the GraphQL API to public (GLOBAL
) or private
* (PRIVATE
). If no value is provided, the visibility will be set to
* GLOBAL
by default. This value cannot be changed once the API has
* been created.
Sets the value of the GraphQL API to public (GLOBAL
) or private
* (PRIVATE
). If no value is provided, the visibility will be set to
* GLOBAL
by default. This value cannot be changed once the API has
* been created.
The value that indicates whether the GraphQL API is a standard API
* (GRAPHQL
) or merged API (MERGED
).
The value that indicates whether the GraphQL API is a standard API
* (GRAPHQL
) or merged API (MERGED
).
The value that indicates whether the GraphQL API is a standard API
* (GRAPHQL
) or merged API (MERGED
).
The value that indicates whether the GraphQL API is a standard API
* (GRAPHQL
) or merged API (MERGED
).
The value that indicates whether the GraphQL API is a standard API
* (GRAPHQL
) or merged API (MERGED
).
The value that indicates whether the GraphQL API is a standard API
* (GRAPHQL
) or merged API (MERGED
).
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The Identity and Access Management service role ARN for a merged API. The
* AppSync service assumes this role on behalf of the Merged API to validate access
* to source APIs at runtime and to prompt the AUTO_MERGE
to update
* the merged API endpoint with the source API changes automatically.
The account owner of the GraphQL API.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The account owner of the GraphQL API.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The account owner of the GraphQL API.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The account owner of the GraphQL API.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The account owner of the GraphQL API.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The account owner of the GraphQL API.
*/ inline GraphqlApi& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The account owner of the GraphQL API.
*/ inline GraphqlApi& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The account owner of the GraphQL API.
*/ inline GraphqlApi& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline const Aws::String& GetOwnerContact() const{ return m_ownerContact; } /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline bool OwnerContactHasBeenSet() const { return m_ownerContactHasBeenSet; } /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline void SetOwnerContact(const Aws::String& value) { m_ownerContactHasBeenSet = true; m_ownerContact = value; } /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline void SetOwnerContact(Aws::String&& value) { m_ownerContactHasBeenSet = true; m_ownerContact = std::move(value); } /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline void SetOwnerContact(const char* value) { m_ownerContactHasBeenSet = true; m_ownerContact.assign(value); } /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline GraphqlApi& WithOwnerContact(const Aws::String& value) { SetOwnerContact(value); return *this;} /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline GraphqlApi& WithOwnerContact(Aws::String&& value) { SetOwnerContact(std::move(value)); return *this;} /** *The owner contact information for an API resource.
This field accepts * any string input with a length of 0 - 256 characters.
*/ inline GraphqlApi& WithOwnerContact(const char* value) { SetOwnerContact(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_apiId; bool m_apiIdHasBeenSet = false; AuthenticationType m_authenticationType; bool m_authenticationTypeHasBeenSet = false; LogConfig m_logConfig; bool m_logConfigHasBeenSet = false; UserPoolConfig m_userPoolConfig; bool m_userPoolConfigHasBeenSet = false; OpenIDConnectConfig m_openIDConnectConfig; bool m_openIDConnectConfigHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Map