AWS SDK for C++  1.9.40
AWS SDK for C++
ListDatasetContentsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Http
16 {
17  class URI;
18 } //namespace Http
19 namespace IoTAnalytics
20 {
21 namespace Model
22 {
23 
27  {
28  public:
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::String SerializePayload() const override;
38 
39  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40 
41 
45  inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
46 
50  inline bool DatasetNameHasBeenSet() const { return m_datasetNameHasBeenSet; }
51 
55  inline void SetDatasetName(const Aws::String& value) { m_datasetNameHasBeenSet = true; m_datasetName = value; }
56 
60  inline void SetDatasetName(Aws::String&& value) { m_datasetNameHasBeenSet = true; m_datasetName = std::move(value); }
61 
65  inline void SetDatasetName(const char* value) { m_datasetNameHasBeenSet = true; m_datasetName.assign(value); }
66 
70  inline ListDatasetContentsRequest& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
71 
75  inline ListDatasetContentsRequest& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
76 
80  inline ListDatasetContentsRequest& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
87 
91  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
92 
96  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
97 
101  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
102 
106  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
107 
111  inline ListDatasetContentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 
116  inline ListDatasetContentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 
121  inline ListDatasetContentsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
122 
123 
127  inline int GetMaxResults() const{ return m_maxResults; }
128 
132  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
133 
137  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
138 
142  inline ListDatasetContentsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
143 
144 
151  inline const Aws::Utils::DateTime& GetScheduledOnOrAfter() const{ return m_scheduledOnOrAfter; }
152 
159  inline bool ScheduledOnOrAfterHasBeenSet() const { return m_scheduledOnOrAfterHasBeenSet; }
160 
167  inline void SetScheduledOnOrAfter(const Aws::Utils::DateTime& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = value; }
168 
175  inline void SetScheduledOnOrAfter(Aws::Utils::DateTime&& value) { m_scheduledOnOrAfterHasBeenSet = true; m_scheduledOnOrAfter = std::move(value); }
176 
183  inline ListDatasetContentsRequest& WithScheduledOnOrAfter(const Aws::Utils::DateTime& value) { SetScheduledOnOrAfter(value); return *this;}
184 
191  inline ListDatasetContentsRequest& WithScheduledOnOrAfter(Aws::Utils::DateTime&& value) { SetScheduledOnOrAfter(std::move(value)); return *this;}
192 
193 
199  inline const Aws::Utils::DateTime& GetScheduledBefore() const{ return m_scheduledBefore; }
200 
206  inline bool ScheduledBeforeHasBeenSet() const { return m_scheduledBeforeHasBeenSet; }
207 
213  inline void SetScheduledBefore(const Aws::Utils::DateTime& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = value; }
214 
220  inline void SetScheduledBefore(Aws::Utils::DateTime&& value) { m_scheduledBeforeHasBeenSet = true; m_scheduledBefore = std::move(value); }
221 
227  inline ListDatasetContentsRequest& WithScheduledBefore(const Aws::Utils::DateTime& value) { SetScheduledBefore(value); return *this;}
228 
234  inline ListDatasetContentsRequest& WithScheduledBefore(Aws::Utils::DateTime&& value) { SetScheduledBefore(std::move(value)); return *this;}
235 
236  private:
237 
238  Aws::String m_datasetName;
239  bool m_datasetNameHasBeenSet;
240 
241  Aws::String m_nextToken;
242  bool m_nextTokenHasBeenSet;
243 
244  int m_maxResults;
245  bool m_maxResultsHasBeenSet;
246 
247  Aws::Utils::DateTime m_scheduledOnOrAfter;
248  bool m_scheduledOnOrAfterHasBeenSet;
249 
250  Aws::Utils::DateTime m_scheduledBefore;
251  bool m_scheduledBeforeHasBeenSet;
252  };
253 
254 } // namespace Model
255 } // namespace IoTAnalytics
256 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithDatasetName
ListDatasetContentsRequest & WithDatasetName(const char *value)
Definition: ListDatasetContentsRequest.h:80
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDatasetContentsRequest.h:127
Aws::Http::URI
Definition: URI.h:32
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithDatasetName
ListDatasetContentsRequest & WithDatasetName(const Aws::String &value)
Definition: ListDatasetContentsRequest.h:70
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetContentsRequest.h:86
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetScheduledOnOrAfter
void SetScheduledOnOrAfter(Aws::Utils::DateTime &&value)
Definition: ListDatasetContentsRequest.h:175
DateTime.h
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetContentsRequest.h:106
AWS_IOTANALYTICS_API
#define AWS_IOTANALYTICS_API
Definition: IoTAnalytics_EXPORTS.h:28
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetScheduledBefore
void SetScheduledBefore(Aws::Utils::DateTime &&value)
Definition: ListDatasetContentsRequest.h:220
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetScheduledOnOrAfter
void SetScheduledOnOrAfter(const Aws::Utils::DateTime &value)
Definition: ListDatasetContentsRequest.h:167
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDatasetContentsRequest.h:35
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::ScheduledBeforeHasBeenSet
bool ScheduledBeforeHasBeenSet() const
Definition: ListDatasetContentsRequest.h:206
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::ListDatasetContentsRequest
ListDatasetContentsRequest()
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithScheduledBefore
ListDatasetContentsRequest & WithScheduledBefore(const Aws::Utils::DateTime &value)
Definition: ListDatasetContentsRequest.h:227
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithMaxResults
ListDatasetContentsRequest & WithMaxResults(int value)
Definition: ListDatasetContentsRequest.h:142
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithNextToken
ListDatasetContentsRequest & WithNextToken(const Aws::String &value)
Definition: ListDatasetContentsRequest.h:111
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithScheduledOnOrAfter
ListDatasetContentsRequest & WithScheduledOnOrAfter(Aws::Utils::DateTime &&value)
Definition: ListDatasetContentsRequest.h:191
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDatasetContentsRequest.h:137
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithScheduledOnOrAfter
ListDatasetContentsRequest & WithScheduledOnOrAfter(const Aws::Utils::DateTime &value)
Definition: ListDatasetContentsRequest.h:183
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetContentsRequest.h:101
Aws::IoTAnalytics::IoTAnalyticsRequest
Definition: IoTAnalyticsRequest.h:17
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::GetDatasetName
const Aws::String & GetDatasetName() const
Definition: ListDatasetContentsRequest.h:45
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::GetScheduledBefore
const Aws::Utils::DateTime & GetScheduledBefore() const
Definition: ListDatasetContentsRequest.h:199
IoTAnalyticsRequest.h
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithDatasetName
ListDatasetContentsRequest & WithDatasetName(Aws::String &&value)
Definition: ListDatasetContentsRequest.h:75
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetDatasetName
void SetDatasetName(const Aws::String &value)
Definition: ListDatasetContentsRequest.h:55
AWSString.h
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetScheduledBefore
void SetScheduledBefore(const Aws::Utils::DateTime &value)
Definition: ListDatasetContentsRequest.h:213
Aws::IoTAnalytics::Model::ListDatasetContentsRequest
Definition: ListDatasetContentsRequest.h:27
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDatasetContentsRequest.h:91
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetDatasetName
void SetDatasetName(const char *value)
Definition: ListDatasetContentsRequest.h:65
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithNextToken
ListDatasetContentsRequest & WithNextToken(const char *value)
Definition: ListDatasetContentsRequest.h:121
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::GetScheduledOnOrAfter
const Aws::Utils::DateTime & GetScheduledOnOrAfter() const
Definition: ListDatasetContentsRequest.h:151
Aws
Definition: AccessManagementClient.h:15
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::DatasetNameHasBeenSet
bool DatasetNameHasBeenSet() const
Definition: ListDatasetContentsRequest.h:50
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithNextToken
ListDatasetContentsRequest & WithNextToken(Aws::String &&value)
Definition: ListDatasetContentsRequest.h:116
IoTAnalytics_EXPORTS.h
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetDatasetName
void SetDatasetName(Aws::String &&value)
Definition: ListDatasetContentsRequest.h:60
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::ScheduledOnOrAfterHasBeenSet
bool ScheduledOnOrAfterHasBeenSet() const
Definition: ListDatasetContentsRequest.h:159
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDatasetContentsRequest.h:132
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::WithScheduledBefore
ListDatasetContentsRequest & WithScheduledBefore(Aws::Utils::DateTime &&value)
Definition: ListDatasetContentsRequest.h:234
Aws::IoTAnalytics::Model::ListDatasetContentsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetContentsRequest.h:96