AWS SDK for C++  1.9.14
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 
132  inline const Aws::String& GetPropertyAlias() const{ return m_propertyAlias; }
133 
143  inline bool PropertyAliasHasBeenSet() const { return m_propertyAliasHasBeenSet; }
144 
154  inline void SetPropertyAlias(const Aws::String& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = value; }
155 
165  inline void SetPropertyAlias(Aws::String&& value) { m_propertyAliasHasBeenSet = true; m_propertyAlias = std::move(value); }
166 
176  inline void SetPropertyAlias(const char* value) { m_propertyAliasHasBeenSet = true; m_propertyAlias.assign(value); }
177 
187  inline GetAssetPropertyValueRequest& WithPropertyAlias(const Aws::String& value) { SetPropertyAlias(value); return *this;}
188 
198  inline GetAssetPropertyValueRequest& WithPropertyAlias(Aws::String&& value) { SetPropertyAlias(std::move(value)); return *this;}
199 
209  inline GetAssetPropertyValueRequest& WithPropertyAlias(const char* value) { SetPropertyAlias(value); return *this;}
210 
211  private:
212 
213  Aws::String m_assetId;
214  bool m_assetIdHasBeenSet;
215 
216  Aws::String m_propertyId;
217  bool m_propertyIdHasBeenSet;
218 
219  Aws::String m_propertyAlias;
220  bool m_propertyAliasHasBeenSet;
221  };
222 
223 } // namespace Model
224 } // namespace IoTSiteWise
225 } // 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:143
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:165
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:176
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::GetPropertyAlias
const Aws::String & GetPropertyAlias() const
Definition: GetAssetPropertyValueRequest.h:132
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:154
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:198
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:209
Aws::IoTSiteWise::Model::GetAssetPropertyValueRequest::WithPropertyAlias
GetAssetPropertyValueRequest & WithPropertyAlias(const Aws::String &value)
Definition: GetAssetPropertyValueRequest.h:187