/** * 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 when using Trend Micro. *

See Also:

AWS * API Reference

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

The Secret Access Key portion of the credentials.

*/ inline const Aws::String& GetApiSecretKey() const{ return m_apiSecretKey; } /** *

The Secret Access Key portion of the credentials.

*/ inline bool ApiSecretKeyHasBeenSet() const { return m_apiSecretKeyHasBeenSet; } /** *

The Secret Access Key portion of the credentials.

*/ inline void SetApiSecretKey(const Aws::String& value) { m_apiSecretKeyHasBeenSet = true; m_apiSecretKey = value; } /** *

The Secret Access Key portion of the credentials.

*/ inline void SetApiSecretKey(Aws::String&& value) { m_apiSecretKeyHasBeenSet = true; m_apiSecretKey = std::move(value); } /** *

The Secret Access Key portion of the credentials.

*/ inline void SetApiSecretKey(const char* value) { m_apiSecretKeyHasBeenSet = true; m_apiSecretKey.assign(value); } /** *

The Secret Access Key portion of the credentials.

*/ inline TrendmicroConnectorProfileCredentials& WithApiSecretKey(const Aws::String& value) { SetApiSecretKey(value); return *this;} /** *

The Secret Access Key portion of the credentials.

*/ inline TrendmicroConnectorProfileCredentials& WithApiSecretKey(Aws::String&& value) { SetApiSecretKey(std::move(value)); return *this;} /** *

The Secret Access Key portion of the credentials.

*/ inline TrendmicroConnectorProfileCredentials& WithApiSecretKey(const char* value) { SetApiSecretKey(value); return *this;} private: Aws::String m_apiSecretKey; bool m_apiSecretKeyHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws