AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeAssetPropertyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace IoTSiteWise
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetAssetId() const{ return m_assetId; }
39 
43  inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
44 
48  inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
49 
53  inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
54 
58  inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
59 
63  inline DescribeAssetPropertyRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
64 
68  inline DescribeAssetPropertyRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
69 
73  inline DescribeAssetPropertyRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
74 
75 
79  inline const Aws::String& GetPropertyId() const{ return m_propertyId; }
80 
84  inline bool PropertyIdHasBeenSet() const { return m_propertyIdHasBeenSet; }
85 
89  inline void SetPropertyId(const Aws::String& value) { m_propertyIdHasBeenSet = true; m_propertyId = value; }
90 
94  inline void SetPropertyId(Aws::String&& value) { m_propertyIdHasBeenSet = true; m_propertyId = std::move(value); }
95 
99  inline void SetPropertyId(const char* value) { m_propertyIdHasBeenSet = true; m_propertyId.assign(value); }
100 
104  inline DescribeAssetPropertyRequest& WithPropertyId(const Aws::String& value) { SetPropertyId(value); return *this;}
105 
109  inline DescribeAssetPropertyRequest& WithPropertyId(Aws::String&& value) { SetPropertyId(std::move(value)); return *this;}
110 
114  inline DescribeAssetPropertyRequest& WithPropertyId(const char* value) { SetPropertyId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_assetId;
119  bool m_assetIdHasBeenSet;
120 
121  Aws::String m_propertyId;
122  bool m_propertyIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace IoTSiteWise
127 } // namespace Aws
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SetAssetId
void SetAssetId(Aws::String &&value)
Definition: DescribeAssetPropertyRequest.h:53
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest
Definition: DescribeAssetPropertyRequest.h:22
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::WithAssetId
DescribeAssetPropertyRequest & WithAssetId(const char *value)
Definition: DescribeAssetPropertyRequest.h:73
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::WithPropertyId
DescribeAssetPropertyRequest & WithPropertyId(Aws::String &&value)
Definition: DescribeAssetPropertyRequest.h:109
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::WithAssetId
DescribeAssetPropertyRequest & WithAssetId(Aws::String &&value)
Definition: DescribeAssetPropertyRequest.h:68
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::AssetIdHasBeenSet
bool AssetIdHasBeenSet() const
Definition: DescribeAssetPropertyRequest.h:43
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::PropertyIdHasBeenSet
bool PropertyIdHasBeenSet() const
Definition: DescribeAssetPropertyRequest.h:84
AWSString.h
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAssetPropertyRequest.h:30
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SetAssetId
void SetAssetId(const char *value)
Definition: DescribeAssetPropertyRequest.h:58
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::GetAssetId
const Aws::String & GetAssetId() const
Definition: DescribeAssetPropertyRequest.h:38
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::GetPropertyId
const Aws::String & GetPropertyId() const
Definition: DescribeAssetPropertyRequest.h:79
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::WithPropertyId
DescribeAssetPropertyRequest & WithPropertyId(const Aws::String &value)
Definition: DescribeAssetPropertyRequest.h:104
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SetPropertyId
void SetPropertyId(Aws::String &&value)
Definition: DescribeAssetPropertyRequest.h:94
Aws
Definition: AccessManagementClient.h:15
IoTSiteWiseRequest.h
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SetAssetId
void SetAssetId(const Aws::String &value)
Definition: DescribeAssetPropertyRequest.h:48
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::DescribeAssetPropertyRequest
DescribeAssetPropertyRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::WithPropertyId
DescribeAssetPropertyRequest & WithPropertyId(const char *value)
Definition: DescribeAssetPropertyRequest.h:114
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SetPropertyId
void SetPropertyId(const char *value)
Definition: DescribeAssetPropertyRequest.h:99
Aws::IoTSiteWise::IoTSiteWiseRequest
Definition: IoTSiteWiseRequest.h:17
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SetPropertyId
void SetPropertyId(const Aws::String &value)
Definition: DescribeAssetPropertyRequest.h:89
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTSiteWise::Model::DescribeAssetPropertyRequest::WithAssetId
DescribeAssetPropertyRequest & WithAssetId(const Aws::String &value)
Definition: DescribeAssetPropertyRequest.h:63