/** * 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 ListSigningProfilesRequest : public SignerRequest { public: AWS_SIGNER_API ListSigningProfilesRequest(); // 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 "ListSigningProfiles"; } AWS_SIGNER_API Aws::String SerializePayload() const override; AWS_SIGNER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Designates whether to include profiles with the status of * CANCELED.

*/ inline bool GetIncludeCanceled() const{ return m_includeCanceled; } /** *

Designates whether to include profiles with the status of * CANCELED.

*/ inline bool IncludeCanceledHasBeenSet() const { return m_includeCanceledHasBeenSet; } /** *

Designates whether to include profiles with the status of * CANCELED.

*/ inline void SetIncludeCanceled(bool value) { m_includeCanceledHasBeenSet = true; m_includeCanceled = value; } /** *

Designates whether to include profiles with the status of * CANCELED.

*/ inline ListSigningProfilesRequest& WithIncludeCanceled(bool value) { SetIncludeCanceled(value); return *this;} /** *

The maximum number of profiles to be returned.

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

The maximum number of profiles to be returned.

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

The maximum number of profiles to be returned.

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

The maximum number of profiles to be returned.

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

Value 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; } /** *

Value 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; } /** *

Value 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; } /** *

Value 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); } /** *

Value 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); } /** *

Value 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 ListSigningProfilesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Value 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 ListSigningProfilesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Value 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 ListSigningProfilesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs initiated for a specified signing * platform.

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

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline const Aws::Vector& GetStatuses() const{ return m_statuses; } /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline bool StatusesHasBeenSet() const { return m_statusesHasBeenSet; } /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline void SetStatuses(const Aws::Vector& value) { m_statusesHasBeenSet = true; m_statuses = value; } /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline void SetStatuses(Aws::Vector&& value) { m_statusesHasBeenSet = true; m_statuses = std::move(value); } /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline ListSigningProfilesRequest& WithStatuses(const Aws::Vector& value) { SetStatuses(value); return *this;} /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline ListSigningProfilesRequest& WithStatuses(Aws::Vector&& value) { SetStatuses(std::move(value)); return *this;} /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline ListSigningProfilesRequest& AddStatuses(const SigningProfileStatus& value) { m_statusesHasBeenSet = true; m_statuses.push_back(value); return *this; } /** *

Filters results to return only signing jobs with statuses in the specified * list.

*/ inline ListSigningProfilesRequest& AddStatuses(SigningProfileStatus&& value) { m_statusesHasBeenSet = true; m_statuses.push_back(std::move(value)); return *this; } private: bool m_includeCanceled; bool m_includeCanceledHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_platformId; bool m_platformIdHasBeenSet = false; Aws::Vector m_statuses; bool m_statusesHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws