/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Custom parameter required for OAuth 2.0 authentication.See
* Also:
AWS
* API Reference
The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline OAuth2CustomParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline OAuth2CustomParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The key of the custom parameter required for OAuth 2.0 authentication.
*/ inline OAuth2CustomParameter& WithKey(const char* value) { SetKey(value); return *this;} /** *Indicates whether the custom parameter for OAuth 2.0 authentication is * required.
*/ inline bool GetIsRequired() const{ return m_isRequired; } /** *Indicates whether the custom parameter for OAuth 2.0 authentication is * required.
*/ inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; } /** *Indicates whether the custom parameter for OAuth 2.0 authentication is * required.
*/ inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; } /** *Indicates whether the custom parameter for OAuth 2.0 authentication is * required.
*/ inline OAuth2CustomParameter& WithIsRequired(bool value) { SetIsRequired(value); return *this;} /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline OAuth2CustomParameter& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline OAuth2CustomParameter& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The label of the custom parameter used for OAuth 2.0 authentication.
*/ inline OAuth2CustomParameter& WithLabel(const char* value) { SetLabel(value); return *this;} /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline OAuth2CustomParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline OAuth2CustomParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description about the custom parameter used for OAuth 2.0 * authentication.
*/ inline OAuth2CustomParameter& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Indicates whether this authentication custom parameter is a sensitive * field.
*/ inline bool GetIsSensitiveField() const{ return m_isSensitiveField; } /** *Indicates whether this authentication custom parameter is a sensitive * field.
*/ inline bool IsSensitiveFieldHasBeenSet() const { return m_isSensitiveFieldHasBeenSet; } /** *Indicates whether this authentication custom parameter is a sensitive * field.
*/ inline void SetIsSensitiveField(bool value) { m_isSensitiveFieldHasBeenSet = true; m_isSensitiveField = value; } /** *Indicates whether this authentication custom parameter is a sensitive * field.
*/ inline OAuth2CustomParameter& WithIsSensitiveField(bool value) { SetIsSensitiveField(value); return *this;} /** *Contains default values for this authentication parameter that are supplied * by the connector.
*/ inline const Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline bool ConnectorSuppliedValuesHasBeenSet() const { return m_connectorSuppliedValuesHasBeenSet; } /** *Contains default values for this authentication parameter that are supplied * by the connector.
*/ inline void SetConnectorSuppliedValues(const Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline void SetConnectorSuppliedValues(Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline OAuth2CustomParameter& WithConnectorSuppliedValues(const Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline OAuth2CustomParameter& WithConnectorSuppliedValues(Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline OAuth2CustomParameter& AddConnectorSuppliedValues(const Aws::String& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(value); return *this; } /** *Contains default values for this authentication parameter that are supplied * by the connector.
*/ inline OAuth2CustomParameter& AddConnectorSuppliedValues(Aws::String&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(std::move(value)); return *this; } /** *Contains default values for this authentication parameter that are supplied * by the connector.
*/ inline OAuth2CustomParameter& AddConnectorSuppliedValues(const char* value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(value); return *this; } /** *Indicates whether custom parameter is used with TokenUrl or AuthUrl.
*/ inline const OAuth2CustomPropType& GetType() const{ return m_type; } /** *Indicates whether custom parameter is used with TokenUrl or AuthUrl.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Indicates whether custom parameter is used with TokenUrl or AuthUrl.
*/ inline void SetType(const OAuth2CustomPropType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Indicates whether custom parameter is used with TokenUrl or AuthUrl.
*/ inline void SetType(OAuth2CustomPropType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Indicates whether custom parameter is used with TokenUrl or AuthUrl.
*/ inline OAuth2CustomParameter& WithType(const OAuth2CustomPropType& value) { SetType(value); return *this;} /** *Indicates whether custom parameter is used with TokenUrl or AuthUrl.
*/ inline OAuth2CustomParameter& WithType(OAuth2CustomPropType&& value) { SetType(std::move(value)); return *this;} private: Aws::String m_key; bool m_keyHasBeenSet = false; bool m_isRequired; bool m_isRequiredHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; bool m_isSensitiveField; bool m_isSensitiveFieldHasBeenSet = false; Aws::Vector