AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ListDatasetContentsRequest.h
1
6#pragma once
7#include <aws/iotanalytics/IoTAnalytics_EXPORTS.h>
8#include <aws/iotanalytics/IoTAnalyticsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace IoTAnalytics
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTANALYTICS_API ListDatasetContentsRequest() = 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 "ListDatasetContents"; }
36
37 AWS_IOTANALYTICS_API Aws::String SerializePayload() const override;
38
39 AWS_IOTANALYTICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const Aws::String& GetDatasetName() const { return m_datasetName; }
47 inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
48 template<typename DatasetNameT = Aws::String>
49 void SetDatasetName(DatasetNameT&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::forward<DatasetNameT>(value); }
50 template<typename DatasetNameT = Aws::String>
51 ListDatasetContentsRequest& WithDatasetName(DatasetNameT&& value) { SetDatasetName(std::forward<DatasetNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetNextToken() const { return m_nextToken; }
59 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
60 template<typename NextTokenT = Aws::String>
61 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
62 template<typename NextTokenT = Aws::String>
63 ListDatasetContentsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
65
67
70 inline int GetMaxResults() const { return m_maxResults; }
71 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
72 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
73 inline ListDatasetContentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
75
77
83 inline const Aws::Utils::DateTime& GetScheduledOnOrAfter() const { return m_scheduledOnOrAfter; }
84 inline bool ScheduledOnOrAfterHasBeenSet() const { return m_scheduledOnOrAfterHasBeenSet; }
85 template<typename ScheduledOnOrAfterT = Aws::Utils::DateTime>
86 void SetScheduledOnOrAfter(ScheduledOnOrAfterT&& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = std::forward<ScheduledOnOrAfterT>(value); }
87 template<typename ScheduledOnOrAfterT = Aws::Utils::DateTime>
88 ListDatasetContentsRequest& WithScheduledOnOrAfter(ScheduledOnOrAfterT&& value) { SetScheduledOnOrAfter(std::forward<ScheduledOnOrAfterT>(value)); return *this;}
90
92
97 inline const Aws::Utils::DateTime& GetScheduledBefore() const { return m_scheduledBefore; }
98 inline bool ScheduledBeforeHasBeenSet() const { return m_scheduledBeforeHasBeenSet; }
99 template<typename ScheduledBeforeT = Aws::Utils::DateTime>
100 void SetScheduledBefore(ScheduledBeforeT&& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = std::forward<ScheduledBeforeT>(value); }
101 template<typename ScheduledBeforeT = Aws::Utils::DateTime>
102 ListDatasetContentsRequest& WithScheduledBefore(ScheduledBeforeT&& value) { SetScheduledBefore(std::forward<ScheduledBeforeT>(value)); return *this;}
104 private:
105
106 Aws::String m_datasetName;
107 bool m_datasetNameHasBeenSet = false;
108
109 Aws::String m_nextToken;
110 bool m_nextTokenHasBeenSet = false;
111
112 int m_maxResults{0};
113 bool m_maxResultsHasBeenSet = false;
114
115 Aws::Utils::DateTime m_scheduledOnOrAfter{};
116 bool m_scheduledOnOrAfterHasBeenSet = false;
117
118 Aws::Utils::DateTime m_scheduledBefore{};
119 bool m_scheduledBeforeHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace IoTAnalytics
124} // namespace Aws
ListDatasetContentsRequest & WithNextToken(NextTokenT &&value)
AWS_IOTANALYTICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListDatasetContentsRequest & WithScheduledBefore(ScheduledBeforeT &&value)
AWS_IOTANALYTICS_API ListDatasetContentsRequest()=default
ListDatasetContentsRequest & WithScheduledOnOrAfter(ScheduledOnOrAfterT &&value)
ListDatasetContentsRequest & WithDatasetName(DatasetNameT &&value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String