AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListAssetsRequest.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/ListAssetsFilter.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 ListAssetsRequest();
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 "ListAssets"; }
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
46 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
48 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
51 inline ListAssetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListAssetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListAssetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
61 inline int GetMaxResults() const{ return m_maxResults; }
62 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
63 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
64 inline ListAssetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
66
68
77 inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
78 inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; }
79 inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; }
80 inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); }
81 inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); }
82 inline ListAssetsRequest& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
83 inline ListAssetsRequest& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
84 inline ListAssetsRequest& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
86
88
96 inline const ListAssetsFilter& GetFilter() const{ return m_filter; }
97 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
98 inline void SetFilter(const ListAssetsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
99 inline void SetFilter(ListAssetsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
100 inline ListAssetsRequest& WithFilter(const ListAssetsFilter& value) { SetFilter(value); return *this;}
101 inline ListAssetsRequest& WithFilter(ListAssetsFilter&& value) { SetFilter(std::move(value)); return *this;}
103 private:
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110
111 Aws::String m_assetModelId;
112 bool m_assetModelIdHasBeenSet = false;
113
114 ListAssetsFilter m_filter;
115 bool m_filterHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace IoTSiteWise
120} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListAssetsRequest & WithNextToken(const char *value)
void SetFilter(const ListAssetsFilter &value)
ListAssetsRequest & WithFilter(ListAssetsFilter &&value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetNextToken(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
ListAssetsRequest & WithAssetModelId(const Aws::String &value)
ListAssetsRequest & WithNextToken(const Aws::String &value)
void SetAssetModelId(const Aws::String &value)
void SetFilter(ListAssetsFilter &&value)
ListAssetsRequest & WithMaxResults(int value)
const ListAssetsFilter & GetFilter() const
ListAssetsRequest & WithNextToken(Aws::String &&value)
ListAssetsRequest & WithFilter(const ListAssetsFilter &value)
ListAssetsRequest & WithAssetModelId(Aws::String &&value)
const Aws::String & GetAssetModelId() const
ListAssetsRequest & WithAssetModelId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String