7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appsync/model/AuthenticationType.h>
10#include <aws/appsync/model/LogConfig.h>
11#include <aws/appsync/model/UserPoolConfig.h>
12#include <aws/appsync/model/OpenIDConnectConfig.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/appsync/model/LambdaAuthorizerConfig.h>
16#include <aws/appsync/model/GraphQLApiVisibility.h>
17#include <aws/appsync/model/GraphQLApiType.h>
18#include <aws/appsync/model/GraphQLApiIntrospectionConfig.h>
19#include <aws/appsync/model/EnhancedMetricsConfig.h>
20#include <aws/appsync/model/AdditionalAuthenticationProvider.h>
60 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
74 inline void SetApiId(
const char* value) { m_apiIdHasBeenSet =
true; m_apiId.assign(value); }
136 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
158 inline GraphqlApi&
AddUris(
const char* key,
const char* value) { m_urisHasBeenSet =
true; m_uris.emplace(key, value);
return *
this; }
177 inline GraphqlApi&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
202 inline void SetXrayEnabled(
bool value) { m_xrayEnabledHasBeenSet =
true; m_xrayEnabled = value; }
215 inline void SetWafWebAclArn(
const char* value) { m_wafWebAclArnHasBeenSet =
true; m_wafWebAclArn.assign(value); }
249 inline GraphqlApi&
AddDns(
const char* key,
const char* value) { m_dnsHasBeenSet =
true; m_dns.emplace(key, value);
return *
this; }
291 inline void SetMergedApiExecutionRoleArn(
const char* value) { m_mergedApiExecutionRoleArnHasBeenSet =
true; m_mergedApiExecutionRoleArn.assign(value); }
305 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
320 inline void SetOwnerContact(
const char* value) { m_ownerContactHasBeenSet =
true; m_ownerContact.assign(value); }
357 inline void SetQueryDepthLimit(
int value) { m_queryDepthLimitHasBeenSet =
true; m_queryDepthLimit = value; }
371 inline void SetResolverCountLimit(
int value) { m_resolverCountLimitHasBeenSet =
true; m_resolverCountLimit = value; }
389 bool m_nameHasBeenSet =
false;
392 bool m_apiIdHasBeenSet =
false;
395 bool m_authenticationTypeHasBeenSet =
false;
398 bool m_logConfigHasBeenSet =
false;
401 bool m_userPoolConfigHasBeenSet =
false;
404 bool m_openIDConnectConfigHasBeenSet =
false;
407 bool m_arnHasBeenSet =
false;
410 bool m_urisHasBeenSet =
false;
413 bool m_tagsHasBeenSet =
false;
416 bool m_additionalAuthenticationProvidersHasBeenSet =
false;
419 bool m_xrayEnabledHasBeenSet =
false;
422 bool m_wafWebAclArnHasBeenSet =
false;
425 bool m_lambdaAuthorizerConfigHasBeenSet =
false;
428 bool m_dnsHasBeenSet =
false;
431 bool m_visibilityHasBeenSet =
false;
434 bool m_apiTypeHasBeenSet =
false;
437 bool m_mergedApiExecutionRoleArnHasBeenSet =
false;
440 bool m_ownerHasBeenSet =
false;
443 bool m_ownerContactHasBeenSet =
false;
446 bool m_introspectionConfigHasBeenSet =
false;
448 int m_queryDepthLimit;
449 bool m_queryDepthLimitHasBeenSet =
false;
451 int m_resolverCountLimit;
452 bool m_resolverCountLimitHasBeenSet =
false;
455 bool m_enhancedMetricsConfigHasBeenSet =
false;
GraphqlApi & WithAdditionalAuthenticationProviders(const Aws::Vector< AdditionalAuthenticationProvider > &value)
void SetOwner(const Aws::String &value)
void SetWafWebAclArn(const Aws::String &value)
bool TagsHasBeenSet() const
void SetAuthenticationType(const AuthenticationType &value)
bool IntrospectionConfigHasBeenSet() const
void SetArn(const Aws::String &value)
void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
GraphqlApi & AddDns(Aws::String &&key, const Aws::String &value)
GraphqlApi & WithLogConfig(LogConfig &&value)
const Aws::Map< Aws::String, Aws::String > & GetDns() const
GraphqlApi & WithDns(const Aws::Map< Aws::String, Aws::String > &value)
bool NameHasBeenSet() const
bool LogConfigHasBeenSet() const
void SetAdditionalAuthenticationProviders(Aws::Vector< AdditionalAuthenticationProvider > &&value)
GraphqlApi & WithApiId(const Aws::String &value)
void SetXrayEnabled(bool value)
GraphqlApi & AddTags(Aws::String &&key, const char *value)
GraphqlApi & AddAdditionalAuthenticationProviders(const AdditionalAuthenticationProvider &value)
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
void SetMergedApiExecutionRoleArn(const Aws::String &value)
GraphqlApi & AddUris(Aws::String &&key, const Aws::String &value)
const UserPoolConfig & GetUserPoolConfig() const
GraphqlApi & WithMergedApiExecutionRoleArn(Aws::String &&value)
const Aws::String & GetApiId() const
GraphqlApi & AddTags(const Aws::String &key, const Aws::String &value)
const EnhancedMetricsConfig & GetEnhancedMetricsConfig() const
GraphqlApi & WithWafWebAclArn(Aws::String &&value)
GraphqlApi & WithVisibility(GraphQLApiVisibility &&value)
void SetUris(const Aws::Map< Aws::String, Aws::String > &value)
void SetUserPoolConfig(const UserPoolConfig &value)
GraphqlApi & WithOwnerContact(const Aws::String &value)
const Aws::String & GetMergedApiExecutionRoleArn() const
const GraphQLApiIntrospectionConfig & GetIntrospectionConfig() const
const Aws::Map< Aws::String, Aws::String > & GetUris() const
GraphqlApi & AddUris(const char *key, Aws::String &&value)
GraphqlApi & WithUserPoolConfig(const UserPoolConfig &value)
void SetIntrospectionConfig(const GraphQLApiIntrospectionConfig &value)
void SetUris(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< AdditionalAuthenticationProvider > & GetAdditionalAuthenticationProviders() const
void SetName(const char *value)
void SetLogConfig(const LogConfig &value)
GraphqlApi & WithArn(const char *value)
GraphqlApi & AddUris(const Aws::String &key, const Aws::String &value)
void SetApiId(Aws::String &&value)
void SetMergedApiExecutionRoleArn(Aws::String &&value)
const GraphQLApiType & GetApiType() const
void SetVisibility(GraphQLApiVisibility &&value)
void SetOpenIDConnectConfig(OpenIDConnectConfig &&value)
GraphqlApi & WithOwner(const Aws::String &value)
void SetApiType(const GraphQLApiType &value)
void SetUserPoolConfig(UserPoolConfig &&value)
void SetOpenIDConnectConfig(const OpenIDConnectConfig &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ApiIdHasBeenSet() const
GraphqlApi & WithResolverCountLimit(int value)
bool GetXrayEnabled() const
AWS_APPSYNC_API GraphqlApi(Aws::Utils::Json::JsonView jsonValue)
bool EnhancedMetricsConfigHasBeenSet() const
bool OpenIDConnectConfigHasBeenSet() const
GraphqlApi & WithXrayEnabled(bool value)
GraphqlApi & AddDns(const Aws::String &key, Aws::String &&value)
AWS_APPSYNC_API GraphqlApi()
GraphqlApi & WithLogConfig(const LogConfig &value)
const AuthenticationType & GetAuthenticationType() const
bool OwnerContactHasBeenSet() const
void SetWafWebAclArn(const char *value)
GraphqlApi & AddUris(const char *key, const char *value)
void SetOwnerContact(const char *value)
GraphqlApi & WithUserPoolConfig(UserPoolConfig &&value)
void SetDns(const Aws::Map< Aws::String, Aws::String > &value)
int GetQueryDepthLimit() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GraphqlApi & WithApiId(Aws::String &&value)
bool WafWebAclArnHasBeenSet() const
GraphqlApi & WithApiId(const char *value)
GraphqlApi & AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvider &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool UrisHasBeenSet() const
GraphqlApi & WithEnhancedMetricsConfig(EnhancedMetricsConfig &&value)
void SetName(const Aws::String &value)
GraphqlApi & WithOwner(const char *value)
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
GraphqlApi & AddTags(Aws::String &&key, Aws::String &&value)
GraphqlApi & AddDns(const char *key, Aws::String &&value)
AWS_APPSYNC_API GraphqlApi & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VisibilityHasBeenSet() const
GraphqlApi & WithName(const Aws::String &value)
void SetWafWebAclArn(Aws::String &&value)
GraphqlApi & WithDns(Aws::Map< Aws::String, Aws::String > &&value)
GraphqlApi & WithName(const char *value)
bool ApiTypeHasBeenSet() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool AdditionalAuthenticationProvidersHasBeenSet() const
void SetEnhancedMetricsConfig(EnhancedMetricsConfig &&value)
GraphqlApi & WithUris(Aws::Map< Aws::String, Aws::String > &&value)
void SetOwner(const char *value)
GraphqlApi & AddUris(const Aws::String &key, Aws::String &&value)
const Aws::String & GetName() const
GraphqlApi & WithOwnerContact(const char *value)
bool UserPoolConfigHasBeenSet() const
void SetArn(Aws::String &&value)
GraphqlApi & AddTags(const char *key, Aws::String &&value)
void SetApiId(const char *value)
void SetApiType(GraphQLApiType &&value)
void SetName(Aws::String &&value)
bool ArnHasBeenSet() const
const LogConfig & GetLogConfig() const
GraphqlApi & WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
GraphqlApi & AddDns(const char *key, const char *value)
void SetVisibility(const GraphQLApiVisibility &value)
bool AuthenticationTypeHasBeenSet() const
GraphqlApi & WithWafWebAclArn(const char *value)
GraphqlApi & WithAuthenticationType(const AuthenticationType &value)
GraphqlApi & WithApiType(GraphQLApiType &&value)
const Aws::String & GetWafWebAclArn() const
GraphqlApi & WithIntrospectionConfig(const GraphQLApiIntrospectionConfig &value)
void SetApiId(const Aws::String &value)
const Aws::String & GetArn() const
GraphqlApi & AddUris(Aws::String &&key, const char *value)
GraphqlApi & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const GraphQLApiVisibility & GetVisibility() const
void SetArn(const char *value)
GraphqlApi & WithVisibility(const GraphQLApiVisibility &value)
GraphqlApi & WithOwner(Aws::String &&value)
void SetIntrospectionConfig(GraphQLApiIntrospectionConfig &&value)
GraphqlApi & WithEnhancedMetricsConfig(const EnhancedMetricsConfig &value)
GraphqlApi & WithMergedApiExecutionRoleArn(const Aws::String &value)
void SetResolverCountLimit(int value)
GraphqlApi & WithQueryDepthLimit(int value)
GraphqlApi & WithLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
const Aws::String & GetOwner() const
void SetDns(Aws::Map< Aws::String, Aws::String > &&value)
GraphqlApi & AddUris(Aws::String &&key, Aws::String &&value)
GraphqlApi & WithOpenIDConnectConfig(const OpenIDConnectConfig &value)
void SetQueryDepthLimit(int value)
bool QueryDepthLimitHasBeenSet() const
GraphqlApi & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GraphqlApi & AddDns(const Aws::String &key, const Aws::String &value)
GraphqlApi & AddDns(Aws::String &&key, Aws::String &&value)
const Aws::String & GetOwnerContact() const
GraphqlApi & WithArn(const Aws::String &value)
GraphqlApi & WithIntrospectionConfig(GraphQLApiIntrospectionConfig &&value)
GraphqlApi & AddTags(const char *key, const char *value)
void SetOwnerContact(Aws::String &&value)
GraphqlApi & AddDns(Aws::String &&key, const char *value)
GraphqlApi & WithWafWebAclArn(const Aws::String &value)
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
void SetAuthenticationType(AuthenticationType &&value)
bool LambdaAuthorizerConfigHasBeenSet() const
bool DnsHasBeenSet() const
GraphqlApi & WithAdditionalAuthenticationProviders(Aws::Vector< AdditionalAuthenticationProvider > &&value)
bool MergedApiExecutionRoleArnHasBeenSet() const
void SetOwnerContact(const Aws::String &value)
GraphqlApi & WithOpenIDConnectConfig(OpenIDConnectConfig &&value)
void SetMergedApiExecutionRoleArn(const char *value)
void SetEnhancedMetricsConfig(const EnhancedMetricsConfig &value)
GraphqlApi & WithAuthenticationType(AuthenticationType &&value)
void SetOwner(Aws::String &&value)
GraphqlApi & WithArn(Aws::String &&value)
GraphqlApi & AddTags(Aws::String &&key, const Aws::String &value)
void SetLogConfig(LogConfig &&value)
bool XrayEnabledHasBeenSet() const
GraphqlApi & WithName(Aws::String &&value)
GraphqlApi & AddTags(const Aws::String &key, Aws::String &&value)
GraphqlApi & WithMergedApiExecutionRoleArn(const char *value)
GraphqlApi & WithOwnerContact(Aws::String &&value)
bool ResolverCountLimitHasBeenSet() const
GraphqlApi & WithUris(const Aws::Map< Aws::String, Aws::String > &value)
GraphqlApi & WithApiType(const GraphQLApiType &value)
int GetResolverCountLimit() const
bool OwnerHasBeenSet() const
void SetAdditionalAuthenticationProviders(const Aws::Vector< AdditionalAuthenticationProvider > &value)
GraphQLApiIntrospectionConfig
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue