AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListJobRunsRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/SortOrder.h>
11#include <aws/datazone/model/JobRunStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace DataZone
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_DATAZONE_API ListJobRunsRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListJobRuns"; }
37
38 AWS_DATAZONE_API Aws::String SerializePayload() const override;
39
40 AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
48 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
49 template<typename DomainIdentifierT = Aws::String>
50 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
51 template<typename DomainIdentifierT = Aws::String>
52 ListJobRunsRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
54
56
59 inline const Aws::String& GetJobIdentifier() const { return m_jobIdentifier; }
60 inline bool JobIdentifierHasBeenSet() const { return m_jobIdentifierHasBeenSet; }
61 template<typename JobIdentifierT = Aws::String>
62 void SetJobIdentifier(JobIdentifierT&& value) { m_jobIdentifierHasBeenSet = true; m_jobIdentifier = std::forward<JobIdentifierT>(value); }
63 template<typename JobIdentifierT = Aws::String>
64 ListJobRunsRequest& WithJobIdentifier(JobIdentifierT&& value) { SetJobIdentifier(std::forward<JobIdentifierT>(value)); return *this;}
66
68
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 ListJobRunsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79
81
88 inline const Aws::String& GetNextToken() const { return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 template<typename NextTokenT = Aws::String>
91 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
92 template<typename NextTokenT = Aws::String>
93 ListJobRunsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
95
97
100 inline SortOrder GetSortOrder() const { return m_sortOrder; }
101 inline bool SortOrderHasBeenSet() const { return m_sortOrderHasBeenSet; }
102 inline void SetSortOrder(SortOrder value) { m_sortOrderHasBeenSet = true; m_sortOrder = value; }
103 inline ListJobRunsRequest& WithSortOrder(SortOrder value) { SetSortOrder(value); return *this;}
105
107
110 inline JobRunStatus GetStatus() const { return m_status; }
111 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
112 inline void SetStatus(JobRunStatus value) { m_statusHasBeenSet = true; m_status = value; }
113 inline ListJobRunsRequest& WithStatus(JobRunStatus value) { SetStatus(value); return *this;}
115 private:
116
117 Aws::String m_domainIdentifier;
118 bool m_domainIdentifierHasBeenSet = false;
119
120 Aws::String m_jobIdentifier;
121 bool m_jobIdentifierHasBeenSet = false;
122
123 int m_maxResults{0};
124 bool m_maxResultsHasBeenSet = false;
125
126 Aws::String m_nextToken;
127 bool m_nextTokenHasBeenSet = false;
128
129 SortOrder m_sortOrder{SortOrder::NOT_SET};
130 bool m_sortOrderHasBeenSet = false;
131
133 bool m_statusHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace DataZone
138} // namespace Aws
const Aws::String & GetDomainIdentifier() const
ListJobRunsRequest & WithMaxResults(int value)
ListJobRunsRequest & WithJobIdentifier(JobIdentifierT &&value)
ListJobRunsRequest & WithStatus(JobRunStatus value)
const Aws::String & GetJobIdentifier() const
AWS_DATAZONE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListJobRunsRequest & WithNextToken(NextTokenT &&value)
void SetJobIdentifier(JobIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
ListJobRunsRequest & WithSortOrder(SortOrder value)
void SetDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API ListJobRunsRequest()=default
ListJobRunsRequest & WithDomainIdentifier(DomainIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String