/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

The connector-specific credentials required when using Amplitude. *

See Also:

AWS * API Reference

*/ class AmplitudeConnectorProfileCredentials { public: AWS_APPFLOW_API AmplitudeConnectorProfileCredentials(); AWS_APPFLOW_API AmplitudeConnectorProfileCredentials(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API AmplitudeConnectorProfileCredentials& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline const Aws::String& GetApiKey() const{ return m_apiKey; } /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline bool ApiKeyHasBeenSet() const { return m_apiKeyHasBeenSet; } /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline void SetApiKey(const Aws::String& value) { m_apiKeyHasBeenSet = true; m_apiKey = value; } /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline void SetApiKey(Aws::String&& value) { m_apiKeyHasBeenSet = true; m_apiKey = std::move(value); } /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline void SetApiKey(const char* value) { m_apiKeyHasBeenSet = true; m_apiKey.assign(value); } /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline AmplitudeConnectorProfileCredentials& WithApiKey(const Aws::String& value) { SetApiKey(value); return *this;} /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline AmplitudeConnectorProfileCredentials& WithApiKey(Aws::String&& value) { SetApiKey(std::move(value)); return *this;} /** *

A unique alphanumeric identifier used to authenticate a user, developer, or * calling program to your API.

*/ inline AmplitudeConnectorProfileCredentials& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *

The Secret Access Key portion of the credentials.

*/ inline const Aws::String& GetSecretKey() const{ return m_secretKey; } /** *

The Secret Access Key portion of the credentials.

*/ inline bool SecretKeyHasBeenSet() const { return m_secretKeyHasBeenSet; } /** *

The Secret Access Key portion of the credentials.

*/ inline void SetSecretKey(const Aws::String& value) { m_secretKeyHasBeenSet = true; m_secretKey = value; } /** *

The Secret Access Key portion of the credentials.

*/ inline void SetSecretKey(Aws::String&& value) { m_secretKeyHasBeenSet = true; m_secretKey = std::move(value); } /** *

The Secret Access Key portion of the credentials.

*/ inline void SetSecretKey(const char* value) { m_secretKeyHasBeenSet = true; m_secretKey.assign(value); } /** *

The Secret Access Key portion of the credentials.

*/ inline AmplitudeConnectorProfileCredentials& WithSecretKey(const Aws::String& value) { SetSecretKey(value); return *this;} /** *

The Secret Access Key portion of the credentials.

*/ inline AmplitudeConnectorProfileCredentials& WithSecretKey(Aws::String&& value) { SetSecretKey(std::move(value)); return *this;} /** *

The Secret Access Key portion of the credentials.

*/ inline AmplitudeConnectorProfileCredentials& WithSecretKey(const char* value) { SetSecretKey(value); return *this;} private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet = false; Aws::String m_secretKey; bool m_secretKeyHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws