AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListJobsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dataexchange/DataExchangeRequest.h>
9#include <aws/dataexchange/DataExchange_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace DataExchange {
18namespace Model {
19
23 public:
24 AWS_DATAEXCHANGE_API ListJobsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListJobs"; }
31
32 AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override;
33
34 AWS_DATAEXCHANGE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetDataSetId() const { return m_dataSetId; }
41 inline bool DataSetIdHasBeenSet() const { return m_dataSetIdHasBeenSet; }
42 template <typename DataSetIdT = Aws::String>
43 void SetDataSetId(DataSetIdT&& value) {
44 m_dataSetIdHasBeenSet = true;
45 m_dataSetId = std::forward<DataSetIdT>(value);
46 }
47 template <typename DataSetIdT = Aws::String>
48 ListJobsRequest& WithDataSetId(DataSetIdT&& value) {
49 SetDataSetId(std::forward<DataSetIdT>(value));
50 return *this;
51 }
53
55
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) {
61 m_maxResultsHasBeenSet = true;
62 m_maxResults = value;
63 }
64 inline ListJobsRequest& WithMaxResults(int value) {
65 SetMaxResults(value);
66 return *this;
67 }
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template <typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) {
79 m_nextTokenHasBeenSet = true;
80 m_nextToken = std::forward<NextTokenT>(value);
81 }
82 template <typename NextTokenT = Aws::String>
83 ListJobsRequest& WithNextToken(NextTokenT&& value) {
84 SetNextToken(std::forward<NextTokenT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
94 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
95 template <typename RevisionIdT = Aws::String>
96 void SetRevisionId(RevisionIdT&& value) {
97 m_revisionIdHasBeenSet = true;
98 m_revisionId = std::forward<RevisionIdT>(value);
99 }
100 template <typename RevisionIdT = Aws::String>
101 ListJobsRequest& WithRevisionId(RevisionIdT&& value) {
102 SetRevisionId(std::forward<RevisionIdT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_dataSetId;
108
109 int m_maxResults{0};
110
111 Aws::String m_nextToken;
112
113 Aws::String m_revisionId;
114 bool m_dataSetIdHasBeenSet = false;
115 bool m_maxResultsHasBeenSet = false;
116 bool m_nextTokenHasBeenSet = false;
117 bool m_revisionIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace DataExchange
122} // namespace Aws
ListJobsRequest & WithDataSetId(DataSetIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAEXCHANGE_API ListJobsRequest()=default
const Aws::String & GetNextToken() const
const Aws::String & GetRevisionId() const
AWS_DATAEXCHANGE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListJobsRequest & WithRevisionId(RevisionIdT &&value)
ListJobsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetDataSetId() const
ListJobsRequest & WithMaxResults(int value)
AWS_DATAEXCHANGE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String