AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 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 ListTimeSeriesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline ListTimeSeriesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline ListTimeSeriesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
60 inline int GetMaxResults() const{ return m_maxResults; }
61 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
62 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
63 inline ListTimeSeriesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
65
67
74 inline const Aws::String& GetAssetId() const{ return m_assetId; }
75 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
76 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
77 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
78 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
79 inline ListTimeSeriesRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
80 inline ListTimeSeriesRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
81 inline ListTimeSeriesRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
83
85
88 inline const Aws::String& GetAliasPrefix() const{ return m_aliasPrefix; }
89 inline bool AliasPrefixHasBeenSet() const { return m_aliasPrefixHasBeenSet; }
90 inline void SetAliasPrefix(const Aws::String& value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix = value; }
91 inline void SetAliasPrefix(Aws::String&& value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix = std::move(value); }
92 inline void SetAliasPrefix(const char* value) { m_aliasPrefixHasBeenSet = true; m_aliasPrefix.assign(value); }
93 inline ListTimeSeriesRequest& WithAliasPrefix(const Aws::String& value) { SetAliasPrefix(value); return *this;}
94 inline ListTimeSeriesRequest& WithAliasPrefix(Aws::String&& value) { SetAliasPrefix(std::move(value)); return *this;}
95 inline ListTimeSeriesRequest& WithAliasPrefix(const char* value) { SetAliasPrefix(value); return *this;}
97
99
105 inline const ListTimeSeriesType& GetTimeSeriesType() const{ return m_timeSeriesType; }
106 inline bool TimeSeriesTypeHasBeenSet() const { return m_timeSeriesTypeHasBeenSet; }
107 inline void SetTimeSeriesType(const ListTimeSeriesType& value) { m_timeSeriesTypeHasBeenSet = true; m_timeSeriesType = value; }
108 inline void SetTimeSeriesType(ListTimeSeriesType&& value) { m_timeSeriesTypeHasBeenSet = true; m_timeSeriesType = std::move(value); }
110 inline ListTimeSeriesRequest& WithTimeSeriesType(ListTimeSeriesType&& value) { SetTimeSeriesType(std::move(value)); return *this;}
112 private:
113
114 Aws::String m_nextToken;
115 bool m_nextTokenHasBeenSet = false;
116
117 int m_maxResults;
118 bool m_maxResultsHasBeenSet = false;
119
120 Aws::String m_assetId;
121 bool m_assetIdHasBeenSet = false;
122
123 Aws::String m_aliasPrefix;
124 bool m_aliasPrefixHasBeenSet = false;
125
126 ListTimeSeriesType m_timeSeriesType;
127 bool m_timeSeriesTypeHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace IoTSiteWise
132} // namespace Aws
ListTimeSeriesRequest & WithNextToken(Aws::String &&value)
ListTimeSeriesRequest & WithAssetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListTimeSeriesRequest & WithAliasPrefix(const Aws::String &value)
ListTimeSeriesRequest & WithAssetId(Aws::String &&value)
ListTimeSeriesRequest & WithMaxResults(int value)
void SetTimeSeriesType(const ListTimeSeriesType &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
ListTimeSeriesRequest & WithAssetId(const char *value)
ListTimeSeriesRequest & WithNextToken(const Aws::String &value)
ListTimeSeriesRequest & WithTimeSeriesType(ListTimeSeriesType &&value)
ListTimeSeriesRequest & WithAliasPrefix(const char *value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListTimeSeriesRequest & WithAliasPrefix(Aws::String &&value)
ListTimeSeriesRequest & WithNextToken(const char *value)
const ListTimeSeriesType & GetTimeSeriesType() const
ListTimeSeriesRequest & WithTimeSeriesType(const ListTimeSeriesType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String