/** * 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 Http { class URI; } //namespace Http namespace IoTWireless { namespace Model { /** */ class GetWirelessGatewayRequest : public IoTWirelessRequest { public: AWS_IOTWIRELESS_API GetWirelessGatewayRequest(); // 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 "GetWirelessGateway"; } AWS_IOTWIRELESS_API Aws::String SerializePayload() const override; AWS_IOTWIRELESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The identifier of the wireless gateway to get.

*/ inline const Aws::String& GetIdentifier() const{ return m_identifier; } /** *

The identifier of the wireless gateway to get.

*/ inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; } /** *

The identifier of the wireless gateway to get.

*/ inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; } /** *

The identifier of the wireless gateway to get.

*/ inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); } /** *

The identifier of the wireless gateway to get.

*/ inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); } /** *

The identifier of the wireless gateway to get.

*/ inline GetWirelessGatewayRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;} /** *

The identifier of the wireless gateway to get.

*/ inline GetWirelessGatewayRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;} /** *

The identifier of the wireless gateway to get.

*/ inline GetWirelessGatewayRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;} /** *

The type of identifier used in identifier.

*/ inline const WirelessGatewayIdType& GetIdentifierType() const{ return m_identifierType; } /** *

The type of identifier used in identifier.

*/ inline bool IdentifierTypeHasBeenSet() const { return m_identifierTypeHasBeenSet; } /** *

The type of identifier used in identifier.

*/ inline void SetIdentifierType(const WirelessGatewayIdType& value) { m_identifierTypeHasBeenSet = true; m_identifierType = value; } /** *

The type of identifier used in identifier.

*/ inline void SetIdentifierType(WirelessGatewayIdType&& value) { m_identifierTypeHasBeenSet = true; m_identifierType = std::move(value); } /** *

The type of identifier used in identifier.

*/ inline GetWirelessGatewayRequest& WithIdentifierType(const WirelessGatewayIdType& value) { SetIdentifierType(value); return *this;} /** *

The type of identifier used in identifier.

*/ inline GetWirelessGatewayRequest& WithIdentifierType(WirelessGatewayIdType&& value) { SetIdentifierType(std::move(value)); return *this;} private: Aws::String m_identifier; bool m_identifierHasBeenSet = false; WirelessGatewayIdType m_identifierType; bool m_identifierTypeHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws