/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace signer { namespace Model { /** */ class ListSigningJobsRequest : public SignerRequest { public: AWS_SIGNER_API ListSigningJobsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListSigningJobs"; } AWS_SIGNER_API Aws::String SerializePayload() const override; AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

A status value with which to filter your results.

*/ inline const SigningStatus& GetStatus() const{ return m_status; } /** *

A status value with which to filter your results.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

A status value with which to filter your results.

*/ inline void SetStatus(const SigningStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

A status value with which to filter your results.

*/ inline void SetStatus(SigningStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

A status value with which to filter your results.

*/ inline ListSigningJobsRequest& WithStatus(const SigningStatus& value) { SetStatus(value); return *this;} /** *

A status value with which to filter your results.

*/ inline ListSigningJobsRequest& WithStatus(SigningStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline const Aws::String& GetPlatformId() const{ return m_platformId; } /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; } /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; } /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); } /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); } /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline ListSigningJobsRequest& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;} /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline ListSigningJobsRequest& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;} /** *

The ID of microcontroller platform that you specified for the distribution of * your code image.

*/ inline ListSigningJobsRequest& WithPlatformId(const char* value) { SetPlatformId(value); return *this;} /** *

The IAM principal that requested the signing job.

*/ inline const Aws::String& GetRequestedBy() const{ return m_requestedBy; } /** *

The IAM principal that requested the signing job.

*/ inline bool RequestedByHasBeenSet() const { return m_requestedByHasBeenSet; } /** *

The IAM principal that requested the signing job.

*/ inline void SetRequestedBy(const Aws::String& value) { m_requestedByHasBeenSet = true; m_requestedBy = value; } /** *

The IAM principal that requested the signing job.

*/ inline void SetRequestedBy(Aws::String&& value) { m_requestedByHasBeenSet = true; m_requestedBy = std::move(value); } /** *

The IAM principal that requested the signing job.

*/ inline void SetRequestedBy(const char* value) { m_requestedByHasBeenSet = true; m_requestedBy.assign(value); } /** *

The IAM principal that requested the signing job.

*/ inline ListSigningJobsRequest& WithRequestedBy(const Aws::String& value) { SetRequestedBy(value); return *this;} /** *

The IAM principal that requested the signing job.

*/ inline ListSigningJobsRequest& WithRequestedBy(Aws::String&& value) { SetRequestedBy(std::move(value)); return *this;} /** *

The IAM principal that requested the signing job.

*/ inline ListSigningJobsRequest& WithRequestedBy(const char* value) { SetRequestedBy(value); return *this;} /** *

Specifies the maximum number of items to return in the response. Use this * parameter when paginating results. If additional items exist beyond the number * you specify, the nextToken element is set in the response. Use the * nextToken value in a subsequent request to retrieve additional * items.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Specifies the maximum number of items to return in the response. Use this * parameter when paginating results. If additional items exist beyond the number * you specify, the nextToken element is set in the response. Use the * nextToken value in a subsequent request to retrieve additional * items.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Specifies the maximum number of items to return in the response. Use this * parameter when paginating results. If additional items exist beyond the number * you specify, the nextToken element is set in the response. Use the * nextToken value in a subsequent request to retrieve additional * items.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Specifies the maximum number of items to return in the response. Use this * parameter when paginating results. If additional items exist beyond the number * you specify, the nextToken element is set in the response. Use the * nextToken value in a subsequent request to retrieve additional * items.

*/ inline ListSigningJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline ListSigningJobsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline ListSigningJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

String for specifying the next set of paginated results to return. After you * receive a response with truncated results, use this parameter in a subsequent * request. Set it to the value of nextToken from the response that * you just received.

*/ inline ListSigningJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Filters results to return only signing jobs with revoked signatures.

