AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
49 inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
50 inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
51 inline ListDatasetContentsRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
52 inline ListDatasetContentsRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
53 inline ListDatasetContentsRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
55
57
60 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
65 inline ListDatasetContentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline ListDatasetContentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline ListDatasetContentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
74 inline int GetMaxResults() const{ return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline ListDatasetContentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
87 inline const Aws::Utils::DateTime& GetScheduledOnOrAfter() const{ return m_scheduledOnOrAfter; }
88 inline bool ScheduledOnOrAfterHasBeenSet() const { return m_scheduledOnOrAfterHasBeenSet; }
89 inline void SetScheduledOnOrAfter(const Aws::Utils::DateTime& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = value; }
90 inline void SetScheduledOnOrAfter(Aws::Utils::DateTime&& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = std::move(value); }
94
96
101 inline const Aws::Utils::DateTime& GetScheduledBefore() const{ return m_scheduledBefore; }
102 inline bool ScheduledBeforeHasBeenSet() const { return m_scheduledBeforeHasBeenSet; }
103 inline void SetScheduledBefore(const Aws::Utils::DateTime& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = value; }
104 inline void SetScheduledBefore(Aws::Utils::DateTime&& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = std::move(value); }
108 private:
109
110 Aws::String m_datasetName;
111 bool m_datasetNameHasBeenSet = false;
112
113 Aws::String m_nextToken;
114 bool m_nextTokenHasBeenSet = false;
115
116 int m_maxResults;
117 bool m_maxResultsHasBeenSet = false;
118
119 Aws::Utils::DateTime m_scheduledOnOrAfter;
120 bool m_scheduledOnOrAfterHasBeenSet = false;
121
122 Aws::Utils::DateTime m_scheduledBefore;
123 bool m_scheduledBeforeHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace IoTAnalytics
128} // namespace Aws
ListDatasetContentsRequest & WithNextToken(Aws::String &&value)
ListDatasetContentsRequest & WithNextToken(const Aws::String &value)
ListDatasetContentsRequest & WithDatasetName(Aws::String &&value)
ListDatasetContentsRequest & WithScheduledBefore(const Aws::Utils::DateTime &value)
ListDatasetContentsRequest & WithDatasetName(const Aws::String &value)
ListDatasetContentsRequest & WithNextToken(const char *value)
AWS_IOTANALYTICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetScheduledOnOrAfter(const Aws::Utils::DateTime &value)
ListDatasetContentsRequest & WithDatasetName(const char *value)
ListDatasetContentsRequest & WithScheduledOnOrAfter(Aws::Utils::DateTime &&value)
ListDatasetContentsRequest & WithScheduledBefore(Aws::Utils::DateTime &&value)
ListDatasetContentsRequest & WithScheduledOnOrAfter(const Aws::Utils::DateTime &value)
AWS_IOTANALYTICS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String