538 lines
17 KiB
C
538 lines
17 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/appsync/AppSync_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/appsync/model/AuthenticationType.h>
|
|||
|
|
#include <aws/appsync/model/LogConfig.h>
|
|||
|
|
#include <aws/appsync/model/UserPoolConfig.h>
|
|||
|
|
#include <aws/appsync/model/OpenIDConnectConfig.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|||
|
|
#include <aws/appsync/model/AdditionalAuthenticationProvider.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace AppSync
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Describes a GraphQL API.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_APPSYNC_API GraphqlApi
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
GraphqlApi();
|
|||
|
|
GraphqlApi(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
GraphqlApi& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetName() const{ return m_name; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithName(const Aws::String& value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API name.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithName(const char* value) { SetName(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetApiId() const{ return m_apiId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ApiIdHasBeenSet() const { return m_apiIdHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApiId(const Aws::String& value) { m_apiIdHasBeenSet = true; m_apiId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApiId(Aws::String&& value) { m_apiIdHasBeenSet = true; m_apiId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetApiId(const char* value) { m_apiIdHasBeenSet = true; m_apiId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithApiId(const Aws::String& value) { SetApiId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithApiId(Aws::String&& value) { SetApiId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The API ID.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithApiId(const char* value) { SetApiId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The authentication type.</p>
|
|||
|
|
*/
|
|||
|
|
inline const AuthenticationType& GetAuthenticationType() const{ return m_authenticationType; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The authentication type.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool AuthenticationTypeHasBeenSet() const { return m_authenticationTypeHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The authentication type.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAuthenticationType(const AuthenticationType& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The authentication type.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAuthenticationType(AuthenticationType&& value) { m_authenticationTypeHasBeenSet = true; m_authenticationType = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The authentication type.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithAuthenticationType(const AuthenticationType& value) { SetAuthenticationType(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The authentication type.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithAuthenticationType(AuthenticationType&& value) { SetAuthenticationType(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline const LogConfig& GetLogConfig() const{ return m_logConfig; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool LogConfigHasBeenSet() const { return m_logConfigHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLogConfig(const LogConfig& value) { m_logConfigHasBeenSet = true; m_logConfig = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLogConfig(LogConfig&& value) { m_logConfigHasBeenSet = true; m_logConfig = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithLogConfig(const LogConfig& value) { SetLogConfig(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon CloudWatch Logs configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithLogConfig(LogConfig&& value) { SetLogConfig(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Cognito user pool configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline const UserPoolConfig& GetUserPoolConfig() const{ return m_userPoolConfig; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Cognito user pool configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool UserPoolConfigHasBeenSet() const { return m_userPoolConfigHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Cognito user pool configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetUserPoolConfig(const UserPoolConfig& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Cognito user pool configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetUserPoolConfig(UserPoolConfig&& value) { m_userPoolConfigHasBeenSet = true; m_userPoolConfig = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Cognito user pool configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithUserPoolConfig(const UserPoolConfig& value) { SetUserPoolConfig(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Cognito user pool configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithUserPoolConfig(UserPoolConfig&& value) { SetUserPoolConfig(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The OpenID Connect configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline const OpenIDConnectConfig& GetOpenIDConnectConfig() const{ return m_openIDConnectConfig; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The OpenID Connect configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool OpenIDConnectConfigHasBeenSet() const { return m_openIDConnectConfigHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The OpenID Connect configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOpenIDConnectConfig(const OpenIDConnectConfig& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The OpenID Connect configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOpenIDConnectConfig(OpenIDConnectConfig&& value) { m_openIDConnectConfigHasBeenSet = true; m_openIDConnectConfig = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The OpenID Connect configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithOpenIDConnectConfig(const OpenIDConnectConfig& value) { SetOpenIDConnectConfig(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The OpenID Connect configuration.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithOpenIDConnectConfig(OpenIDConnectConfig&& value) { SetOpenIDConnectConfig(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetArn() const{ return m_arn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithArn(const Aws::String& value) { SetArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The ARN.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithArn(const char* value) { SetArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetUris() const{ return m_uris; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool UrisHasBeenSet() const { return m_urisHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetUris(const Aws::Map<Aws::String, Aws::String>& value) { m_urisHasBeenSet = true; m_uris = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetUris(Aws::Map<Aws::String, Aws::String>&& value) { m_urisHasBeenSet = true; m_uris = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithUris(const Aws::Map<Aws::String, Aws::String>& value) { SetUris(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithUris(Aws::Map<Aws::String, Aws::String>&& value) { SetUris(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(const Aws::String& key, const Aws::String& value) { m_urisHasBeenSet = true; m_uris.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(Aws::String&& key, const Aws::String& value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(const Aws::String& key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(Aws::String&& key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(const char* key, Aws::String&& value) { m_urisHasBeenSet = true; m_uris.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(Aws::String&& key, const char* value) { m_urisHasBeenSet = true; m_uris.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URIs.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddUris(const char* key, const char* value) { m_urisHasBeenSet = true; m_uris.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The tags.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Vector<AdditionalAuthenticationProvider>& GetAdditionalAuthenticationProviders() const{ return m_additionalAuthenticationProviders; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool AdditionalAuthenticationProvidersHasBeenSet() const { return m_additionalAuthenticationProvidersHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAdditionalAuthenticationProviders(const Aws::Vector<AdditionalAuthenticationProvider>& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetAdditionalAuthenticationProviders(Aws::Vector<AdditionalAuthenticationProvider>&& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithAdditionalAuthenticationProviders(const Aws::Vector<AdditionalAuthenticationProvider>& value) { SetAdditionalAuthenticationProviders(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithAdditionalAuthenticationProviders(Aws::Vector<AdditionalAuthenticationProvider>&& value) { SetAdditionalAuthenticationProviders(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddAdditionalAuthenticationProviders(const AdditionalAuthenticationProvider& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders.push_back(value); return *this; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A list of additional authentication providers for the <code>GraphqlApi</code>
|
|||
|
|
* API.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& AddAdditionalAuthenticationProviders(AdditionalAuthenticationProvider&& value) { m_additionalAuthenticationProvidersHasBeenSet = true; m_additionalAuthenticationProviders.push_back(std::move(value)); return *this; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A flag representing whether X-Ray tracing is enabled for this
|
|||
|
|
* <code>GraphqlApi</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool GetXrayEnabled() const{ return m_xrayEnabled; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A flag representing whether X-Ray tracing is enabled for this
|
|||
|
|
* <code>GraphqlApi</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool XrayEnabledHasBeenSet() const { return m_xrayEnabledHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A flag representing whether X-Ray tracing is enabled for this
|
|||
|
|
* <code>GraphqlApi</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetXrayEnabled(bool value) { m_xrayEnabledHasBeenSet = true; m_xrayEnabled = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>A flag representing whether X-Ray tracing is enabled for this
|
|||
|
|
* <code>GraphqlApi</code>.</p>
|
|||
|
|
*/
|
|||
|
|
inline GraphqlApi& WithXrayEnabled(bool value) { SetXrayEnabled(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_name;
|
|||
|
|
bool m_nameHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_apiId;
|
|||
|
|
bool m_apiIdHasBeenSet;
|
|||
|
|
|
|||
|
|
AuthenticationType m_authenticationType;
|
|||
|
|
bool m_authenticationTypeHasBeenSet;
|
|||
|
|
|
|||
|
|
LogConfig m_logConfig;
|
|||
|
|
bool m_logConfigHasBeenSet;
|
|||
|
|
|
|||
|
|
UserPoolConfig m_userPoolConfig;
|
|||
|
|
bool m_userPoolConfigHasBeenSet;
|
|||
|
|
|
|||
|
|
OpenIDConnectConfig m_openIDConnectConfig;
|
|||
|
|
bool m_openIDConnectConfigHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::String m_arn;
|
|||
|
|
bool m_arnHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Map<Aws::String, Aws::String> m_uris;
|
|||
|
|
bool m_urisHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|||
|
|
bool m_tagsHasBeenSet;
|
|||
|
|
|
|||
|
|
Aws::Vector<AdditionalAuthenticationProvider> m_additionalAuthenticationProviders;
|
|||
|
|
bool m_additionalAuthenticationProvidersHasBeenSet;
|
|||
|
|
|
|||
|
|
bool m_xrayEnabled;
|
|||
|
|
bool m_xrayEnabledHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace AppSync
|
|||
|
|
} // namespace Aws
|