*/ inline bool GetIsRevoked() const{ return m_isRevoked; } /** *

Filters results to return only signing jobs with revoked signatures.

*/ inline bool IsRevokedHasBeenSet() const { return m_isRevokedHasBeenSet; } /** *

Filters results to return only signing jobs with revoked signatures.

*/ inline void SetIsRevoked(bool value) { m_isRevokedHasBeenSet = true; m_isRevoked = value; } /** *

Filters results to return only signing jobs with revoked signatures.

*/ inline ListSigningJobsRequest& WithIsRevoked(bool value) { SetIsRevoked(value); return *this;} /** *

Filters results to return only signing jobs with signatures expiring before a * specified timestamp.

*/ inline const Aws::Utils::DateTime& GetSignatureExpiresBefore() const{ return m_signatureExpiresBefore; } /** *

Filters results to return only signing jobs with signatures expiring before a * specified timestamp.

*/ inline bool SignatureExpiresBeforeHasBeenSet() const { return m_signatureExpiresBeforeHasBeenSet; } /** *

Filters results to return only signing jobs with signatures expiring before a * specified timestamp.

*/ inline void SetSignatureExpiresBefore(const Aws::Utils::DateTime& value) { m_signatureExpiresBeforeHasBeenSet = true; m_signatureExpiresBefore = value; } /** *

Filters results to return only signing jobs with signatures expiring before a * specified timestamp.

*/ inline void SetSignatureExpiresBefore(Aws::Utils::DateTime&& value) { m_signatureExpiresBeforeHasBeenSet = true; m_signatureExpiresBefore = std::move(value); } /** *

Filters results to return only signing jobs with signatures expiring before a * specified timestamp.

*/ inline ListSigningJobsRequest& WithSignatureExpiresBefore(const Aws::Utils::DateTime& value) { SetSignatureExpiresBefore(value); return *this;} /** *

Filters results to return only signing jobs with signatures expiring before a * specified timestamp.

*/ inline ListSigningJobsRequest& WithSignatureExpiresBefore(Aws::Utils::DateTime&& value) { SetSignatureExpiresBefore(std::move(value)); return *this;} /** *

Filters results to return only signing jobs with signatures expiring after a * specified timestamp.

*/ inline const Aws::Utils::DateTime& GetSignatureExpiresAfter() const{ return m_signatureExpiresAfter; } /** *

Filters results to return only signing jobs with signatures expiring after a * specified timestamp.

*/ inline bool SignatureExpiresAfterHasBeenSet() const { return m_signatureExpiresAfterHasBeenSet; } /** *

Filters results to return only signing jobs with signatures expiring after a * specified timestamp.

*/ inline void SetSignatureExpiresAfter(const Aws::Utils::DateTime& value) { m_signatureExpiresAfterHasBeenSet = true; m_signatureExpiresAfter = value; } /** *

Filters results to return only signing jobs with signatures expiring after a * specified timestamp.

*/ inline void SetSignatureExpiresAfter(Aws::Utils::DateTime&& value) { m_signatureExpiresAfterHasBeenSet = true; m_signatureExpiresAfter = std::move(value); } /** *

Filters results to return only signing jobs with signatures expiring after a * specified timestamp.

*/ inline ListSigningJobsRequest& WithSignatureExpiresAfter(const Aws::Utils::DateTime& value) { SetSignatureExpiresAfter(value); return *this;} /** *

Filters results to return only signing jobs with signatures expiring after a * specified timestamp.

*/ inline ListSigningJobsRequest& WithSignatureExpiresAfter(Aws::Utils::DateTime&& value) { SetSignatureExpiresAfter(std::move(value)); return *this;} /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline const Aws::String& GetJobInvoker() const{ return m_jobInvoker; } /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline bool JobInvokerHasBeenSet() const { return m_jobInvokerHasBeenSet; } /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline void SetJobInvoker(const Aws::String& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = value; } /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline void SetJobInvoker(Aws::String&& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = std::move(value); } /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline void SetJobInvoker(const char* value) { m_jobInvokerHasBeenSet = true; m_jobInvoker.assign(value); } /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline ListSigningJobsRequest& WithJobInvoker(const Aws::String& value) { SetJobInvoker(value); return *this;} /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline ListSigningJobsRequest& WithJobInvoker(Aws::String&& value) { SetJobInvoker(std::move(value)); return *this;} /** *

Filters results to return only signing jobs initiated by a specified IAM * entity.

*/ inline ListSigningJobsRequest& WithJobInvoker(const char* value) { SetJobInvoker(value); return *this;} private: SigningStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_platformId; bool m_platformIdHasBeenSet = false; Aws::String m_requestedBy; bool m_requestedByHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; bool m_isRevoked; bool m_isRevokedHasBeenSet = false; Aws::Utils::DateTime m_signatureExpiresBefore; bool m_signatureExpiresBeforeHasBeenSet = false; Aws::Utils::DateTime m_signatureExpiresAfter; bool m_signatureExpiresAfterHasBeenSet = false; Aws::String m_jobInvoker; bool m_jobInvokerHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws