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

The profile properties required by the custom connector.

See * Also:

AWS * API Reference

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

A map of properties that are required to create a profile for the custom * connector.

*/ inline const Aws::Map& GetProfileProperties() const{ return m_profileProperties; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline bool ProfilePropertiesHasBeenSet() const { return m_profilePropertiesHasBeenSet; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline void SetProfileProperties(const Aws::Map& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties = value; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline void SetProfileProperties(Aws::Map&& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties = std::move(value); } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& WithProfileProperties(const Aws::Map& value) { SetProfileProperties(value); return *this;} /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& WithProfileProperties(Aws::Map&& value) { SetProfileProperties(std::move(value)); return *this;} /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(const Aws::String& key, const Aws::String& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(key, value); return *this; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(Aws::String&& key, const Aws::String& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(std::move(key), value); return *this; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(const Aws::String& key, Aws::String&& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(key, std::move(value)); return *this; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(Aws::String&& key, Aws::String&& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(const char* key, Aws::String&& value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(key, std::move(value)); return *this; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(Aws::String&& key, const char* value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(std::move(key), value); return *this; } /** *

A map of properties that are required to create a profile for the custom * connector.

*/ inline CustomConnectorProfileProperties& AddProfileProperties(const char* key, const char* value) { m_profilePropertiesHasBeenSet = true; m_profileProperties.emplace(key, value); return *this; } inline const OAuth2Properties& GetOAuth2Properties() const{ return m_oAuth2Properties; } inline bool OAuth2PropertiesHasBeenSet() const { return m_oAuth2PropertiesHasBeenSet; } inline void SetOAuth2Properties(const OAuth2Properties& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = value; } inline void SetOAuth2Properties(OAuth2Properties&& value) { m_oAuth2PropertiesHasBeenSet = true; m_oAuth2Properties = std::move(value); } inline CustomConnectorProfileProperties& WithOAuth2Properties(const OAuth2Properties& value) { SetOAuth2Properties(value); return *this;} inline CustomConnectorProfileProperties& WithOAuth2Properties(OAuth2Properties&& value) { SetOAuth2Properties(std::move(value)); return *this;} private: Aws::Map m_profileProperties; bool m_profilePropertiesHasBeenSet = false; OAuth2Properties m_oAuth2Properties; bool m_oAuth2PropertiesHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws