/** * 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 GetAssetPropertyValueRequest : public IoTSiteWiseRequest { public: AWS_IOTSITEWISE_API GetAssetPropertyValueRequest(); // 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 "GetAssetPropertyValue"; } 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 GetAssetPropertyValueRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;} /** *

The ID of the asset.

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

The ID of the asset.

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

The ID of the asset property.

*/ inline const Aws::String& GetPropertyId() const{ return m_propertyId; } /** *

The ID of the asset property.

*/ inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; } /** *

The ID of the asset property.

*/ inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; } /** *

The ID of the asset property.

*/ inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); } /** *

The ID of the asset property.

*/ inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); } /** *

The ID of the asset property.

*/ inline GetAssetPropertyValueRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;} /** *

The ID of the asset property.

*/ inline GetAssetPropertyValueRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;} /** *

The ID of the asset property.

*/ inline GetAssetPropertyValueRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;} /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; } /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; } /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; } /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); } /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); } /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline GetAssetPropertyValueRequest& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;} /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline GetAssetPropertyValueRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;} /** *

The alias that identifies the property, such as an OPC-UA server data stream * path (for example, /company/windfarm/3/turbine/7/temperature). For * more information, see Mapping * industrial data streams to asset properties in the IoT SiteWise User * Guide.

*/ inline GetAssetPropertyValueRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;} private: Aws::String m_assetId; bool m_assetIdHasBeenSet = false; Aws::String m_propertyId; bool m_propertyIdHasBeenSet = false; Aws::String m_propertyAlias; bool m_propertyAliasHasBeenSet = false; }; } // namespace Model } // namespace IoTSiteWise } // namespace Aws