/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the configuration of a JWT authorizer. Required for the JWT
* authorizer type. Supported only for HTTP APIs.See Also:
AWS
* API Reference
A list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline const Aws::VectorA list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline bool AudienceHasBeenSet() const { return m_audienceHasBeenSet; } /** *A list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline void SetAudience(const Aws::VectorA list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline void SetAudience(Aws::VectorA list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline JWTConfiguration& WithAudience(const Aws::VectorA list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline JWTConfiguration& WithAudience(Aws::VectorA list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline JWTConfiguration& AddAudience(const Aws::String& value) { m_audienceHasBeenSet = true; m_audience.push_back(value); return *this; } /** *A list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline JWTConfiguration& AddAudience(Aws::String&& value) { m_audienceHasBeenSet = true; m_audience.push_back(std::move(value)); return *this; } /** *A list of the intended recipients of the JWT. A valid JWT must provide an aud * that matches at least one entry in this list. See RFC 7519. Supported * only for HTTP APIs.
*/ inline JWTConfiguration& AddAudience(const char* value) { m_audienceHasBeenSet = true; m_audience.push_back(value); return *this; } /** *The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.
The base domain of the identity provider that issues JSON Web Tokens. For
* example, an Amazon Cognito user pool has the following format:
* https://cognito-idp.