/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains API key credential information.See Also:
AWS
* API Reference
An API key for an application.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *An API key for an application.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *An API key for an application.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *An API key for an application.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *An API key for an application.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *An API key for an application.
*/ inline ApiKeyCredential& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *An API key for an application.
*/ inline ApiKeyCredential& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *An API key for an application.
*/ inline ApiKeyCredential& WithApiKey(const char* value) { SetApiKey(value); return *this;} private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws