AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GraphqlApi.h
1
6#pragma once
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>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace AppSync
34{
35namespace Model
36{
37
44 {
45 public:
46 AWS_APPSYNC_API GraphqlApi();
47 AWS_APPSYNC_API GraphqlApi(Aws::Utils::Json::JsonView jsonValue);
48 AWS_APPSYNC_API GraphqlApi& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const;
50
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline GraphqlApi& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline GraphqlApi& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline GraphqlApi& WithName(const char* value) { SetName(value); return *this;}
65
67
70 inline const Aws::String& GetApiId() const{ return m_apiId; }
71 inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
72 inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
73 inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
74 inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
75 inline GraphqlApi& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
76 inline GraphqlApi& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
77 inline GraphqlApi& WithApiId(const char* value) { SetApiId(value); return *this;}
79
81
84 inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
85 inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
86 inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
87 inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
88 inline GraphqlApi& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
89 inline GraphqlApi& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
91
93
96 inline const LogConfig& GetLogConfig() const{ return m_logConfig; }
97 inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
98 inline void SetLogConfig(const LogConfig& value) { m_logConfigHasBeenSet = true; m_logConfig = value; }
99 inline void SetLogConfig(LogConfig&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::move(value); }
100 inline GraphqlApi& WithLogConfig(const LogConfig& value) { SetLogConfig(value); return *this;}
101 inline GraphqlApi& WithLogConfig(LogConfig&& value) { SetLogConfig(std::move(value)); return *this;}
103
105
108 inline const UserPoolConfig& GetUserPoolConfig() const{ return m_userPoolConfig; }
109 inline bool UserPoolConfigHasBeenSet() const { return m_userPoolConfigHasBeenSet; }
110 inline void SetUserPoolConfig(const UserPoolConfig& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = value; }
111 inline void SetUserPoolConfig(UserPoolConfig&& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = std::move(value); }
112 inline GraphqlApi& WithUserPoolConfig(const UserPoolConfig& value) { SetUserPoolConfig(value); return *this;}
113 inline GraphqlApi& WithUserPoolConfig(UserPoolConfig&& value) { SetUserPoolConfig(std::move(value)); return *this;}
115
117
120 inline const OpenIDConnectConfig& GetOpenIDConnectConfig() const{ return m_openIDConnectConfig; }
121 inline bool OpenIDConnectConfigHasBeenSet() const { return m_openIDConnectConfigHasBeenSet; }
122 inline void SetOpenIDConnectConfig(const OpenIDConnectConfig& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = value; }
123 inline void SetOpenIDConnectConfig(OpenIDConnectConfig&& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = std::move(value); }
125 inline GraphqlApi& WithOpenIDConnectConfig(OpenIDConnectConfig&& value) { SetOpenIDConnectConfig(std::move(value)); return *this;}
127
129
132 inline const Aws::String& GetArn() const{ return m_arn; }
133 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
134 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
135 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
136 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
137 inline GraphqlApi& WithArn(const Aws::String& value) { SetArn(value); return *this;}
138 inline GraphqlApi& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
139 inline GraphqlApi& WithArn(const char* value) { SetArn(value); return *this;}
141
143
146 inline const Aws::Map<Aws::String, Aws::String>& GetUris() const{ return m_uris; }
147 inline bool UrisHasBeenSet() const { return m_urisHasBeenSet; }
148 inline void SetUris(const Aws::Map<Aws::String, Aws::String>& value) { m_urisHasBeenSet = true; m_uris = value; }
149 inline void SetUris(Aws::Map<Aws::String, Aws::String>&& value) { m_urisHasBeenSet = true; m_uris = std::move(value); }
150 inline GraphqlApi& WithUris(const Aws::Map<Aws::String, Aws::String>& value) { SetUris(value); return *this;}
151 inline GraphqlApi& WithUris(Aws::Map<Aws::String, Aws::String>&& value) { SetUris(std::move(value)); return *this;}
152 inline GraphqlApi& AddUris(const Aws::String& key, const Aws::String& value) { m_urisHasBeenSet = true; m_uris.emplace(key, value); return *this; }
153 inline GraphqlApi& AddUris(Aws::String&& key, const Aws::String& value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), value); return *this; }
154 inline GraphqlApi& AddUris(const Aws::String& key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(key, std::move(value)); return *this; }
155 inline GraphqlApi& AddUris(Aws::String&& key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), std::move(value)); return *this; }
156 inline GraphqlApi& AddUris(const char* key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(key, std::move(value)); return *this; }
157 inline GraphqlApi& AddUris(Aws::String&& key, const char* value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), value); return *this; }
158 inline GraphqlApi& AddUris(const char* key, const char* value) { m_urisHasBeenSet = true; m_uris.emplace(key, value); return *this; }
160
162
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
166 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
167 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
168 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
169 inline GraphqlApi& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
170 inline GraphqlApi& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
171 inline GraphqlApi& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
172 inline GraphqlApi& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
173 inline GraphqlApi& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
174 inline GraphqlApi& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
175 inline GraphqlApi& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
176 inline GraphqlApi& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
177 inline GraphqlApi& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
179
181
185 inline const Aws::Vector<AdditionalAuthenticationProvider>& GetAdditionalAuthenticationProviders() const{ return m_additionalAuthenticationProviders; }
186 inline bool AdditionalAuthenticationProvidersHasBeenSet() const { return m_additionalAuthenticationProvidersHasBeenSet; }
187 inline void SetAdditionalAuthenticationProviders(const Aws::Vector<AdditionalAuthenticationProvider>& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders = value; }
188 inline void SetAdditionalAuthenticationProviders(Aws::Vector<AdditionalAuthenticationProvider>&& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders = std::move(value); }
191 inline GraphqlApi& AddAdditionalAuthenticationProviders(const AdditionalAuthenticationProvider& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders.push_back(value); return *this; }
192 inline GraphqlApi& AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvider&& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders.push_back(std::move(value)); return *this; }
194
196
200 inline bool GetXrayEnabled() const{ return m_xrayEnabled; }
201 inline bool XrayEnabledHasBeenSet() const { return m_xrayEnabledHasBeenSet; }
202 inline void SetXrayEnabled(bool value) { m_xrayEnabledHasBeenSet = true; m_xrayEnabled = value; }
203 inline GraphqlApi& WithXrayEnabled(bool value) { SetXrayEnabled(value); return *this;}
205
207
211 inline const Aws::String& GetWafWebAclArn() const{ return m_wafWebAclArn; }
212 inline bool WafWebAclArnHasBeenSet() const { return m_wafWebAclArnHasBeenSet; }
213 inline void SetWafWebAclArn(const Aws::String& value) { m_wafWebAclArnHasBeenSet = true; m_wafWebAclArn = value; }
214 inline void SetWafWebAclArn(Aws::String&& value) { m_wafWebAclArnHasBeenSet = true; m_wafWebAclArn = std::move(value); }
215 inline void SetWafWebAclArn(const char* value) { m_wafWebAclArnHasBeenSet = true; m_wafWebAclArn.assign(value); }
216 inline GraphqlApi& WithWafWebAclArn(const Aws::String& value) { SetWafWebAclArn(value); return *this;}
217 inline GraphqlApi& WithWafWebAclArn(Aws::String&& value) { SetWafWebAclArn(std::move(value)); return *this;}
218 inline GraphqlApi& WithWafWebAclArn(const char* value) { SetWafWebAclArn(value); return *this;}
220
222
225 inline const LambdaAuthorizerConfig& GetLambdaAuthorizerConfig() const{ return m_lambdaAuthorizerConfig; }
226 inline bool LambdaAuthorizerConfigHasBeenSet() const { return m_lambdaAuthorizerConfigHasBeenSet; }
227 inline void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = value; }
228 inline void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig&& value) { m_lambdaAuthorizerConfigHasBeenSet = true; m_lambdaAuthorizerConfig = std::move(value); }
232
234
237 inline const Aws::Map<Aws::String, Aws::String>& GetDns() const{ return m_dns; }
238 inline bool DnsHasBeenSet() const { return m_dnsHasBeenSet; }
239 inline void SetDns(const Aws::Map<Aws::String, Aws::String>& value) { m_dnsHasBeenSet = true; m_dns = value; }
240 inline void SetDns(Aws::Map<Aws::String, Aws::String>&& value) { m_dnsHasBeenSet = true; m_dns = std::move(value); }
241 inline GraphqlApi& WithDns(const Aws::Map<Aws::String, Aws::String>& value) { SetDns(value); return *this;}
242 inline GraphqlApi& WithDns(Aws::Map<Aws::String, Aws::String>&& value) { SetDns(std::move(value)); return *this;}
243 inline GraphqlApi& AddDns(const Aws::String& key, const Aws::String& value) { m_dnsHasBeenSet = true; m_dns.emplace(key, value); return *this; }
244 inline GraphqlApi& AddDns(Aws::String&& key, const Aws::String& value) { m_dnsHasBeenSet = true; m_dns.emplace(std::move(key), value); return *this; }
245 inline GraphqlApi& AddDns(const Aws::String& key, Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.emplace(key, std::move(value)); return *this; }
246 inline GraphqlApi& AddDns(Aws::String&& key, Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.emplace(std::move(key), std::move(value)); return *this; }
247 inline GraphqlApi& AddDns(const char* key, Aws::String&& value) { m_dnsHasBeenSet = true; m_dns.emplace(key, std::move(value)); return *this; }
248 inline GraphqlApi& AddDns(Aws::String&& key, const char* value) { m_dnsHasBeenSet = true; m_dns.emplace(std::move(key), value); return *this; }
249 inline GraphqlApi& AddDns(const char* key, const char* value) { m_dnsHasBeenSet = true; m_dns.emplace(key, value); return *this; }
251
253
259 inline const GraphQLApiVisibility& GetVisibility() const{ return m_visibility; }
260 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
261 inline void SetVisibility(const GraphQLApiVisibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
262 inline void SetVisibility(GraphQLApiVisibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
263 inline GraphqlApi& WithVisibility(const GraphQLApiVisibility& value) { SetVisibility(value); return *this;}
264 inline GraphqlApi& WithVisibility(GraphQLApiVisibility&& value) { SetVisibility(std::move(value)); return *this;}
266
268
272 inline const GraphQLApiType& GetApiType() const{ return m_apiType; }
273 inline bool ApiTypeHasBeenSet() const { return m_apiTypeHasBeenSet; }
274 inline void SetApiType(const GraphQLApiType& value) { m_apiTypeHasBeenSet = true; m_apiType = value; }
275 inline void SetApiType(GraphQLApiType&& value) { m_apiTypeHasBeenSet = true; m_apiType = std::move(value); }
276 inline GraphqlApi& WithApiType(const GraphQLApiType& value) { SetApiType(value); return *this;}
277 inline GraphqlApi& WithApiType(GraphQLApiType&& value) { SetApiType(std::move(value)); return *this;}
279
281
287 inline const Aws::String& GetMergedApiExecutionRoleArn() const{ return m_mergedApiExecutionRoleArn; }
288 inline bool MergedApiExecutionRoleArnHasBeenSet() const { return m_mergedApiExecutionRoleArnHasBeenSet; }
289 inline void SetMergedApiExecutionRoleArn(const Aws::String& value) { m_mergedApiExecutionRoleArnHasBeenSet = true; m_mergedApiExecutionRoleArn = value; }
290 inline void SetMergedApiExecutionRoleArn(Aws::String&& value) { m_mergedApiExecutionRoleArnHasBeenSet = true; m_mergedApiExecutionRoleArn = std::move(value); }
291 inline void SetMergedApiExecutionRoleArn(const char* value) { m_mergedApiExecutionRoleArnHasBeenSet = true; m_mergedApiExecutionRoleArn.assign(value); }
293 inline GraphqlApi& WithMergedApiExecutionRoleArn(Aws::String&& value) { SetMergedApiExecutionRoleArn(std::move(value)); return *this;}
294 inline GraphqlApi& WithMergedApiExecutionRoleArn(const char* value) { SetMergedApiExecutionRoleArn(value); return *this;}
296
298
301 inline const Aws::String& GetOwner() const{ return m_owner; }
302 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
303 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
304 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
305 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
306 inline GraphqlApi& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
307 inline GraphqlApi& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
308 inline GraphqlApi& WithOwner(const char* value) { SetOwner(value); return *this;}
310
312
316 inline const Aws::String& GetOwnerContact() const{ return m_ownerContact; }
317 inline bool OwnerContactHasBeenSet() const { return m_ownerContactHasBeenSet; }
318 inline void SetOwnerContact(const Aws::String& value) { m_ownerContactHasBeenSet = true; m_ownerContact = value; }
319 inline void SetOwnerContact(Aws::String&& value) { m_ownerContactHasBeenSet = true; m_ownerContact = std::move(value); }
320 inline void SetOwnerContact(const char* value) { m_ownerContactHasBeenSet = true; m_ownerContact.assign(value); }
321 inline GraphqlApi& WithOwnerContact(const Aws::String& value) { SetOwnerContact(value); return *this;}
322 inline GraphqlApi& WithOwnerContact(Aws::String&& value) { SetOwnerContact(std::move(value)); return *this;}
323 inline GraphqlApi& WithOwnerContact(const char* value) { SetOwnerContact(value); return *this;}
325
327
336 inline const GraphQLApiIntrospectionConfig& GetIntrospectionConfig() const{ return m_introspectionConfig; }
337 inline bool IntrospectionConfigHasBeenSet() const { return m_introspectionConfigHasBeenSet; }
338 inline void SetIntrospectionConfig(const GraphQLApiIntrospectionConfig& value) { m_introspectionConfigHasBeenSet = true; m_introspectionConfig = value; }
339 inline void SetIntrospectionConfig(GraphQLApiIntrospectionConfig&& value) { m_introspectionConfigHasBeenSet = true; m_introspectionConfig = std::move(value); }
343
345
355 inline int GetQueryDepthLimit() const{ return m_queryDepthLimit; }
356 inline bool QueryDepthLimitHasBeenSet() const { return m_queryDepthLimitHasBeenSet; }
357 inline void SetQueryDepthLimit(int value) { m_queryDepthLimitHasBeenSet = true; m_queryDepthLimit = value; }
358 inline GraphqlApi& WithQueryDepthLimit(int value) { SetQueryDepthLimit(value); return *this;}
360
362
369 inline int GetResolverCountLimit() const{ return m_resolverCountLimit; }
370 inline bool ResolverCountLimitHasBeenSet() const { return m_resolverCountLimitHasBeenSet; }
371 inline void SetResolverCountLimit(int value) { m_resolverCountLimitHasBeenSet = true; m_resolverCountLimit = value; }
372 inline GraphqlApi& WithResolverCountLimit(int value) { SetResolverCountLimit(value); return *this;}
374
376
379 inline const EnhancedMetricsConfig& GetEnhancedMetricsConfig() const{ return m_enhancedMetricsConfig; }
380 inline bool EnhancedMetricsConfigHasBeenSet() const { return m_enhancedMetricsConfigHasBeenSet; }
381 inline void SetEnhancedMetricsConfig(const EnhancedMetricsConfig& value) { m_enhancedMetricsConfigHasBeenSet = true; m_enhancedMetricsConfig = value; }
382 inline void SetEnhancedMetricsConfig(EnhancedMetricsConfig&& value) { m_enhancedMetricsConfigHasBeenSet = true; m_enhancedMetricsConfig = std::move(value); }
384 inline GraphqlApi& WithEnhancedMetricsConfig(EnhancedMetricsConfig&& value) { SetEnhancedMetricsConfig(std::move(value)); return *this;}
386 private:
387
388 Aws::String m_name;
389 bool m_nameHasBeenSet = false;
390
391 Aws::String m_apiId;
392 bool m_apiIdHasBeenSet = false;
393
394 AuthenticationType m_authenticationType;
395 bool m_authenticationTypeHasBeenSet = false;
396
397 LogConfig m_logConfig;
398 bool m_logConfigHasBeenSet = false;
399
400 UserPoolConfig m_userPoolConfig;
401 bool m_userPoolConfigHasBeenSet = false;
402
403 OpenIDConnectConfig m_openIDConnectConfig;
404 bool m_openIDConnectConfigHasBeenSet = false;
405
406 Aws::String m_arn;
407 bool m_arnHasBeenSet = false;
408
410 bool m_urisHasBeenSet = false;
411
413 bool m_tagsHasBeenSet = false;
414
415 Aws::Vector<AdditionalAuthenticationProvider> m_additionalAuthenticationProviders;
416 bool m_additionalAuthenticationProvidersHasBeenSet = false;
417
418 bool m_xrayEnabled;
419 bool m_xrayEnabledHasBeenSet = false;
420
421 Aws::String m_wafWebAclArn;
422 bool m_wafWebAclArnHasBeenSet = false;
423
424 LambdaAuthorizerConfig m_lambdaAuthorizerConfig;
425 bool m_lambdaAuthorizerConfigHasBeenSet = false;
426
428 bool m_dnsHasBeenSet = false;
429
430 GraphQLApiVisibility m_visibility;
431 bool m_visibilityHasBeenSet = false;
432
433 GraphQLApiType m_apiType;
434 bool m_apiTypeHasBeenSet = false;
435
436 Aws::String m_mergedApiExecutionRoleArn;
437 bool m_mergedApiExecutionRoleArnHasBeenSet = false;
438
439 Aws::String m_owner;
440 bool m_ownerHasBeenSet = false;
441
442 Aws::String m_ownerContact;
443 bool m_ownerContactHasBeenSet = false;
444
445 GraphQLApiIntrospectionConfig m_introspectionConfig;
446 bool m_introspectionConfigHasBeenSet = false;
447
448 int m_queryDepthLimit;
449 bool m_queryDepthLimitHasBeenSet = false;
450
451 int m_resolverCountLimit;
452 bool m_resolverCountLimitHasBeenSet = false;
453
454 EnhancedMetricsConfig m_enhancedMetricsConfig;
455 bool m_enhancedMetricsConfigHasBeenSet = false;
456 };
457
458} // namespace Model
459} // namespace AppSync
460} // namespace Aws
GraphqlApi & WithAdditionalAuthenticationProviders(const Aws::Vector< AdditionalAuthenticationProvider > &value)
Definition GraphqlApi.h:189
void SetOwner(const Aws::String &value)
Definition GraphqlApi.h:303
void SetWafWebAclArn(const Aws::String &value)
Definition GraphqlApi.h:213
void SetAuthenticationType(const AuthenticationType &value)
Definition GraphqlApi.h:86
bool IntrospectionConfigHasBeenSet() const
Definition GraphqlApi.h:337
void SetArn(const Aws::String &value)
Definition GraphqlApi.h:134
void SetLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
Definition GraphqlApi.h:227
GraphqlApi & AddDns(Aws::String &&key, const Aws::String &value)
Definition GraphqlApi.h:244
GraphqlApi & WithLogConfig(LogConfig &&value)
Definition GraphqlApi.h:101
const Aws::Map< Aws::String, Aws::String > & GetDns() const
Definition GraphqlApi.h:237
GraphqlApi & WithDns(const Aws::Map< Aws::String, Aws::String > &value)
Definition GraphqlApi.h:241
void SetAdditionalAuthenticationProviders(Aws::Vector< AdditionalAuthenticationProvider > &&value)
Definition GraphqlApi.h:188
GraphqlApi & WithApiId(const Aws::String &value)
Definition GraphqlApi.h:75
void SetXrayEnabled(bool value)
Definition GraphqlApi.h:202
GraphqlApi & AddTags(Aws::String &&key, const char *value)
Definition GraphqlApi.h:176
GraphqlApi & AddAdditionalAuthenticationProviders(const AdditionalAuthenticationProvider &value)
Definition GraphqlApi.h:191
const LambdaAuthorizerConfig & GetLambdaAuthorizerConfig() const
Definition GraphqlApi.h:225
void SetMergedApiExecutionRoleArn(const Aws::String &value)
Definition GraphqlApi.h:289
GraphqlApi & AddUris(Aws::String &&key, const Aws::String &value)
Definition GraphqlApi.h:153
const UserPoolConfig & GetUserPoolConfig() const
Definition GraphqlApi.h:108
GraphqlApi & WithMergedApiExecutionRoleArn(Aws::String &&value)
Definition GraphqlApi.h:293
const Aws::String & GetApiId() const
Definition GraphqlApi.h:70
GraphqlApi & AddTags(const Aws::String &key, const Aws::String &value)
Definition GraphqlApi.h:171
const EnhancedMetricsConfig & GetEnhancedMetricsConfig() const
Definition GraphqlApi.h:379
GraphqlApi & WithWafWebAclArn(Aws::String &&value)
Definition GraphqlApi.h:217
GraphqlApi & WithVisibility(GraphQLApiVisibility &&value)
Definition GraphqlApi.h:264
void SetUris(const Aws::Map< Aws::String, Aws::String > &value)
Definition GraphqlApi.h:148
void SetUserPoolConfig(const UserPoolConfig &value)
Definition GraphqlApi.h:110
GraphqlApi & WithOwnerContact(const Aws::String &value)
Definition GraphqlApi.h:321
const Aws::String & GetMergedApiExecutionRoleArn() const
Definition GraphqlApi.h:287
const GraphQLApiIntrospectionConfig & GetIntrospectionConfig() const
Definition GraphqlApi.h:336
const Aws::Map< Aws::String, Aws::String > & GetUris() const
Definition GraphqlApi.h:146
GraphqlApi & AddUris(const char *key, Aws::String &&value)
Definition GraphqlApi.h:156
GraphqlApi & WithUserPoolConfig(const UserPoolConfig &value)
Definition GraphqlApi.h:112
void SetIntrospectionConfig(const GraphQLApiIntrospectionConfig &value)
Definition GraphqlApi.h:338
void SetUris(Aws::Map< Aws::String, Aws::String > &&value)
Definition GraphqlApi.h:149
const Aws::Vector< AdditionalAuthenticationProvider > & GetAdditionalAuthenticationProviders() const
Definition GraphqlApi.h:185
void SetName(const char *value)
Definition GraphqlApi.h:60
void SetLogConfig(const LogConfig &value)
Definition GraphqlApi.h:98
GraphqlApi & WithArn(const char *value)
Definition GraphqlApi.h:139
GraphqlApi & AddUris(const Aws::String &key, const Aws::String &value)
Definition GraphqlApi.h:152
void SetApiId(Aws::String &&value)
Definition GraphqlApi.h:73
void SetMergedApiExecutionRoleArn(Aws::String &&value)
Definition GraphqlApi.h:290
const GraphQLApiType & GetApiType() const
Definition GraphqlApi.h:272
void SetVisibility(GraphQLApiVisibility &&value)
Definition GraphqlApi.h:262
void SetOpenIDConnectConfig(OpenIDConnectConfig &&value)
Definition GraphqlApi.h:123
GraphqlApi & WithOwner(const Aws::String &value)
Definition GraphqlApi.h:306
void SetApiType(const GraphQLApiType &value)
Definition GraphqlApi.h:274
void SetUserPoolConfig(UserPoolConfig &&value)
Definition GraphqlApi.h:111
void SetOpenIDConnectConfig(const OpenIDConnectConfig &value)
Definition GraphqlApi.h:122
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition GraphqlApi.h:165
GraphqlApi & WithResolverCountLimit(int value)
Definition GraphqlApi.h:372
AWS_APPSYNC_API GraphqlApi(Aws::Utils::Json::JsonView jsonValue)
bool EnhancedMetricsConfigHasBeenSet() const
Definition GraphqlApi.h:380
bool OpenIDConnectConfigHasBeenSet() const
Definition GraphqlApi.h:121
GraphqlApi & WithXrayEnabled(bool value)
Definition GraphqlApi.h:203
GraphqlApi & AddDns(const Aws::String &key, Aws::String &&value)
Definition GraphqlApi.h:245
GraphqlApi & WithLogConfig(const LogConfig &value)
Definition GraphqlApi.h:100
const AuthenticationType & GetAuthenticationType() const
Definition GraphqlApi.h:84
void SetWafWebAclArn(const char *value)
Definition GraphqlApi.h:215
GraphqlApi & AddUris(const char *key, const char *value)
Definition GraphqlApi.h:158
void SetOwnerContact(const char *value)
Definition GraphqlApi.h:320
GraphqlApi & WithUserPoolConfig(UserPoolConfig &&value)
Definition GraphqlApi.h:113
void SetDns(const Aws::Map< Aws::String, Aws::String > &value)
Definition GraphqlApi.h:239
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition GraphqlApi.h:167
GraphqlApi & WithApiId(Aws::String &&value)
Definition GraphqlApi.h:76
GraphqlApi & WithApiId(const char *value)
Definition GraphqlApi.h:77
GraphqlApi & AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvider &&value)
Definition GraphqlApi.h:192
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition GraphqlApi.h:168
GraphqlApi & WithEnhancedMetricsConfig(EnhancedMetricsConfig &&value)
Definition GraphqlApi.h:384
void SetName(const Aws::String &value)
Definition GraphqlApi.h:58
GraphqlApi & WithOwner(const char *value)
Definition GraphqlApi.h:308
const OpenIDConnectConfig & GetOpenIDConnectConfig() const
Definition GraphqlApi.h:120
GraphqlApi & AddTags(Aws::String &&key, Aws::String &&value)
Definition GraphqlApi.h:174
GraphqlApi & AddDns(const char *key, Aws::String &&value)
Definition GraphqlApi.h:247
AWS_APPSYNC_API GraphqlApi & operator=(Aws::Utils::Json::JsonView jsonValue)
GraphqlApi & WithName(const Aws::String &value)
Definition GraphqlApi.h:61
void SetWafWebAclArn(Aws::String &&value)
Definition GraphqlApi.h:214
GraphqlApi & WithDns(Aws::Map< Aws::String, Aws::String > &&value)
Definition GraphqlApi.h:242
GraphqlApi & WithName(const char *value)
Definition GraphqlApi.h:63
AWS_APPSYNC_API Aws::Utils::Json::JsonValue Jsonize() const
bool AdditionalAuthenticationProvidersHasBeenSet() const
Definition GraphqlApi.h:186
void SetEnhancedMetricsConfig(EnhancedMetricsConfig &&value)
Definition GraphqlApi.h:382
GraphqlApi & WithUris(Aws::Map< Aws::String, Aws::String > &&value)
Definition GraphqlApi.h:151
void SetOwner(const char *value)
Definition GraphqlApi.h:305
GraphqlApi & AddUris(const Aws::String &key, Aws::String &&value)
Definition GraphqlApi.h:154
const Aws::String & GetName() const
Definition GraphqlApi.h:56
GraphqlApi & WithOwnerContact(const char *value)
Definition GraphqlApi.h:323
void SetArn(Aws::String &&value)
Definition GraphqlApi.h:135
GraphqlApi & AddTags(const char *key, Aws::String &&value)
Definition GraphqlApi.h:175
void SetApiId(const char *value)
Definition GraphqlApi.h:74
void SetApiType(GraphQLApiType &&value)
Definition GraphqlApi.h:275
void SetName(Aws::String &&value)
Definition GraphqlApi.h:59
const LogConfig & GetLogConfig() const
Definition GraphqlApi.h:96
GraphqlApi & WithLambdaAuthorizerConfig(const LambdaAuthorizerConfig &value)
Definition GraphqlApi.h:229
GraphqlApi & AddDns(const char *key, const char *value)
Definition GraphqlApi.h:249
void SetVisibility(const GraphQLApiVisibility &value)
Definition GraphqlApi.h:261
bool AuthenticationTypeHasBeenSet() const
Definition GraphqlApi.h:85
GraphqlApi & WithWafWebAclArn(const char *value)
Definition GraphqlApi.h:218
GraphqlApi & WithAuthenticationType(const AuthenticationType &value)
Definition GraphqlApi.h:88
GraphqlApi & WithApiType(GraphQLApiType &&value)
Definition GraphqlApi.h:277
const Aws::String & GetWafWebAclArn() const
Definition GraphqlApi.h:211
GraphqlApi & WithIntrospectionConfig(const GraphQLApiIntrospectionConfig &value)
Definition GraphqlApi.h:340
void SetApiId(const Aws::String &value)
Definition GraphqlApi.h:72
const Aws::String & GetArn() const
Definition GraphqlApi.h:132
GraphqlApi & AddUris(Aws::String &&key, const char *value)
Definition GraphqlApi.h:157
GraphqlApi & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition GraphqlApi.h:170
const GraphQLApiVisibility & GetVisibility() const
Definition GraphqlApi.h:259
void SetArn(const char *value)
Definition GraphqlApi.h:136
GraphqlApi & WithVisibility(const GraphQLApiVisibility &value)
Definition GraphqlApi.h:263
GraphqlApi & WithOwner(Aws::String &&value)
Definition GraphqlApi.h:307
void SetIntrospectionConfig(GraphQLApiIntrospectionConfig &&value)
Definition GraphqlApi.h:339
GraphqlApi & WithEnhancedMetricsConfig(const EnhancedMetricsConfig &value)
Definition GraphqlApi.h:383
GraphqlApi & WithMergedApiExecutionRoleArn(const Aws::String &value)
Definition GraphqlApi.h:292
void SetResolverCountLimit(int value)
Definition GraphqlApi.h:371
GraphqlApi & WithQueryDepthLimit(int value)
Definition GraphqlApi.h:358
GraphqlApi & WithLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
Definition GraphqlApi.h:230
const Aws::String & GetOwner() const
Definition GraphqlApi.h:301
void SetDns(Aws::Map< Aws::String, Aws::String > &&value)
Definition GraphqlApi.h:240
GraphqlApi & AddUris(Aws::String &&key, Aws::String &&value)
Definition GraphqlApi.h:155
GraphqlApi & WithOpenIDConnectConfig(const OpenIDConnectConfig &value)
Definition GraphqlApi.h:124
void SetQueryDepthLimit(int value)
Definition GraphqlApi.h:357
GraphqlApi & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition GraphqlApi.h:169
GraphqlApi & AddDns(const Aws::String &key, const Aws::String &value)
Definition GraphqlApi.h:243
GraphqlApi & AddDns(Aws::String &&key, Aws::String &&value)
Definition GraphqlApi.h:246
const Aws::String & GetOwnerContact() const
Definition GraphqlApi.h:316
GraphqlApi & WithArn(const Aws::String &value)
Definition GraphqlApi.h:137
GraphqlApi & WithIntrospectionConfig(GraphQLApiIntrospectionConfig &&value)
Definition GraphqlApi.h:341
GraphqlApi & AddTags(const char *key, const char *value)
Definition GraphqlApi.h:177
void SetOwnerContact(Aws::String &&value)
Definition GraphqlApi.h:319
GraphqlApi & AddDns(Aws::String &&key, const char *value)
Definition GraphqlApi.h:248
GraphqlApi & WithWafWebAclArn(const Aws::String &value)
Definition GraphqlApi.h:216
void SetLambdaAuthorizerConfig(LambdaAuthorizerConfig &&value)
Definition GraphqlApi.h:228
void SetAuthenticationType(AuthenticationType &&value)
Definition GraphqlApi.h:87
bool LambdaAuthorizerConfigHasBeenSet() const
Definition GraphqlApi.h:226
GraphqlApi & WithAdditionalAuthenticationProviders(Aws::Vector< AdditionalAuthenticationProvider > &&value)
Definition GraphqlApi.h:190
bool MergedApiExecutionRoleArnHasBeenSet() const
Definition GraphqlApi.h:288
void SetOwnerContact(const Aws::String &value)
Definition GraphqlApi.h:318
GraphqlApi & WithOpenIDConnectConfig(OpenIDConnectConfig &&value)
Definition GraphqlApi.h:125
void SetMergedApiExecutionRoleArn(const char *value)
Definition GraphqlApi.h:291
void SetEnhancedMetricsConfig(const EnhancedMetricsConfig &value)
Definition GraphqlApi.h:381
GraphqlApi & WithAuthenticationType(AuthenticationType &&value)
Definition GraphqlApi.h:89
void SetOwner(Aws::String &&value)
Definition GraphqlApi.h:304
GraphqlApi & WithArn(Aws::String &&value)
Definition GraphqlApi.h:138
GraphqlApi & AddTags(Aws::String &&key, const Aws::String &value)
Definition GraphqlApi.h:172
void SetLogConfig(LogConfig &&value)
Definition GraphqlApi.h:99
GraphqlApi & WithName(Aws::String &&value)
Definition GraphqlApi.h:62
GraphqlApi & AddTags(const Aws::String &key, Aws::String &&value)
Definition GraphqlApi.h:173
GraphqlApi & WithMergedApiExecutionRoleArn(const char *value)
Definition GraphqlApi.h:294
GraphqlApi & WithOwnerContact(Aws::String &&value)
Definition GraphqlApi.h:322
bool ResolverCountLimitHasBeenSet() const
Definition GraphqlApi.h:370
GraphqlApi & WithUris(const Aws::Map< Aws::String, Aws::String > &value)
Definition GraphqlApi.h:150
GraphqlApi & WithApiType(const GraphQLApiType &value)
Definition GraphqlApi.h:276
void SetAdditionalAuthenticationProviders(const Aws::Vector< AdditionalAuthenticationProvider > &value)
Definition GraphqlApi.h:187
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