AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ListTimeSeriesRequest.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/ListTimeSeriesType.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 ListTimeSeriesRequest() = default;
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 "ListTimeSeries"; }
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 template<typename NextTokenT = Aws::String>
49 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
50 template<typename NextTokenT = Aws::String>
51 ListTimeSeriesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
61 inline ListTimeSeriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63
65
72 inline const Aws::String& GetAssetId() const { return m_assetId; }
73 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
74 template<typename AssetIdT = Aws::String>
75 void SetAssetId(AssetIdT&& value) { m_assetIdHasBeenSet = true; m_assetId = std::forward<AssetIdT>(value); }
76 template<typename AssetIdT = Aws::String>
77 ListTimeSeriesRequest& WithAssetId(AssetIdT&& value) { SetAssetId(std::forward<AssetIdT>(value)); return *this;}
79
81
84 inline const Aws::String& GetAliasPrefix() const { return m_aliasPrefix; }
85 inline bool AliasPrefixHasBeenSet() const { return m_aliasPrefixHasBeenSet; }
86 template<typename AliasPrefixT = Aws::String>
87 void SetAliasPrefix(AliasPrefixT&& value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix = std::forward<AliasPrefixT>(value); }
88 template<typename AliasPrefixT = Aws::String>
89 ListTimeSeriesRequest& WithAliasPrefix(AliasPrefixT&& value) { SetAliasPrefix(std::forward<AliasPrefixT>(value)); return *this;}
91
93
99 inline ListTimeSeriesType GetTimeSeriesType() const { return m_timeSeriesType; }
100 inline bool TimeSeriesTypeHasBeenSet() const { return m_timeSeriesTypeHasBeenSet; }
101 inline void SetTimeSeriesType(ListTimeSeriesType value) { m_timeSeriesTypeHasBeenSet = true; m_timeSeriesType = value; }
104 private:
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults{0};
110 bool m_maxResultsHasBeenSet = false;
111
112 Aws::String m_assetId;
113 bool m_assetIdHasBeenSet = false;
114
115 Aws::String m_aliasPrefix;
116 bool m_aliasPrefixHasBeenSet = false;
117
119 bool m_timeSeriesTypeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace IoTSiteWise
124} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListTimeSeriesRequest & WithNextToken(NextTokenT &&value)
ListTimeSeriesRequest & WithAssetId(AssetIdT &&value)
ListTimeSeriesRequest & WithMaxResults(int value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API ListTimeSeriesRequest()=default
ListTimeSeriesRequest & WithTimeSeriesType(ListTimeSeriesType value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListTimeSeriesRequest & WithAliasPrefix(AliasPrefixT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String