AWS SDK for C++  1.9.126
AWS SDK for C++
GetAssetPropertyValueRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace IoTSiteWise
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetAssetId() const{ return m_assetId; }
45 
49  inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
50 
54  inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
55 
59  inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
60 
64  inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
65 
69  inline GetAssetPropertyValueRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
70 
74  inline GetAssetPropertyValueRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
75 
79  inline GetAssetPropertyValueRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
80 
81 
85  inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
86 
90  inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
91 
95  inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
96 
100  inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
101 
105  inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
106 
110  inline GetAssetPropertyValueRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
111 
115  inline GetAssetPropertyValueRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
116 
120  inline GetAssetPropertyValueRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
121 
122 
131  inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
132 
141  inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
142 
151  inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
152 
161  inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
162 
171  inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
172 
181  inline GetAssetPropertyValueRequest& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
182 
191  inline GetAssetPropertyValueRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
192 
201  inline GetAssetPropertyValueRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
202 
203  private:
204 
205  Aws::String m_assetId;
206  bool m_assetIdHasBeenSet;
207 
208  Aws::String m_propertyId;
209  bool m_propertyIdHasBeenSet;
210 
211  Aws::String m_propertyAlias;
212  bool m_propertyAliasHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace IoTSiteWise
217 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetPropertyId
void SetPropertyId(const char *value)
Definition: GetAssetPropertyValueRequest.h:105
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyId
GetAssetPropertyValueRequest & WithPropertyId(const char *value)
Definition: GetAssetPropertyValueRequest.h:120
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithAssetId
GetAssetPropertyValueRequest & WithAssetId(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:69
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyId
GetAssetPropertyValueRequest & WithPropertyId(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:110
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyId
GetAssetPropertyValueRequest & WithPropertyId(Aws::String &&value)
Definition: GetAssetPropertyValueRequest.h:115
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::PropertyAliasHasBeenSet
bool PropertyAliasHasBeenSet() const
Definition: GetAssetPropertyValueRequest.h:141
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::GetAssetPropertyValueRequest
GetAssetPropertyValueRequest()
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::AssetIdHasBeenSet
bool AssetIdHasBeenSet() const
Definition: GetAssetPropertyValueRequest.h:49
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::GetAssetId
const Aws::String & GetAssetId() const
Definition: GetAssetPropertyValueRequest.h:44
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetPropertyId
void SetPropertyId(Aws::String &&value)
Definition: GetAssetPropertyValueRequest.h:100
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetPropertyAlias
void SetPropertyAlias(Aws::String &&value)
Definition: GetAssetPropertyValueRequest.h:161
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithAssetId
GetAssetPropertyValueRequest & WithAssetId(Aws::String &&value)
Definition: GetAssetPropertyValueRequest.h:74
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetPropertyAlias
void SetPropertyAlias(const char *value)
Definition: GetAssetPropertyValueRequest.h:171
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::GetPropertyAlias
const Aws::String & GetPropertyAlias() const
Definition: GetAssetPropertyValueRequest.h:131
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetPropertyId
void SetPropertyId(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:95
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetAssetPropertyValueRequest.h:34
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetPropertyAlias
void SetPropertyAlias(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:151
AWSString.h
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithAssetId
GetAssetPropertyValueRequest & WithAssetId(const char *value)
Definition: GetAssetPropertyValueRequest.h:79
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest
Definition: GetAssetPropertyValueRequest.h:26
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetAssetId
void SetAssetId(Aws::String &&value)
Definition: GetAssetPropertyValueRequest.h:59
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetAssetId
void SetAssetId(const char *value)
Definition: GetAssetPropertyValueRequest.h:64
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::GetPropertyId
const Aws::String & GetPropertyId() const
Definition: GetAssetPropertyValueRequest.h:85
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::PropertyIdHasBeenSet
bool PropertyIdHasBeenSet() const
Definition: GetAssetPropertyValueRequest.h:90
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyAlias
GetAssetPropertyValueRequest & WithPropertyAlias(Aws::String &&value)
Definition: GetAssetPropertyValueRequest.h:191
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SetAssetId
void SetAssetId(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:54
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyAlias
GetAssetPropertyValueRequest & WithPropertyAlias(const char *value)
Definition: GetAssetPropertyValueRequest.h:201
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyAlias
GetAssetPropertyValueRequest & WithPropertyAlias(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:181