/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the API key authorization parameters to use to update the
* connection.See Also:
AWS
* API Reference
The name of the API key to use for authorization.
*/ inline const Aws::String& GetApiKeyName() const{ return m_apiKeyName; } /** *The name of the API key to use for authorization.
*/ inline bool ApiKeyNameHasBeenSet() const { return m_apiKeyNameHasBeenSet; } /** *The name of the API key to use for authorization.
*/ inline void SetApiKeyName(const Aws::String& value) { m_apiKeyNameHasBeenSet = true; m_apiKeyName = value; } /** *The name of the API key to use for authorization.
*/ inline void SetApiKeyName(Aws::String&& value) { m_apiKeyNameHasBeenSet = true; m_apiKeyName = std::move(value); } /** *The name of the API key to use for authorization.
*/ inline void SetApiKeyName(const char* value) { m_apiKeyNameHasBeenSet = true; m_apiKeyName.assign(value); } /** *The name of the API key to use for authorization.
*/ inline UpdateConnectionApiKeyAuthRequestParameters& WithApiKeyName(const Aws::String& value) { SetApiKeyName(value); return *this;} /** *The name of the API key to use for authorization.
*/ inline UpdateConnectionApiKeyAuthRequestParameters& WithApiKeyName(Aws::String&& value) { SetApiKeyName(std::move(value)); return *this;} /** *The name of the API key to use for authorization.
*/ inline UpdateConnectionApiKeyAuthRequestParameters& WithApiKeyName(const char* value) { SetApiKeyName(value); return *this;} /** *The value associated with teh API key to use for authorization.
*/ inline const Aws::String& GetApiKeyValue() const{ return m_apiKeyValue; } /** *The value associated with teh API key to use for authorization.
*/ inline bool ApiKeyValueHasBeenSet() const { return m_apiKeyValueHasBeenSet; } /** *The value associated with teh API key to use for authorization.
*/ inline void SetApiKeyValue(const Aws::String& value) { m_apiKeyValueHasBeenSet = true; m_apiKeyValue = value; } /** *The value associated with teh API key to use for authorization.
*/ inline void SetApiKeyValue(Aws::String&& value) { m_apiKeyValueHasBeenSet = true; m_apiKeyValue = std::move(value); } /** *The value associated with teh API key to use for authorization.
*/ inline void SetApiKeyValue(const char* value) { m_apiKeyValueHasBeenSet = true; m_apiKeyValue.assign(value); } /** *The value associated with teh API key to use for authorization.
*/ inline UpdateConnectionApiKeyAuthRequestParameters& WithApiKeyValue(const Aws::String& value) { SetApiKeyValue(value); return *this;} /** *The value associated with teh API key to use for authorization.
*/ inline UpdateConnectionApiKeyAuthRequestParameters& WithApiKeyValue(Aws::String&& value) { SetApiKeyValue(std::move(value)); return *this;} /** *The value associated with teh API key to use for authorization.
*/ inline UpdateConnectionApiKeyAuthRequestParameters& WithApiKeyValue(const char* value) { SetApiKeyValue(value); return *this;} private: Aws::String m_apiKeyName; bool m_apiKeyNameHasBeenSet = false; Aws::String m_apiKeyValue; bool m_apiKeyValueHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws