AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAssetPropertiesRequest.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 <aws/iotsitewise/model/ListAssetPropertiesFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTSiteWise
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTSITEWISE_API ListAssetPropertiesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListAssetProperties"; }
36
37 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
38
39 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
50 inline const Aws::String& GetAssetId() const{ return m_assetId; }
51 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
52 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
53 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
54 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
55 inline ListAssetPropertiesRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
56 inline ListAssetPropertiesRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
57 inline ListAssetPropertiesRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
59
61
64 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
65 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
66 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
67 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
68 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
69 inline ListAssetPropertiesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
70 inline ListAssetPropertiesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
71 inline ListAssetPropertiesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
73
75
79 inline int GetMaxResults() const{ return m_maxResults; }
80 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
81 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
82 inline ListAssetPropertiesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
84
86
93 inline const ListAssetPropertiesFilter& GetFilter() const{ return m_filter; }
94 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
95 inline void SetFilter(const ListAssetPropertiesFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
96 inline void SetFilter(ListAssetPropertiesFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
97 inline ListAssetPropertiesRequest& WithFilter(const ListAssetPropertiesFilter& value) { SetFilter(value); return *this;}
98 inline ListAssetPropertiesRequest& WithFilter(ListAssetPropertiesFilter&& value) { SetFilter(std::move(value)); return *this;}
100 private:
101
102 Aws::String m_assetId;
103 bool m_assetIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
112 bool m_filterHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace IoTSiteWise
117} // namespace Aws
ListAssetPropertiesRequest & WithNextToken(Aws::String &&value)
void SetFilter(const ListAssetPropertiesFilter &value)
ListAssetPropertiesRequest & WithFilter(ListAssetPropertiesFilter &&value)
ListAssetPropertiesRequest & WithAssetId(const char *value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListAssetPropertiesRequest & WithAssetId(Aws::String &&value)
ListAssetPropertiesRequest & WithFilter(const ListAssetPropertiesFilter &value)
ListAssetPropertiesRequest & WithNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListAssetPropertiesRequest & WithAssetId(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
ListAssetPropertiesRequest & WithNextToken(const char *value)
const ListAssetPropertiesFilter & GetFilter() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String