226 lines
8.3 KiB
C++
226 lines
8.3 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
|
|
#include <aws/iotsitewise/IoTSiteWiseRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Http
|
|
{
|
|
class URI;
|
|
} //namespace Http
|
|
namespace IoTSiteWise
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_IOTSITEWISE_API GetAssetPropertyValueRequest : public IoTSiteWiseRequest
|
|
{
|
|
public:
|
|
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::String SerializePayload() const override;
|
|
|
|
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
|
|
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline const Aws::String& GetAssetId() const{ return m_assetId; }
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the asset.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the asset property.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The property alias that identifies the property, such as an OPC-UA server
|
|
* data stream path (for example,
|
|
* <code>/company/windfarm/3/turbine/7/temperature</code>). For more information,
|
|
* see <a
|
|
* href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping
|
|
* industrial data streams to asset properties</a> in the <i>AWS IoT SiteWise User
|
|
* Guide</i>.</p>
|
|
*/
|
|
inline GetAssetPropertyValueRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_assetId;
|
|
bool m_assetIdHasBeenSet;
|
|
|
|
Aws::String m_propertyId;
|
|
bool m_propertyIdHasBeenSet;
|
|
|
|
Aws::String m_propertyAlias;
|
|
bool m_propertyAliasHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace IoTSiteWise
|
|
} // namespace Aws
|