7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/AppSyncRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/appsync/model/LogConfig.h>
11#include <aws/appsync/model/AuthenticationType.h>
12#include <aws/appsync/model/UserPoolConfig.h>
13#include <aws/appsync/model/OpenIDConnectConfig.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/appsync/model/LambdaAuthorizerConfig.h>
17#include <aws/appsync/model/GraphQLApiType.h>
18#include <aws/appsync/model/GraphQLApiVisibility.h>
19#include <aws/appsync/model/GraphQLApiIntrospectionConfig.h>
20#include <aws/appsync/model/EnhancedMetricsConfig.h>
21#include <aws/appsync/model/AdditionalAuthenticationProvider.h>
55 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
151 inline void SetXrayEnabled(
bool value) { m_xrayEnabledHasBeenSet =
true; m_xrayEnabled = value; }
191 inline void SetMergedApiExecutionRoleArn(
const char* value) { m_mergedApiExecutionRoleArnHasBeenSet =
true; m_mergedApiExecutionRoleArn.assign(value); }
221 inline void SetOwnerContact(
const char* value) { m_ownerContactHasBeenSet =
true; m_ownerContact.assign(value); }
258 inline void SetQueryDepthLimit(
int value) { m_queryDepthLimitHasBeenSet =
true; m_queryDepthLimit = value; }
272 inline void SetResolverCountLimit(
int value) { m_resolverCountLimitHasBeenSet =
true; m_resolverCountLimit = value; }
290 bool m_nameHasBeenSet =
false;
293 bool m_logConfigHasBeenSet =
false;
296 bool m_authenticationTypeHasBeenSet =
false;
299 bool m_userPoolConfigHasBeenSet =
false;
302 bool m_openIDConnectConfigHasBeenSet =
false;
305 bool m_tagsHasBeenSet =
false;
308 bool m_additionalAuthenticationProvidersHasBeenSet =
false;
311 bool m_xrayEnabledHasBeenSet =
false;
314 bool m_lambdaAuthorizerConfigHasBeenSet =
false;
317 bool m_apiTypeHasBeenSet =
false;
320 bool m_mergedApiExecutionRoleArnHasBeenSet =
false;
323 bool m_visibilityHasBeenSet =
false;
326 bool m_ownerContactHasBeenSet =
false;
329 bool m_introspectionConfigHasBeenSet =
false;
331 int m_queryDepthLimit;
332 bool m_queryDepthLimitHasBeenSet =
false;
334 int m_resolverCountLimit;
335 bool m_resolverCountLimitHasBeenSet =
false;
338 bool m_enhancedMetricsConfigHasBeenSet =
false;
CreateGraphqlApiRequest & WithVisibility(const GraphQLApiVisibility &value)
CreateGraphqlApiRequest & WithMergedApiExecutionRoleArn(const Aws::String &value)
bool UserPoolConfigHasBeenSet() const
bool OwnerContactHasBeenSet() const
void SetName(const Aws::String &value)
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
AWS_APPSYNC_API CreateGraphqlApiRequest()
void SetOwnerContact(Aws::String &&value)
CreateGraphqlApiRequest & WithUserPoolConfig(const UserPoolConfig &value)
const EnhancedMetricsConfig & GetEnhancedMetricsConfig() const
CreateGraphqlApiRequest & WithOpenIDConnectConfig(OpenIDConnectConfig &&value)
void SetAdditionalAuthenticationProviders(const Aws::Vector< AdditionalAuthenticationProvider > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetOwnerContact() const
const UserPoolConfig & GetUserPoolConfig() const
int GetResolverCountLimit() const
CreateGraphqlApiRequest & AddTags(const Aws::String &key, Aws::String &&value)
const AuthenticationType & GetAuthenticationType() const
CreateGraphqlApiRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< AdditionalAuthenticationProvider > & GetAdditionalAuthenticationProviders() const
CreateGraphqlApiRequest & WithXrayEnabled(bool value)
bool LogConfigHasBeenSet() const
CreateGraphqlApiRequest & WithLogConfig(LogConfig &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool AuthenticationTypeHasBeenSet() const
CreateGraphqlApiRequest & WithEnhancedMetricsConfig(const EnhancedMetricsConfig &value)
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
CreateGraphqlApiRequest & AddTags(Aws::String &&key, const Aws::String &value)
const GraphQLApiIntrospectionConfig & GetIntrospectionConfig() const
bool LambdaAuthorizerConfigHasBeenSet() const
CreateGraphqlApiRequest & WithApiType(const GraphQLApiType &value)
void SetLogConfig(LogConfig &&value)
bool MergedApiExecutionRoleArnHasBeenSet() const
const Aws::String & GetMergedApiExecutionRoleArn() const
void SetName(Aws::String &&value)
void SetLogConfig(const LogConfig &value)
void SetName(const char *value)
const Aws::String & GetName() const
void SetResolverCountLimit(int value)
bool EnhancedMetricsConfigHasBeenSet() const
void SetUserPoolConfig(const UserPoolConfig &value)
void SetEnhancedMetricsConfig(const EnhancedMetricsConfig &value)
void SetVisibility(const GraphQLApiVisibility &value)
void SetXrayEnabled(bool value)
CreateGraphqlApiRequest & WithMergedApiExecutionRoleArn(const char *value)
void SetQueryDepthLimit(int value)
bool VisibilityHasBeenSet() const
CreateGraphqlApiRequest & WithEnhancedMetricsConfig(EnhancedMetricsConfig &&value)
CreateGraphqlApiRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool QueryDepthLimitHasBeenSet() const
CreateGraphqlApiRequest & WithName(const char *value)
void SetMergedApiExecutionRoleArn(const char *value)
CreateGraphqlApiRequest & WithUserPoolConfig(UserPoolConfig &&value)
CreateGraphqlApiRequest & WithOpenIDConnectConfig(const OpenIDConnectConfig &value)
CreateGraphqlApiRequest & WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
CreateGraphqlApiRequest & WithAuthenticationType(const AuthenticationType &value)
void SetAuthenticationType(AuthenticationType &&value)
int GetQueryDepthLimit() const
CreateGraphqlApiRequest & WithQueryDepthLimit(int value)
CreateGraphqlApiRequest & AddTags(const char *key, const char *value)
void SetOpenIDConnectConfig(OpenIDConnectConfig &&value)
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
CreateGraphqlApiRequest & WithResolverCountLimit(int value)
CreateGraphqlApiRequest & WithAdditionalAuthenticationProviders(const Aws::Vector< AdditionalAuthenticationProvider > &value)
CreateGraphqlApiRequest & WithMergedApiExecutionRoleArn(Aws::String &&value)
void SetEnhancedMetricsConfig(EnhancedMetricsConfig &&value)
void SetApiType(const GraphQLApiType &value)
CreateGraphqlApiRequest & AddAdditionalAuthenticationProviders(const AdditionalAuthenticationProvider &value)
CreateGraphqlApiRequest & AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvider &&value)
const LogConfig & GetLogConfig() const
void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
CreateGraphqlApiRequest & WithLogConfig(const LogConfig &value)
void SetMergedApiExecutionRoleArn(Aws::String &&value)
void SetApiType(GraphQLApiType &&value)
CreateGraphqlApiRequest & AddTags(const char *key, Aws::String &&value)
AWS_APPSYNC_API Aws::String SerializePayload() const override
bool GetXrayEnabled() const
void SetMergedApiExecutionRoleArn(const Aws::String &value)
CreateGraphqlApiRequest & WithOwnerContact(const Aws::String &value)
CreateGraphqlApiRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetOwnerContact(const char *value)
void SetIntrospectionConfig(GraphQLApiIntrospectionConfig &&value)
void SetVisibility(GraphQLApiVisibility &&value)
CreateGraphqlApiRequest & WithIntrospectionConfig(GraphQLApiIntrospectionConfig &&value)
void SetOpenIDConnectConfig(const OpenIDConnectConfig &value)
void SetUserPoolConfig(UserPoolConfig &&value)
void SetAdditionalAuthenticationProviders(Aws::Vector< AdditionalAuthenticationProvider > &&value)
CreateGraphqlApiRequest & WithOwnerContact(const char *value)
bool AdditionalAuthenticationProvidersHasBeenSet() const
bool NameHasBeenSet() const
bool ResolverCountLimitHasBeenSet() const
void SetOwnerContact(const Aws::String &value)
CreateGraphqlApiRequest & WithVisibility(GraphQLApiVisibility &&value)
CreateGraphqlApiRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGraphqlApiRequest & WithName(Aws::String &&value)
bool TagsHasBeenSet() const
bool IntrospectionConfigHasBeenSet() const
CreateGraphqlApiRequest & WithIntrospectionConfig(const GraphQLApiIntrospectionConfig &value)
CreateGraphqlApiRequest & WithAuthenticationType(AuthenticationType &&value)
bool OpenIDConnectConfigHasBeenSet() const
CreateGraphqlApiRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetAuthenticationType(const AuthenticationType &value)
bool ApiTypeHasBeenSet() const
void SetIntrospectionConfig(const GraphQLApiIntrospectionConfig &value)
CreateGraphqlApiRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateGraphqlApiRequest & WithApiType(GraphQLApiType &&value)
bool XrayEnabledHasBeenSet() const
CreateGraphqlApiRequest & WithOwnerContact(Aws::String &&value)
CreateGraphqlApiRequest & WithAdditionalAuthenticationProviders(Aws::Vector< AdditionalAuthenticationProvider > &&value)
const GraphQLApiVisibility & GetVisibility() const
const GraphQLApiType & GetApiType() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGraphqlApiRequest & WithLambdaAuthorizerConfig(LambdaAuthorizerConfig &&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