AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssetPropertyValueRequest.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 Http
15{
16 class URI;
17} //namespace Http
18namespace IoTSiteWise
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTSITEWISE_API GetAssetPropertyValueRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetAssetPropertyValue"; }
35
36 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
37
38 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetAssetId() const{ return m_assetId; }
46 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
47 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
48 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
49 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
50 inline GetAssetPropertyValueRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
51 inline GetAssetPropertyValueRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
52 inline GetAssetPropertyValueRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
54
56
59 inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
60 inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
61 inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
62 inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
63 inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
64 inline GetAssetPropertyValueRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
65 inline GetAssetPropertyValueRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
66 inline GetAssetPropertyValueRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
68
70
78 inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
79 inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
80 inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
81 inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
82 inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
83 inline GetAssetPropertyValueRequest& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
84 inline GetAssetPropertyValueRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
85 inline GetAssetPropertyValueRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
87 private:
88
89 Aws::String m_assetId;
90 bool m_assetIdHasBeenSet = false;
91
92 Aws::String m_propertyId;
93 bool m_propertyIdHasBeenSet = false;
94
95 Aws::String m_propertyAlias;
96 bool m_propertyAliasHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace IoTSiteWise
101} // namespace Aws
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
GetAssetPropertyValueRequest & WithPropertyAlias(Aws::String &&value)
GetAssetPropertyValueRequest & WithAssetId(Aws::String &&value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAssetPropertyValueRequest & WithPropertyId(Aws::String &&value)
GetAssetPropertyValueRequest & WithAssetId(const char *value)
GetAssetPropertyValueRequest & WithPropertyAlias(const char *value)
GetAssetPropertyValueRequest & WithPropertyId(const Aws::String &value)
GetAssetPropertyValueRequest & WithPropertyAlias(const Aws::String &value)
GetAssetPropertyValueRequest & WithPropertyId(const char *value)
GetAssetPropertyValueRequest & WithAssetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String