AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListSigningJobsRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/signer/model/SigningStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace signer
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_SIGNER_API ListSigningJobsRequest() = 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 "ListSigningJobs"; }
37
38 AWS_SIGNER_API Aws::String SerializePayload() const override;
39
40 AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
47 inline SigningStatus GetStatus() const { return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(SigningStatus value) { m_statusHasBeenSet = true; m_status = value; }
50 inline ListSigningJobsRequest& WithStatus(SigningStatus value) { SetStatus(value); return *this;}
52
54
58 inline const Aws::String& GetPlatformId() const { return m_platformId; }
59 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
60 template<typename PlatformIdT = Aws::String>
61 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
62 template<typename PlatformIdT = Aws::String>
63 ListSigningJobsRequest& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
65
67
70 inline const Aws::String& GetRequestedBy() const { return m_requestedBy; }
71 inline bool RequestedByHasBeenSet() const { return m_requestedByHasBeenSet; }
72 template<typename RequestedByT = Aws::String>
73 void SetRequestedBy(RequestedByT&& value) { m_requestedByHasBeenSet = true; m_requestedBy = std::forward<RequestedByT>(value); }
74 template<typename RequestedByT = Aws::String>
75 ListSigningJobsRequest& WithRequestedBy(RequestedByT&& value) { SetRequestedBy(std::forward<RequestedByT>(value)); return *this;}
77
79
86 inline int GetMaxResults() const { return m_maxResults; }
87 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
88 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
89 inline ListSigningJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
91
93
99 inline const Aws::String& GetNextToken() const { return m_nextToken; }
100 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
101 template<typename NextTokenT = Aws::String>
102 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
103 template<typename NextTokenT = Aws::String>
104 ListSigningJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
106
108
111 inline bool GetIsRevoked() const { return m_isRevoked; }
112 inline bool IsRevokedHasBeenSet() const { return m_isRevokedHasBeenSet; }
113 inline void SetIsRevoked(bool value) { m_isRevokedHasBeenSet = true; m_isRevoked = value; }
114 inline ListSigningJobsRequest& WithIsRevoked(bool value) { SetIsRevoked(value); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetSignatureExpiresBefore() const { return m_signatureExpiresBefore; }
123 inline bool SignatureExpiresBeforeHasBeenSet() const { return m_signatureExpiresBeforeHasBeenSet; }
124 template<typename SignatureExpiresBeforeT = Aws::Utils::DateTime>
125 void SetSignatureExpiresBefore(SignatureExpiresBeforeT&& value) { m_signatureExpiresBeforeHasBeenSet = true; m_signatureExpiresBefore = std::forward<SignatureExpiresBeforeT>(value); }
126 template<typename SignatureExpiresBeforeT = Aws::Utils::DateTime>
127 ListSigningJobsRequest& WithSignatureExpiresBefore(SignatureExpiresBeforeT&& value) { SetSignatureExpiresBefore(std::forward<SignatureExpiresBeforeT>(value)); return *this;}
129
131
135 inline const Aws::Utils::DateTime& GetSignatureExpiresAfter() const { return m_signatureExpiresAfter; }
136 inline bool SignatureExpiresAfterHasBeenSet() const { return m_signatureExpiresAfterHasBeenSet; }
137 template<typename SignatureExpiresAfterT = Aws::Utils::DateTime>
138 void SetSignatureExpiresAfter(SignatureExpiresAfterT&& value) { m_signatureExpiresAfterHasBeenSet = true; m_signatureExpiresAfter = std::forward<SignatureExpiresAfterT>(value); }
139 template<typename SignatureExpiresAfterT = Aws::Utils::DateTime>
140 ListSigningJobsRequest& WithSignatureExpiresAfter(SignatureExpiresAfterT&& value) { SetSignatureExpiresAfter(std::forward<SignatureExpiresAfterT>(value)); return *this;}
142
144
148 inline const Aws::String& GetJobInvoker() const { return m_jobInvoker; }
149 inline bool JobInvokerHasBeenSet() const { return m_jobInvokerHasBeenSet; }
150 template<typename JobInvokerT = Aws::String>
151 void SetJobInvoker(JobInvokerT&& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = std::forward<JobInvokerT>(value); }
152 template<typename JobInvokerT = Aws::String>
153 ListSigningJobsRequest& WithJobInvoker(JobInvokerT&& value) { SetJobInvoker(std::forward<JobInvokerT>(value)); return *this;}
155 private:
156
158 bool m_statusHasBeenSet = false;
159
160 Aws::String m_platformId;
161 bool m_platformIdHasBeenSet = false;
162
163 Aws::String m_requestedBy;
164 bool m_requestedByHasBeenSet = false;
165
166 int m_maxResults{0};
167 bool m_maxResultsHasBeenSet = false;
168
169 Aws::String m_nextToken;
170 bool m_nextTokenHasBeenSet = false;
171
172 bool m_isRevoked{false};
173 bool m_isRevokedHasBeenSet = false;
174
175 Aws::Utils::DateTime m_signatureExpiresBefore{};
176 bool m_signatureExpiresBeforeHasBeenSet = false;
177
178 Aws::Utils::DateTime m_signatureExpiresAfter{};
179 bool m_signatureExpiresAfterHasBeenSet = false;
180
181 Aws::String m_jobInvoker;
182 bool m_jobInvokerHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace signer
187} // namespace Aws
ListSigningJobsRequest & WithStatus(SigningStatus value)
virtual const char * GetServiceRequestName() const override
void SetSignatureExpiresAfter(SignatureExpiresAfterT &&value)
AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSigningJobsRequest & WithMaxResults(int value)
ListSigningJobsRequest & WithJobInvoker(JobInvokerT &&value)
ListSigningJobsRequest & WithRequestedBy(RequestedByT &&value)
ListSigningJobsRequest & WithNextToken(NextTokenT &&value)
ListSigningJobsRequest & WithPlatformId(PlatformIdT &&value)
const Aws::Utils::DateTime & GetSignatureExpiresAfter() const
AWS_SIGNER_API ListSigningJobsRequest()=default
ListSigningJobsRequest & WithSignatureExpiresBefore(SignatureExpiresBeforeT &&value)
AWS_SIGNER_API Aws::String SerializePayload() const override
ListSigningJobsRequest & WithIsRevoked(bool value)
void SetSignatureExpiresBefore(SignatureExpiresBeforeT &&value)
ListSigningJobsRequest & WithSignatureExpiresAfter(SignatureExpiresAfterT &&value)
const Aws::Utils::DateTime & GetSignatureExpiresBefore() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String