7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/AdditionalAuthenticationProvider.h>
9#include <aws/appsync/model/AuthenticationType.h>
10#include <aws/appsync/model/EnhancedMetricsConfig.h>
11#include <aws/appsync/model/GraphQLApiIntrospectionConfig.h>
12#include <aws/appsync/model/GraphQLApiType.h>
13#include <aws/appsync/model/GraphQLApiVisibility.h>
14#include <aws/appsync/model/LambdaAuthorizerConfig.h>
15#include <aws/appsync/model/LogConfig.h>
16#include <aws/appsync/model/OpenIDConnectConfig.h>
17#include <aws/appsync/model/UserPoolConfig.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/core/utils/memory/stl/AWSString.h>
20#include <aws/core/utils/memory/stl/AWSVector.h>
52 template <
typename NameT = Aws::String>
54 m_nameHasBeenSet =
true;
55 m_name = std::forward<NameT>(value);
57 template <
typename NameT = Aws::String>
59 SetName(std::forward<NameT>(value));
70 template <
typename ApiIdT = Aws::String>
72 m_apiIdHasBeenSet =
true;
73 m_apiId = std::forward<ApiIdT>(value);
75 template <
typename ApiIdT = Aws::String>
77 SetApiId(std::forward<ApiIdT>(value));
89 m_authenticationTypeHasBeenSet =
true;
90 m_authenticationType = value;
104 template <
typename LogConfigT = LogConfig>
106 m_logConfigHasBeenSet =
true;
107 m_logConfig = std::forward<LogConfigT>(value);
109 template <
typename LogConfigT = LogConfig>
122 template <
typename UserPoolConfigT = UserPoolConfig>
124 m_userPoolConfigHasBeenSet =
true;
125 m_userPoolConfig = std::forward<UserPoolConfigT>(value);
127 template <
typename UserPoolConfigT = UserPoolConfig>
140 template <
typename OpenIDConnectConfigT = OpenIDConnectConfig>
142 m_openIDConnectConfigHasBeenSet =
true;
143 m_openIDConnectConfig = std::forward<OpenIDConnectConfigT>(value);
145 template <
typename OpenIDConnectConfigT = OpenIDConnectConfig>
158 template <
typename ArnT = Aws::String>
160 m_arnHasBeenSet =
true;
161 m_arn = std::forward<ArnT>(value);
163 template <
typename ArnT = Aws::String>
165 SetArn(std::forward<ArnT>(value));
176 template <
typename UrisT = Aws::Map<Aws::String, Aws::String>>
178 m_urisHasBeenSet =
true;
179 m_uris = std::forward<UrisT>(value);
181 template <
typename UrisT = Aws::Map<Aws::String, Aws::String>>
183 SetUris(std::forward<UrisT>(value));
186 template <
typename UrisKeyT = Aws::String,
typename UrisValueT = Aws::String>
188 m_urisHasBeenSet =
true;
189 m_uris.emplace(std::forward<UrisKeyT>(key), std::forward<UrisValueT>(value));
200 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
202 m_tagsHasBeenSet =
true;
203 m_tags = std::forward<TagsT>(value);
205 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 SetTags(std::forward<TagsT>(value));
210 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
212 m_tagsHasBeenSet =
true;
213 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
224 return m_additionalAuthenticationProviders;
227 template <
typename AdditionalAuthenticationProv
idersT = Aws::Vector<AdditionalAuthenticationProv
ider>>
229 m_additionalAuthenticationProvidersHasBeenSet =
true;
230 m_additionalAuthenticationProviders = std::forward<AdditionalAuthenticationProvidersT>(value);
232 template <
typename AdditionalAuthenticationProv
idersT = Aws::Vector<AdditionalAuthenticationProv
ider>>
237 template <
typename AdditionalAuthenticationProv
idersT = AdditionalAuthenticationProv
ider>
239 m_additionalAuthenticationProvidersHasBeenSet =
true;
240 m_additionalAuthenticationProviders.emplace_back(std::forward<AdditionalAuthenticationProvidersT>(value));
253 m_xrayEnabledHasBeenSet =
true;
254 m_xrayEnabled = value;
269 template <
typename WafWebAclArnT = Aws::String>
271 m_wafWebAclArnHasBeenSet =
true;
272 m_wafWebAclArn = std::forward<WafWebAclArnT>(value);
274 template <
typename WafWebAclArnT = Aws::String>
287 template <
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
289 m_lambdaAuthorizerConfigHasBeenSet =
true;
290 m_lambdaAuthorizerConfig = std::forward<LambdaAuthorizerConfigT>(value);
292 template <
typename LambdaAuthorizerConfigT = LambdaAuthorizerConfig>
305 template <
typename DnsT = Aws::Map<Aws::String, Aws::String>>
307 m_dnsHasBeenSet =
true;
308 m_dns = std::forward<DnsT>(value);
310 template <
typename DnsT = Aws::Map<Aws::String, Aws::String>>
312 SetDns(std::forward<DnsT>(value));
315 template <
typename DnsKeyT = Aws::String,
typename DnsValueT = Aws::String>
317 m_dnsHasBeenSet =
true;
318 m_dns.emplace(std::forward<DnsKeyT>(key), std::forward<DnsValueT>(value));
333 m_visibilityHasBeenSet =
true;
334 m_visibility = value;
350 m_apiTypeHasBeenSet =
true;
368 template <
typename MergedApiExecutionRoleArnT = Aws::String>
370 m_mergedApiExecutionRoleArnHasBeenSet =
true;
371 m_mergedApiExecutionRoleArn = std::forward<MergedApiExecutionRoleArnT>(value);
373 template <
typename MergedApiExecutionRoleArnT = Aws::String>
386 template <
typename OwnerT = Aws::String>
388 m_ownerHasBeenSet =
true;
389 m_owner = std::forward<OwnerT>(value);
391 template <
typename OwnerT = Aws::String>
393 SetOwner(std::forward<OwnerT>(value));
405 template <
typename OwnerContactT = Aws::String>
407 m_ownerContactHasBeenSet =
true;
408 m_ownerContact = std::forward<OwnerContactT>(value);
410 template <
typename OwnerContactT = Aws::String>
430 m_introspectionConfigHasBeenSet =
true;
431 m_introspectionConfig = value;
453 m_queryDepthLimitHasBeenSet =
true;
454 m_queryDepthLimit = value;
473 m_resolverCountLimitHasBeenSet =
true;
474 m_resolverCountLimit = value;
488 template <
typename EnhancedMetricsConfigT = EnhancedMetricsConfig>
490 m_enhancedMetricsConfigHasBeenSet =
true;
491 m_enhancedMetricsConfig = std::forward<EnhancedMetricsConfigT>(value);
493 template <
typename EnhancedMetricsConfigT = EnhancedMetricsConfig>
506 LogConfig m_logConfig;
508 UserPoolConfig m_userPoolConfig;
510 OpenIDConnectConfig m_openIDConnectConfig;
520 bool m_xrayEnabled{
false};
524 LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
540 int m_queryDepthLimit{0};
542 int m_resolverCountLimit{0};
544 EnhancedMetricsConfig m_enhancedMetricsConfig;
545 bool m_nameHasBeenSet =
false;
546 bool m_apiIdHasBeenSet =
false;
547 bool m_authenticationTypeHasBeenSet =
false;
548 bool m_logConfigHasBeenSet =
false;
549 bool m_userPoolConfigHasBeenSet =
false;
550 bool m_openIDConnectConfigHasBeenSet =
false;
551 bool m_arnHasBeenSet =
false;
552 bool m_urisHasBeenSet =
false;
553 bool m_tagsHasBeenSet =
false;
554 bool m_additionalAuthenticationProvidersHasBeenSet =
false;
555 bool m_xrayEnabledHasBeenSet =
false;
556 bool m_wafWebAclArnHasBeenSet =
false;
557 bool m_lambdaAuthorizerConfigHasBeenSet =
false;
558 bool m_dnsHasBeenSet =
false;
559 bool m_visibilityHasBeenSet =
false;
560 bool m_apiTypeHasBeenSet =
false;
561 bool m_mergedApiExecutionRoleArnHasBeenSet =
false;
562 bool m_ownerHasBeenSet =
false;
563 bool m_ownerContactHasBeenSet =
false;
564 bool m_introspectionConfigHasBeenSet =
false;
565 bool m_queryDepthLimitHasBeenSet =
false;
566 bool m_resolverCountLimitHasBeenSet =
false;
567 bool m_enhancedMetricsConfigHasBeenSet =
false;
bool TagsHasBeenSet() const
GraphqlApi & WithName(NameT &&value)
bool IntrospectionConfigHasBeenSet() const
GraphqlApi & WithMergedApiExecutionRoleArn(MergedApiExecutionRoleArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetDns() const
void SetOwnerContact(OwnerContactT &&value)
bool NameHasBeenSet() const
bool LogConfigHasBeenSet() const
void SetXrayEnabled(bool value)
void SetOwner(OwnerT &&value)
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
const UserPoolConfig & GetUserPoolConfig() const
const Aws::String & GetApiId() const
const EnhancedMetricsConfig & GetEnhancedMetricsConfig() const
GraphqlApi & AddUris(UrisKeyT &&key, UrisValueT &&value)
const Aws::String & GetMergedApiExecutionRoleArn() const
void SetAuthenticationType(AuthenticationType value)
GraphqlApi & WithApiId(ApiIdT &&value)
GraphqlApi & WithUserPoolConfig(UserPoolConfigT &&value)
const Aws::Map< Aws::String, Aws::String > & GetUris() const
const Aws::Vector< AdditionalAuthenticationProvider > & GetAdditionalAuthenticationProviders() const
GraphqlApi & WithIntrospectionConfig(GraphQLApiIntrospectionConfig value)
void SetApiType(GraphQLApiType value)
void SetLogConfig(LogConfigT &&value)
void SetName(NameT &&value)
GraphqlApi & WithUris(UrisT &&value)
GraphqlApi & WithTags(TagsT &&value)
AWS_APPSYNC_API GraphqlApi()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GraphqlApi & WithWafWebAclArn(WafWebAclArnT &&value)
bool ApiIdHasBeenSet() const
GraphqlApi & WithResolverCountLimit(int value)
bool GetXrayEnabled() const
void SetArn(ArnT &&value)
AWS_APPSYNC_API GraphqlApi(Aws::Utils::Json::JsonView jsonValue)
void SetEnhancedMetricsConfig(EnhancedMetricsConfigT &&value)
bool EnhancedMetricsConfigHasBeenSet() const
bool OpenIDConnectConfigHasBeenSet() const
GraphqlApi & WithXrayEnabled(bool value)
void SetVisibility(GraphQLApiVisibility value)
GraphqlApi & AddTags(TagsKeyT &&key, TagsValueT &&value)
GraphqlApi & AddDns(DnsKeyT &&key, DnsValueT &&value)
bool OwnerContactHasBeenSet() const
void SetDns(DnsT &&value)
GraphqlApi & WithEnhancedMetricsConfig(EnhancedMetricsConfigT &&value)
void SetUserPoolConfig(UserPoolConfigT &&value)
int GetQueryDepthLimit() const
bool WafWebAclArnHasBeenSet() const
bool UrisHasBeenSet() const
GraphqlApi & WithDns(DnsT &&value)
void SetWafWebAclArn(WafWebAclArnT &&value)
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
AWS_APPSYNC_API GraphqlApi & operator=(Aws::Utils::Json::JsonView jsonValue)
bool VisibilityHasBeenSet() const
GraphqlApi & WithVisibility(GraphQLApiVisibility value)
GraphqlApi & WithOpenIDConnectConfig(OpenIDConnectConfigT &&value)
GraphqlApi & WithLambdaAuthorizerConfig(LambdaAuthorizerConfigT &&value)
GraphQLApiVisibility GetVisibility() const
void SetAdditionalAuthenticationProviders(AdditionalAuthenticationProvidersT &&value)
void SetTags(TagsT &&value)
void SetIntrospectionConfig(GraphQLApiIntrospectionConfig value)
bool ApiTypeHasBeenSet() const
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool AdditionalAuthenticationProvidersHasBeenSet() const
GraphqlApi & WithLogConfig(LogConfigT &&value)
GraphqlApi & WithAuthenticationType(AuthenticationType value)
GraphQLApiType GetApiType() const
const Aws::String & GetName() const
bool UserPoolConfigHasBeenSet() const
void SetUris(UrisT &&value)
GraphqlApi & WithOwner(OwnerT &&value)
bool ArnHasBeenSet() const
GraphqlApi & WithArn(ArnT &&value)
const LogConfig & GetLogConfig() const
void SetApiId(ApiIdT &&value)
bool AuthenticationTypeHasBeenSet() const
const Aws::String & GetWafWebAclArn() const
const Aws::String & GetArn() const
GraphqlApi & WithApiType(GraphQLApiType value)
void SetResolverCountLimit(int value)
GraphqlApi & WithQueryDepthLimit(int value)
const Aws::String & GetOwner() const
GraphqlApi & WithOwnerContact(OwnerContactT &&value)
void SetQueryDepthLimit(int value)
bool QueryDepthLimitHasBeenSet() const
const Aws::String & GetOwnerContact() const
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfigT &&value)
void SetMergedApiExecutionRoleArn(MergedApiExecutionRoleArnT &&value)
bool LambdaAuthorizerConfigHasBeenSet() const
AuthenticationType GetAuthenticationType() const
bool DnsHasBeenSet() const
bool MergedApiExecutionRoleArnHasBeenSet() const
void SetOpenIDConnectConfig(OpenIDConnectConfigT &&value)
bool XrayEnabledHasBeenSet() const
GraphqlApi & AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvidersT &&value)
GraphQLApiIntrospectionConfig GetIntrospectionConfig() const
bool ResolverCountLimitHasBeenSet() const
int GetResolverCountLimit() const
bool OwnerHasBeenSet() const
GraphqlApi & WithAdditionalAuthenticationProviders(AdditionalAuthenticationProvidersT &&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