/** * 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 profile credentials required by Dynatrace. *

See Also:

AWS * API Reference

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

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline const Aws::String& GetApiToken() const{ return m_apiToken; } /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline bool ApiTokenHasBeenSet() const { return m_apiTokenHasBeenSet; } /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline void SetApiToken(const Aws::String& value) { m_apiTokenHasBeenSet = true; m_apiToken = value; } /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline void SetApiToken(Aws::String&& value) { m_apiTokenHasBeenSet = true; m_apiToken = std::move(value); } /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline void SetApiToken(const char* value) { m_apiTokenHasBeenSet = true; m_apiToken.assign(value); } /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline DynatraceConnectorProfileCredentials& WithApiToken(const Aws::String& value) { SetApiToken(value); return *this;} /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline DynatraceConnectorProfileCredentials& WithApiToken(Aws::String&& value) { SetApiToken(std::move(value)); return *this;} /** *

The API tokens used by Dynatrace API to authenticate various API calls.

*/ inline DynatraceConnectorProfileCredentials& WithApiToken(const char* value) { SetApiToken(value); return *this;} private: Aws::String m_apiToken; bool m_apiTokenHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws