/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CodePipeline { namespace Model { /** *

Represents the input of a ListPipelineExecutions * action.

See Also:

AWS * API Reference

*/ class ListPipelineExecutionsRequest : public CodePipelineRequest { public: AWS_CODEPIPELINE_API ListPipelineExecutionsRequest(); // 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 "ListPipelineExecutions"; } AWS_CODEPIPELINE_API Aws::String SerializePayload() const override; AWS_CODEPIPELINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; } /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; } /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); } /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); } /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline ListPipelineExecutionsRequest& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline ListPipelineExecutionsRequest& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *

The name of the pipeline for which you want to get execution summary * information.

*/ inline ListPipelineExecutionsRequest& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned nextToken value. Pipeline * history is limited to the most recent 12 months, based on pipeline execution * start times. Default value is 100.

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

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned nextToken value. Pipeline * history is limited to the most recent 12 months, based on pipeline execution * start times. Default value is 100.

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

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned nextToken value. Pipeline * history is limited to the most recent 12 months, based on pipeline execution * start times. Default value is 100.

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

The maximum number of results to return in a single call. To retrieve the * remaining results, make another call with the returned nextToken value. Pipeline * history is limited to the most recent 12 months, based on pipeline execution * start times. Default value is 100.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

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

The token that was returned from the previous * ListPipelineExecutions call, which can be used to return the next * set of pipeline executions in the list.

*/ inline ListPipelineExecutionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws