/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppSync { namespace Model { /** *

Describes a GraphQL API.

See Also:

AWS * API Reference

*/ class GraphqlApi { public: AWS_APPSYNC_API GraphqlApi(); AWS_APPSYNC_API GraphqlApi(Aws::Utils::Json::JsonView jsonValue); AWS_APPSYNC_API GraphqlApi& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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::Map& GetUris() const{ return m_uris; } /** *

The URIs.

*/ inline bool UrisHasBeenSet() const { return m_urisHasBeenSet; } /** *

The URIs.

*/ inline void SetUris(const Aws::Map& value) { m_urisHasBeenSet = true; m_uris = value; } /** *

The URIs.

*/ inline void SetUris(Aws::Map&& value) { m_urisHasBeenSet = true; m_uris = std::move(value); } /** *

The URIs.

*/ inline GraphqlApi& WithUris(const Aws::Map& value) { SetUris(value); return *this;} /** *

The URIs.

*/ inline GraphqlApi& WithUris(Aws::Map&& value) { SetUris(std::move(value)); return *this;} /** *

The 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::Map& GetTags() const{ return m_tags; } /** *

The tags.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags.

*/ inline GraphqlApi& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags.

*/ inline GraphqlApi& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The 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.

*/ inline const Aws::Vector& GetAdditionalAuthenticationProviders() const{ return m_additionalAuthenticationProviders; } /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline bool AdditionalAuthenticationProvidersHasBeenSet() const { return m_additionalAuthenticationProvidersHasBeenSet; } /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline void SetAdditionalAuthenticationProviders(const Aws::Vector& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders = value; } /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline void SetAdditionalAuthenticationProviders(Aws::Vector&& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders = std::move(value); } /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline GraphqlApi& WithAdditionalAuthenticationProviders(const Aws::Vector& value) { SetAdditionalAuthenticationProviders(value); return *this;} /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline GraphqlApi& WithAdditionalAuthenticationProviders(Aws::Vector&& value) { SetAdditionalAuthenticationProviders(std::move(value)); return *this;} /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline GraphqlApi& AddAdditionalAuthenticationProviders(const AdditionalAuthenticationProvider& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders.push_back(value); return *this; } /** *

A list of additional authentication providers for the GraphqlApi * API.

*/ inline GraphqlApi& AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvider&& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders.push_back(std::move(value)); return *this; } /** *

A flag indicating whether to use X-Ray tracing for this * GraphqlApi.

*/ inline bool GetXrayEnabled() const{ return m_xrayEnabled; } /** *

A flag indicating whether to use X-Ray tracing for this * GraphqlApi.

*/ inline bool XrayEnabledHasBeenSet() const { return m_xrayEnabledHasBeenSet; } /** *

A flag indicating whether to use X-Ray tracing for this * GraphqlApi.

*/ inline void SetXrayEnabled(bool value) { m_xrayEnabledHasBeenSet = true; m_xrayEnabled = value; } /** *

A flag indicating whether to use X-Ray tracing for this * GraphqlApi.

*/ inline GraphqlApi& WithXrayEnabled(bool value) { SetXrayEnabled(value); return *this;} /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline const Aws::String& GetWafWebAclArn() const{ return m_wafWebAclArn; } /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline bool WafWebAclArnHasBeenSet() const { return m_wafWebAclArnHasBeenSet; } /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline void SetWafWebAclArn(const Aws::String& value) { m_wafWebAclArnHasBeenSet = true; m_wafWebAclArn = value; } /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline void SetWafWebAclArn(Aws::String&& value) { m_wafWebAclArnHasBeenSet = true; m_wafWebAclArn = std::move(value); } /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline void SetWafWebAclArn(const char* value) { m_wafWebAclArnHasBeenSet = true; m_wafWebAclArn.assign(value); } /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline GraphqlApi& WithWafWebAclArn(const Aws::String& value) { SetWafWebAclArn(value); return *this;} /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline GraphqlApi& WithWafWebAclArn(Aws::String&& value) { SetWafWebAclArn(std::move(value)); return *this;} /** *

The ARN of the WAF access control list (ACL) associated with this * GraphqlApi, if one exists.

*/ inline GraphqlApi& WithWafWebAclArn(const char* value) { SetWafWebAclArn(value); return *this;} /** *

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::Map& GetDns() const{ return m_dns; } /** *

The DNS records for the API.

*/ inline bool DnsHasBeenSet() const { return m_dnsHasBeenSet; } /** *

The DNS records for the API.

*/ inline void SetDns(const Aws::Map& value) { m_dnsHasBeenSet = true; m_dns = value; } /** *

The DNS records for the API.

*/ inline void SetDns(Aws::Map&& value) { m_dnsHasBeenSet = true; m_dns = std::move(value); } /** *

The DNS records for the API.

*/ inline GraphqlApi& WithDns(const Aws::Map& value) { SetDns(value); return *this;} /** *

The DNS records for the API.

*/ inline GraphqlApi& WithDns(Aws::Map&& value) { SetDns(std::move(value)); return *this;} /** *

The 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.

*/ inline const GraphQLApiVisibility& GetVisibility() const{ return m_visibility; } /** *

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.

*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *

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.

*/ inline void SetVisibility(const GraphQLApiVisibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *

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.

*/ inline void SetVisibility(GraphQLApiVisibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *

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.

*/ inline GraphqlApi& WithVisibility(const GraphQLApiVisibility& value) { SetVisibility(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.

*/ inline GraphqlApi& WithVisibility(GraphQLApiVisibility&& value) { SetVisibility(std::move(value)); return *this;} /** *

The value that indicates whether the GraphQL API is a standard API * (GRAPHQL) or merged API (MERGED).

*/ inline const GraphQLApiType& GetApiType() const{ return m_apiType; } /** *

The value that indicates whether the GraphQL API is a standard API * (GRAPHQL) or merged API (MERGED).

*/ inline bool ApiTypeHasBeenSet() const { return m_apiTypeHasBeenSet; } /** *

The value that indicates whether the GraphQL API is a standard API * (GRAPHQL) or merged API (MERGED).

*/ inline void SetApiType(const GraphQLApiType& value) { m_apiTypeHasBeenSet = true; m_apiType = value; } /** *

The value that indicates whether the GraphQL API is a standard API * (GRAPHQL) or merged API (MERGED).

*/ inline void SetApiType(GraphQLApiType&& value) { m_apiTypeHasBeenSet = true; m_apiType = std::move(value); } /** *

The value that indicates whether the GraphQL API is a standard API * (GRAPHQL) or merged API (MERGED).

*/ inline GraphqlApi& WithApiType(const GraphQLApiType& value) { SetApiType(value); return *this;} /** *

The value that indicates whether the GraphQL API is a standard API * (GRAPHQL) or merged API (MERGED).

*/ inline GraphqlApi& WithApiType(GraphQLApiType&& value) { SetApiType(std::move(value)); return *this;} /** *

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.

*/ inline const Aws::String& GetMergedApiExecutionRoleArn() const{ return m_mergedApiExecutionRoleArn; } /** *

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.

*/ inline bool MergedApiExecutionRoleArnHasBeenSet() const { return m_mergedApiExecutionRoleArnHasBeenSet; } /** *

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.

*/ inline void SetMergedApiExecutionRoleArn(const Aws::String& value) { m_mergedApiExecutionRoleArnHasBeenSet = true; m_mergedApiExecutionRoleArn = value; } /** *

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.

*/ inline void SetMergedApiExecutionRoleArn(Aws::String&& value) { m_mergedApiExecutionRoleArnHasBeenSet = true; m_mergedApiExecutionRoleArn = std::move(value); } /** *

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.

*/ inline void SetMergedApiExecutionRoleArn(const char* value) { m_mergedApiExecutionRoleArnHasBeenSet = true; m_mergedApiExecutionRoleArn.assign(value); } /** *

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.

*/ inline GraphqlApi& WithMergedApiExecutionRoleArn(const Aws::String& value) { SetMergedApiExecutionRoleArn(value); return *this;} /** *

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.

*/ inline GraphqlApi& WithMergedApiExecutionRoleArn(Aws::String&& value) { SetMergedApiExecutionRoleArn(std::move(value)); return *this;} /** *

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.

*/ inline GraphqlApi& WithMergedApiExecutionRoleArn(const char* value) { SetMergedApiExecutionRoleArn(value); return *this;} /** *

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 m_uris; bool m_urisHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::Vector m_additionalAuthenticationProviders; bool m_additionalAuthenticationProvidersHasBeenSet = false; bool m_xrayEnabled; bool m_xrayEnabledHasBeenSet = false; Aws::String m_wafWebAclArn; bool m_wafWebAclArnHasBeenSet = false; LambdaAuthorizerConfig m_lambdaAuthorizerConfig; bool m_lambdaAuthorizerConfigHasBeenSet = false; Aws::Map m_dns; bool m_dnsHasBeenSet = false; GraphQLApiVisibility m_visibility; bool m_visibilityHasBeenSet = false; GraphQLApiType m_apiType; bool m_apiTypeHasBeenSet = false; Aws::String m_mergedApiExecutionRoleArn; bool m_mergedApiExecutionRoleArnHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; Aws::String m_ownerContact; bool m_ownerContactHasBeenSet = false; }; } // namespace Model } // namespace AppSync } // namespace Aws