/** * 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 Appflow { namespace Model { /** */ class DescribeConnectorEntityRequest : public AppflowRequest { public: AWS_APPFLOW_API DescribeConnectorEntityRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeConnectorEntity"; } AWS_APPFLOW_API Aws::String SerializePayload() const override; /** *

The entity name for that connector.

*/ inline const Aws::String& GetConnectorEntityName() const{ return m_connectorEntityName; } /** *

The entity name for that connector.

*/ inline bool ConnectorEntityNameHasBeenSet() const { return m_connectorEntityNameHasBeenSet; } /** *

The entity name for that connector.

*/ inline void SetConnectorEntityName(const Aws::String& value) { m_connectorEntityNameHasBeenSet = true; m_connectorEntityName = value; } /** *

The entity name for that connector.

*/ inline void SetConnectorEntityName(Aws::String&& value) { m_connectorEntityNameHasBeenSet = true; m_connectorEntityName = std::move(value); } /** *

The entity name for that connector.

*/ inline void SetConnectorEntityName(const char* value) { m_connectorEntityNameHasBeenSet = true; m_connectorEntityName.assign(value); } /** *

The entity name for that connector.

*/ inline DescribeConnectorEntityRequest& WithConnectorEntityName(const Aws::String& value) { SetConnectorEntityName(value); return *this;} /** *

The entity name for that connector.

*/ inline DescribeConnectorEntityRequest& WithConnectorEntityName(Aws::String&& value) { SetConnectorEntityName(std::move(value)); return *this;} /** *

The entity name for that connector.

*/ inline DescribeConnectorEntityRequest& WithConnectorEntityName(const char* value) { SetConnectorEntityName(value); return *this;} /** *

The type of connector application, such as Salesforce, Amplitude, and so on. *

*/ inline const ConnectorType& GetConnectorType() const{ return m_connectorType; } /** *

The type of connector application, such as Salesforce, Amplitude, and so on. *

*/ inline bool ConnectorTypeHasBeenSet() const { return m_connectorTypeHasBeenSet; } /** *

The type of connector application, such as Salesforce, Amplitude, and so on. *

*/ inline void SetConnectorType(const ConnectorType& value) { m_connectorTypeHasBeenSet = true; m_connectorType = value; } /** *

The type of connector application, such as Salesforce, Amplitude, and so on. *

*/ inline void SetConnectorType(ConnectorType&& value) { m_connectorTypeHasBeenSet = true; m_connectorType = std::move(value); } /** *

The type of connector application, such as Salesforce, Amplitude, and so on. *

*/ inline DescribeConnectorEntityRequest& WithConnectorType(const ConnectorType& value) { SetConnectorType(value); return *this;} /** *

The type of connector application, such as Salesforce, Amplitude, and so on. *

*/ inline DescribeConnectorEntityRequest& WithConnectorType(ConnectorType&& value) { SetConnectorType(std::move(value)); return *this;} /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline const Aws::String& GetConnectorProfileName() const{ return m_connectorProfileName; } /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline bool ConnectorProfileNameHasBeenSet() const { return m_connectorProfileNameHasBeenSet; } /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline void SetConnectorProfileName(const Aws::String& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = value; } /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline void SetConnectorProfileName(Aws::String&& value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName = std::move(value); } /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline void SetConnectorProfileName(const char* value) { m_connectorProfileNameHasBeenSet = true; m_connectorProfileName.assign(value); } /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline DescribeConnectorEntityRequest& WithConnectorProfileName(const Aws::String& value) { SetConnectorProfileName(value); return *this;} /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline DescribeConnectorEntityRequest& WithConnectorProfileName(Aws::String&& value) { SetConnectorProfileName(std::move(value)); return *this;} /** *

The name of the connector profile. The name is unique for each * ConnectorProfile in the Amazon Web Services account.

*/ inline DescribeConnectorEntityRequest& WithConnectorProfileName(const char* value) { SetConnectorProfileName(value); return *this;} /** *

The version of the API that's used by the connector.

*/ inline const Aws::String& GetApiVersion() const{ return m_apiVersion; } /** *

The version of the API that's used by the connector.

*/ inline bool ApiVersionHasBeenSet() const { return m_apiVersionHasBeenSet; } /** *

The version of the API that's used by the connector.

*/ inline void SetApiVersion(const Aws::String& value) { m_apiVersionHasBeenSet = true; m_apiVersion = value; } /** *

The version of the API that's used by the connector.

*/ inline void SetApiVersion(Aws::String&& value) { m_apiVersionHasBeenSet = true; m_apiVersion = std::move(value); } /** *

The version of the API that's used by the connector.

*/ inline void SetApiVersion(const char* value) { m_apiVersionHasBeenSet = true; m_apiVersion.assign(value); } /** *

The version of the API that's used by the connector.

*/ inline DescribeConnectorEntityRequest& WithApiVersion(const Aws::String& value) { SetApiVersion(value); return *this;} /** *

The version of the API that's used by the connector.

*/ inline DescribeConnectorEntityRequest& WithApiVersion(Aws::String&& value) { SetApiVersion(std::move(value)); return *this;} /** *

The version of the API that's used by the connector.

*/ inline DescribeConnectorEntityRequest& WithApiVersion(const char* value) { SetApiVersion(value); return *this;} private: Aws::String m_connectorEntityName; bool m_connectorEntityNameHasBeenSet = false; ConnectorType m_connectorType; bool m_connectorTypeHasBeenSet = false; Aws::String m_connectorProfileName; bool m_connectorProfileNameHasBeenSet = false; Aws::String m_apiVersion; bool m_apiVersionHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws