/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The API key credentials required for API key authentication.See
* Also:
AWS
* API Reference
The API key required for API key authentication.
*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *The API key required for API key authentication.
*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *The API key required for API key authentication.
*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *The API key required for API key authentication.
*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *The API key required for API key authentication.
*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *The API key required for API key authentication.
*/ inline ApiKeyCredentials& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *The API key required for API key authentication.
*/ inline ApiKeyCredentials& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *The API key required for API key authentication.
*/ inline ApiKeyCredentials& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *The API secret key required for API key authentication.
*/ inline const Aws::String& GetApiSecretKey() const{ return m_apiSecretKey; } /** *The API secret key required for API key authentication.
*/ inline bool ApiSecretKeyHasBeenSet() const { return m_apiSecretKeyHasBeenSet; } /** *The API secret key required for API key authentication.
*/ inline void SetApiSecretKey(const Aws::String& value) { m_apiSecretKeyHasBeenSet = true; m_apiSecretKey = value; } /** *The API secret key required for API key authentication.
*/ inline void SetApiSecretKey(Aws::String&& value) { m_apiSecretKeyHasBeenSet = true; m_apiSecretKey = std::move(value); } /** *The API secret key required for API key authentication.
*/ inline void SetApiSecretKey(const char* value) { m_apiSecretKeyHasBeenSet = true; m_apiSecretKey.assign(value); } /** *The API secret key required for API key authentication.
*/ inline ApiKeyCredentials& WithApiSecretKey(const Aws::String& value) { SetApiSecretKey(value); return *this;} /** *The API secret key required for API key authentication.
*/ inline ApiKeyCredentials& WithApiSecretKey(Aws::String&& value) { SetApiSecretKey(std::move(value)); return *this;} /** *The API secret key required for API key authentication.
*/ inline ApiKeyCredentials& WithApiSecretKey(const char* value) { SetApiSecretKey(value); return *this;} private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet = false; Aws::String m_apiSecretKey; bool m_apiSecretKeyHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws