/** * 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 DescribeAssetModelRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API DescribeAssetModelRequest(); // 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 "DescribeAssetModel"; } AWS_IOTSITEWISE_API Aws::String SerializePayload() const override; AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the asset model.

*/ inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; } /** *

The ID of the asset model.

*/ inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; } /** *

The ID of the asset model.

*/ inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; } /** *

The ID of the asset model.

*/ inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); } /** *

The ID of the asset model.

*/ inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); } /** *

The ID of the asset model.

*/ inline DescribeAssetModelRequest& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;} /** *

The ID of the asset model.

*/ inline DescribeAssetModelRequest& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;} /** *

The ID of the asset model.

*/ inline DescribeAssetModelRequest& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;} /** *

Whether or not to exclude asset model properties from the response.

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

Whether or not to exclude asset model properties from the response.

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

Whether or not to exclude asset model properties from the response.

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

Whether or not to exclude asset model properties from the response.

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