/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about required authentication parameters.See
* Also:
AWS
* API Reference
The authentication key required to authenticate with the connector.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The authentication key required to authenticate with the connector.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The authentication key required to authenticate with the connector.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The authentication key required to authenticate with the connector.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The authentication key required to authenticate with the connector.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The authentication key required to authenticate with the connector.
*/ inline AuthParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The authentication key required to authenticate with the connector.
*/ inline AuthParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The authentication key required to authenticate with the connector.
*/ inline AuthParameter& WithKey(const char* value) { SetKey(value); return *this;} /** *Indicates whether this authentication parameter is required.
*/ inline bool GetIsRequired() const{ return m_isRequired; } /** *Indicates whether this authentication parameter is required.
*/ inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; } /** *Indicates whether this authentication parameter is required.
*/ inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; } /** *Indicates whether this authentication parameter is required.
*/ inline AuthParameter& WithIsRequired(bool value) { SetIsRequired(value); return *this;} /** *Label used for authentication parameter.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *Label used for authentication parameter.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *Label used for authentication parameter.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *Label used for authentication parameter.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *Label used for authentication parameter.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *Label used for authentication parameter.
*/ inline AuthParameter& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *Label used for authentication parameter.
*/ inline AuthParameter& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *Label used for authentication parameter.
*/ inline AuthParameter& WithLabel(const char* value) { SetLabel(value); return *this;} /** *A description about the authentication parameter.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description about the authentication parameter.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description about the authentication parameter.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description about the authentication parameter.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description about the authentication parameter.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description about the authentication parameter.
*/ inline AuthParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description about the authentication parameter.
*/ inline AuthParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description about the authentication parameter.
*/ inline AuthParameter& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Indicates whether this authentication parameter is a sensitive field.
*/ inline bool GetIsSensitiveField() const{ return m_isSensitiveField; } /** *Indicates whether this authentication parameter is a sensitive field.
*/ inline bool IsSensitiveFieldHasBeenSet() const { return m_isSensitiveFieldHasBeenSet; } /** *Indicates whether this authentication parameter is a sensitive field.
*/ inline void SetIsSensitiveField(bool value) { m_isSensitiveFieldHasBeenSet = true; m_isSensitiveField = value; } /** *Indicates whether this authentication parameter is a sensitive field.
*/ inline AuthParameter& 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 AuthParameter& WithConnectorSuppliedValues(const Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline AuthParameter& WithConnectorSuppliedValues(Aws::VectorContains default values for this authentication parameter that are supplied * by the connector.
*/ inline AuthParameter& 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 AuthParameter& 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 AuthParameter& AddConnectorSuppliedValues(const char* value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(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