/** * 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 Http { class URI; } //namespace Http namespace IoTSiteWise { namespace Model { /** */ class DescribeAssetRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API DescribeAssetRequest(); // 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 "DescribeAsset"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the asset.

*/ inline const Aws::String& GetAssetId() const{ return m_assetId; } /** *

The ID of the asset.

*/ inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; } /** *

The ID of the asset.

*/ inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; } /** *

The ID of the asset.

*/ inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); } /** *

The ID of the asset.

*/ inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); } /** *

The ID of the asset.

*/ inline DescribeAssetRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** *

The ID of the asset.

*/ inline DescribeAssetRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;} /** *

The ID of the asset.

*/ inline DescribeAssetRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;} /** *

Whether or not to exclude asset properties from the response.

*/ inline bool GetExcludeProperties() const{ return m_excludeProperties; } /** *

Whether or not to exclude asset properties from the response.

*/ inline bool ExcludePropertiesHasBeenSet() const { return m_excludePropertiesHasBeenSet; } /** *

Whether or not to exclude asset properties from the response.

*/ inline void SetExcludeProperties(bool value) { m_excludePropertiesHasBeenSet = true; m_excludeProperties = value; } /** *

Whether or not to exclude asset properties from the response.

*/ inline DescribeAssetRequest& WithExcludeProperties(bool value) { SetExcludeProperties(value); return *this;} private: Aws::String m_assetId; bool m_assetIdHasBeenSet = false; bool m_excludeProperties; bool m_excludePropertiesHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws