/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The connector-specific credentials required by Datadog. See
* Also:
AWS
* API Reference
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 DatadogConnectorProfileCredentials& 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 DatadogConnectorProfileCredentials& 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 DatadogConnectorProfileCredentials& WithApiKey(const char* value) { SetApiKey(value); return *this;} /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline const Aws::String& GetApplicationKey() const{ return m_applicationKey; } /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline bool ApplicationKeyHasBeenSet() const { return m_applicationKeyHasBeenSet; } /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline void SetApplicationKey(const Aws::String& value) { m_applicationKeyHasBeenSet = true; m_applicationKey = value; } /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline void SetApplicationKey(Aws::String&& value) { m_applicationKeyHasBeenSet = true; m_applicationKey = std::move(value); } /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline void SetApplicationKey(const char* value) { m_applicationKeyHasBeenSet = true; m_applicationKey.assign(value); } /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline DatadogConnectorProfileCredentials& WithApplicationKey(const Aws::String& value) { SetApplicationKey(value); return *this;} /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline DatadogConnectorProfileCredentials& WithApplicationKey(Aws::String&& value) { SetApplicationKey(std::move(value)); return *this;} /** *Application keys, in conjunction with your API key, give you full access to * Datadog’s programmatic API. Application keys are associated with the user * account that created them. The application key is used to log all requests made * to the API.
*/ inline DatadogConnectorProfileCredentials& WithApplicationKey(const char* value) { SetApplicationKey(value); return *this;} private: Aws::String m_apiKey; bool m_apiKeyHasBeenSet = false; Aws::String m_applicationKey; bool m_applicationKeyHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws