/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include AWS Secrets Manager access token configuration parameters. For information
* about Secrets Manager access token authentication, see Working
* with AWS Secrets Manager access token authentication.See
* Also:
AWS
* API Reference
The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline const Aws::String& GetHeaderName() const{ return m_headerName; } /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline bool HeaderNameHasBeenSet() const { return m_headerNameHasBeenSet; } /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline void SetHeaderName(const Aws::String& value) { m_headerNameHasBeenSet = true; m_headerName = value; } /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline void SetHeaderName(Aws::String&& value) { m_headerNameHasBeenSet = true; m_headerName = std::move(value); } /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline void SetHeaderName(const char* value) { m_headerNameHasBeenSet = true; m_headerName.assign(value); } /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline SecretsManagerAccessTokenConfiguration& WithHeaderName(const Aws::String& value) { SetHeaderName(value); return *this;} /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline SecretsManagerAccessTokenConfiguration& WithHeaderName(Aws::String&& value) { SetHeaderName(std::move(value)); return *this;} /** *The name of the HTTP header used to supply the access token in requests to * the source location.
*/ inline SecretsManagerAccessTokenConfiguration& WithHeaderName(const char* value) { SetHeaderName(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline const Aws::String& GetSecretArn() const{ return m_secretArn; } /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline bool SecretArnHasBeenSet() const { return m_secretArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline void SetSecretArn(const Aws::String& value) { m_secretArnHasBeenSet = true; m_secretArn = value; } /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline void SetSecretArn(Aws::String&& value) { m_secretArnHasBeenSet = true; m_secretArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline void SetSecretArn(const char* value) { m_secretArnHasBeenSet = true; m_secretArn.assign(value); } /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline SecretsManagerAccessTokenConfiguration& WithSecretArn(const Aws::String& value) { SetSecretArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline SecretsManagerAccessTokenConfiguration& WithSecretArn(Aws::String&& value) { SetSecretArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that * contains the access token.
*/ inline SecretsManagerAccessTokenConfiguration& WithSecretArn(const char* value) { SetSecretArn(value); return *this;} /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline const Aws::String& GetSecretStringKey() const{ return m_secretStringKey; } /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline bool SecretStringKeyHasBeenSet() const { return m_secretStringKeyHasBeenSet; } /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline void SetSecretStringKey(const Aws::String& value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey = value; } /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline void SetSecretStringKey(Aws::String&& value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey = std::move(value); } /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline void SetSecretStringKey(const char* value) { m_secretStringKeyHasBeenSet = true; m_secretStringKey.assign(value); } /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(const Aws::String& value) { SetSecretStringKey(value); return *this;} /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(Aws::String&& value) { SetSecretStringKey(std::move(value)); return *this;} /** *The AWS Secrets Manager SecretString * key associated with the access token. MediaTailor uses the key to look up * SecretString key and value pair containing the access token.
*/ inline SecretsManagerAccessTokenConfiguration& WithSecretStringKey(const char* value) { SetSecretStringKey(value); return *this;} private: Aws::String m_headerName; bool m_headerNameHasBeenSet = false; Aws::String m_secretArn; bool m_secretArnHasBeenSet = false; Aws::String m_secretStringKey; bool m_secretStringKeyHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws