/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Transfer { namespace Model { /** */ class DescribeConnectorRequest : public TransferRequest { public: AWS_TRANSFER_API DescribeConnectorRequest(); // 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 "DescribeConnector"; } AWS_TRANSFER_API Aws::String SerializePayload() const override; AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The unique identifier for the connector.

*/ inline const Aws::String& GetConnectorId() const{ return m_connectorId; } /** *

The unique identifier for the connector.

*/ inline bool ConnectorIdHasBeenSet() const { return m_connectorIdHasBeenSet; } /** *

The unique identifier for the connector.

*/ inline void SetConnectorId(const Aws::String& value) { m_connectorIdHasBeenSet = true; m_connectorId = value; } /** *

The unique identifier for the connector.

*/ inline void SetConnectorId(Aws::String&& value) { m_connectorIdHasBeenSet = true; m_connectorId = std::move(value); } /** *

The unique identifier for the connector.

*/ inline void SetConnectorId(const char* value) { m_connectorIdHasBeenSet = true; m_connectorId.assign(value); } /** *

The unique identifier for the connector.

*/ inline DescribeConnectorRequest& WithConnectorId(const Aws::String& value) { SetConnectorId(value); return *this;} /** *

The unique identifier for the connector.

*/ inline DescribeConnectorRequest& WithConnectorId(Aws::String&& value) { SetConnectorId(std::move(value)); return *this;} /** *

The unique identifier for the connector.

*/ inline DescribeConnectorRequest& WithConnectorId(const char* value) { SetConnectorId(value); return *this;} private: Aws::String m_connectorId; bool m_connectorIdHasBeenSet = false; }; } // namespace Model } // namespace Transfer } // namespace Aws