AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAssetPropertyRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace IoTSiteWise
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IOTSITEWISE_API DescribeAssetPropertyRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeAssetProperty"; }
31
32 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
33
34
36
43 inline const Aws::String& GetAssetId() const{ return m_assetId; }
44 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
45 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
46 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
47 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
48 inline DescribeAssetPropertyRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
49 inline DescribeAssetPropertyRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
50 inline DescribeAssetPropertyRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
52
54
61 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
62 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
63 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
64 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
65 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
66 inline DescribeAssetPropertyRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
67 inline DescribeAssetPropertyRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
68 inline DescribeAssetPropertyRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
70 private:
71
72 Aws::String m_assetId;
73 bool m_assetIdHasBeenSet = false;
74
75 Aws::String m_propertyId;
76 bool m_propertyIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTSiteWise
81} // namespace Aws
DescribeAssetPropertyRequest & WithPropertyId(Aws::String &&value)
DescribeAssetPropertyRequest & WithAssetId(const Aws::String &value)
DescribeAssetPropertyRequest & WithPropertyId(const char *value)
DescribeAssetPropertyRequest & WithAssetId(Aws::String &&value)
DescribeAssetPropertyRequest & WithPropertyId(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
DescribeAssetPropertyRequest & WithAssetId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String