/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The authorizer description.See Also:
AWS
* API Reference
The authorizer name.
*/ inline const Aws::String& GetAuthorizerName() const{ return m_authorizerName; } /** *The authorizer name.
*/ inline bool AuthorizerNameHasBeenSet() const { return m_authorizerNameHasBeenSet; } /** *The authorizer name.
*/ inline void SetAuthorizerName(const Aws::String& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = value; } /** *The authorizer name.
*/ inline void SetAuthorizerName(Aws::String&& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = std::move(value); } /** *The authorizer name.
*/ inline void SetAuthorizerName(const char* value) { m_authorizerNameHasBeenSet = true; m_authorizerName.assign(value); } /** *The authorizer name.
*/ inline AuthorizerDescription& WithAuthorizerName(const Aws::String& value) { SetAuthorizerName(value); return *this;} /** *The authorizer name.
*/ inline AuthorizerDescription& WithAuthorizerName(Aws::String&& value) { SetAuthorizerName(std::move(value)); return *this;} /** *The authorizer name.
*/ inline AuthorizerDescription& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;} /** *The authorizer ARN.
*/ inline const Aws::String& GetAuthorizerArn() const{ return m_authorizerArn; } /** *The authorizer ARN.
*/ inline bool AuthorizerArnHasBeenSet() const { return m_authorizerArnHasBeenSet; } /** *The authorizer ARN.
*/ inline void SetAuthorizerArn(const Aws::String& value) { m_authorizerArnHasBeenSet = true; m_authorizerArn = value; } /** *The authorizer ARN.
*/ inline void SetAuthorizerArn(Aws::String&& value) { m_authorizerArnHasBeenSet = true; m_authorizerArn = std::move(value); } /** *The authorizer ARN.
*/ inline void SetAuthorizerArn(const char* value) { m_authorizerArnHasBeenSet = true; m_authorizerArn.assign(value); } /** *The authorizer ARN.
*/ inline AuthorizerDescription& WithAuthorizerArn(const Aws::String& value) { SetAuthorizerArn(value); return *this;} /** *The authorizer ARN.
*/ inline AuthorizerDescription& WithAuthorizerArn(Aws::String&& value) { SetAuthorizerArn(std::move(value)); return *this;} /** *The authorizer ARN.
*/ inline AuthorizerDescription& WithAuthorizerArn(const char* value) { SetAuthorizerArn(value); return *this;} /** *The authorizer's Lambda function ARN.
*/ inline const Aws::String& GetAuthorizerFunctionArn() const{ return m_authorizerFunctionArn; } /** *The authorizer's Lambda function ARN.
*/ inline bool AuthorizerFunctionArnHasBeenSet() const { return m_authorizerFunctionArnHasBeenSet; } /** *The authorizer's Lambda function ARN.
*/ inline void SetAuthorizerFunctionArn(const Aws::String& value) { m_authorizerFunctionArnHasBeenSet = true; m_authorizerFunctionArn = value; } /** *The authorizer's Lambda function ARN.
*/ inline void SetAuthorizerFunctionArn(Aws::String&& value) { m_authorizerFunctionArnHasBeenSet = true; m_authorizerFunctionArn = std::move(value); } /** *The authorizer's Lambda function ARN.
*/ inline void SetAuthorizerFunctionArn(const char* value) { m_authorizerFunctionArnHasBeenSet = true; m_authorizerFunctionArn.assign(value); } /** *The authorizer's Lambda function ARN.
*/ inline AuthorizerDescription& WithAuthorizerFunctionArn(const Aws::String& value) { SetAuthorizerFunctionArn(value); return *this;} /** *The authorizer's Lambda function ARN.
*/ inline AuthorizerDescription& WithAuthorizerFunctionArn(Aws::String&& value) { SetAuthorizerFunctionArn(std::move(value)); return *this;} /** *The authorizer's Lambda function ARN.
*/ inline AuthorizerDescription& WithAuthorizerFunctionArn(const char* value) { SetAuthorizerFunctionArn(value); return *this;} /** *The key used to extract the token from the HTTP headers.
*/ inline const Aws::String& GetTokenKeyName() const{ return m_tokenKeyName; } /** *The key used to extract the token from the HTTP headers.
*/ inline bool TokenKeyNameHasBeenSet() const { return m_tokenKeyNameHasBeenSet; } /** *The key used to extract the token from the HTTP headers.
*/ inline void SetTokenKeyName(const Aws::String& value) { m_tokenKeyNameHasBeenSet = true; m_tokenKeyName = value; } /** *The key used to extract the token from the HTTP headers.
*/ inline void SetTokenKeyName(Aws::String&& value) { m_tokenKeyNameHasBeenSet = true; m_tokenKeyName = std::move(value); } /** *The key used to extract the token from the HTTP headers.
*/ inline void SetTokenKeyName(const char* value) { m_tokenKeyNameHasBeenSet = true; m_tokenKeyName.assign(value); } /** *The key used to extract the token from the HTTP headers.
*/ inline AuthorizerDescription& WithTokenKeyName(const Aws::String& value) { SetTokenKeyName(value); return *this;} /** *The key used to extract the token from the HTTP headers.
*/ inline AuthorizerDescription& WithTokenKeyName(Aws::String&& value) { SetTokenKeyName(std::move(value)); return *this;} /** *The key used to extract the token from the HTTP headers.
*/ inline AuthorizerDescription& WithTokenKeyName(const char* value) { SetTokenKeyName(value); return *this;} /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline const Aws::MapThe public keys used to validate the token signature returned by your custom * authentication service.
*/ inline bool TokenSigningPublicKeysHasBeenSet() const { return m_tokenSigningPublicKeysHasBeenSet; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline void SetTokenSigningPublicKeys(const Aws::MapThe public keys used to validate the token signature returned by your custom * authentication service.
*/ inline void SetTokenSigningPublicKeys(Aws::MapThe public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& WithTokenSigningPublicKeys(const Aws::MapThe public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& WithTokenSigningPublicKeys(Aws::MapThe public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(const Aws::String& key, const Aws::String& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, value); return *this; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(Aws::String&& key, const Aws::String& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(std::move(key), value); return *this; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(const Aws::String& key, Aws::String&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, std::move(value)); return *this; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(Aws::String&& key, Aws::String&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(std::move(key), std::move(value)); return *this; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(const char* key, Aws::String&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, std::move(value)); return *this; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(Aws::String&& key, const char* value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(std::move(key), value); return *this; } /** *The public keys used to validate the token signature returned by your custom * authentication service.
*/ inline AuthorizerDescription& AddTokenSigningPublicKeys(const char* key, const char* value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, value); return *this; } /** *The status of the authorizer.
*/ inline const AuthorizerStatus& GetStatus() const{ return m_status; } /** *The status of the authorizer.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the authorizer.
*/ inline void SetStatus(const AuthorizerStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the authorizer.
*/ inline void SetStatus(AuthorizerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the authorizer.
*/ inline AuthorizerDescription& WithStatus(const AuthorizerStatus& value) { SetStatus(value); return *this;} /** *The status of the authorizer.
*/ inline AuthorizerDescription& WithStatus(AuthorizerStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The UNIX timestamp of when the authorizer was created.
*/ inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; } /** *The UNIX timestamp of when the authorizer was created.
*/ inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; } /** *The UNIX timestamp of when the authorizer was created.
*/ inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; } /** *The UNIX timestamp of when the authorizer was created.
*/ inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); } /** *The UNIX timestamp of when the authorizer was created.
*/ inline AuthorizerDescription& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;} /** *The UNIX timestamp of when the authorizer was created.
*/ inline AuthorizerDescription& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;} /** *The UNIX timestamp of when the authorizer was last updated.
*/ inline const Aws::Utils::DateTime& GetLastModifiedDate() const{ return m_lastModifiedDate; } /** *The UNIX timestamp of when the authorizer was last updated.
*/ inline bool LastModifiedDateHasBeenSet() const { return m_lastModifiedDateHasBeenSet; } /** *The UNIX timestamp of when the authorizer was last updated.
*/ inline void SetLastModifiedDate(const Aws::Utils::DateTime& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = value; } /** *The UNIX timestamp of when the authorizer was last updated.
*/ inline void SetLastModifiedDate(Aws::Utils::DateTime&& value) { m_lastModifiedDateHasBeenSet = true; m_lastModifiedDate = std::move(value); } /** *The UNIX timestamp of when the authorizer was last updated.
*/ inline AuthorizerDescription& WithLastModifiedDate(const Aws::Utils::DateTime& value) { SetLastModifiedDate(value); return *this;} /** *The UNIX timestamp of when the authorizer was last updated.
*/ inline AuthorizerDescription& WithLastModifiedDate(Aws::Utils::DateTime&& value) { SetLastModifiedDate(std::move(value)); return *this;} /** *Specifies whether IoT validates the token signature in an authorization * request.
*/ inline bool GetSigningDisabled() const{ return m_signingDisabled; } /** *Specifies whether IoT validates the token signature in an authorization * request.
*/ inline bool SigningDisabledHasBeenSet() const { return m_signingDisabledHasBeenSet; } /** *Specifies whether IoT validates the token signature in an authorization * request.
*/ inline void SetSigningDisabled(bool value) { m_signingDisabledHasBeenSet = true; m_signingDisabled = value; } /** *Specifies whether IoT validates the token signature in an authorization * request.
*/ inline AuthorizerDescription& WithSigningDisabled(bool value) { SetSigningDisabled(value); return *this;} /** *When true
, the result from the authorizer’s Lambda function is
* cached for the time specified in refreshAfterInSeconds
. The cached
* result is used while the device reuses the same HTTP connection.
When true
, the result from the authorizer’s Lambda function is
* cached for the time specified in refreshAfterInSeconds
. The cached
* result is used while the device reuses the same HTTP connection.
When true
, the result from the authorizer’s Lambda function is
* cached for the time specified in refreshAfterInSeconds
. The cached
* result is used while the device reuses the same HTTP connection.
When true
, the result from the authorizer’s Lambda function is
* cached for the time specified in refreshAfterInSeconds
. The cached
* result is used while the device reuses the same HTTP connection.