/** * 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 IoTSiteWise { namespace Model { /** */ class DescribePortalRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API DescribePortalRequest(); // 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 "DescribePortal"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; /** *

The ID of the portal.

*/ inline const Aws::String& GetPortalId() const{ return m_portalId; } /** *

The ID of the portal.

*/ inline bool PortalIdHasBeenSet() const { return m_portalIdHasBeenSet; } /** *

The ID of the portal.

*/ inline void SetPortalId(const Aws::String& value) { m_portalIdHasBeenSet = true; m_portalId = value; } /** *

The ID of the portal.

*/ inline void SetPortalId(Aws::String&& value) { m_portalIdHasBeenSet = true; m_portalId = std::move(value); } /** *

The ID of the portal.

*/ inline void SetPortalId(const char* value) { m_portalIdHasBeenSet = true; m_portalId.assign(value); } /** *

The ID of the portal.

*/ inline DescribePortalRequest& WithPortalId(const Aws::String& value) { SetPortalId(value); return *this;} /** *

The ID of the portal.

*/ inline DescribePortalRequest& WithPortalId(Aws::String&& value) { SetPortalId(std::move(value)); return *this;} /** *

The ID of the portal.

*/ inline DescribePortalRequest& WithPortalId(const char* value) { SetPortalId(value); return *this;} private: Aws::String m_portalId; bool m_portalIdHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws