This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-codepipeline/include/aws/codepipeline/model/PutThirdPartyJobSuccessResultRequest.h

302 lines
14 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/codepipeline/CodePipeline_EXPORTS.h>
#include <aws/codepipeline/CodePipelineRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/codepipeline/model/CurrentRevision.h>
#include <aws/codepipeline/model/ExecutionDetails.h>
#include <utility>
namespace Aws
{
namespace CodePipeline
{
namespace Model
{
/**
* <p>Represents the input of a <code>PutThirdPartyJobSuccessResult</code>
* action.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/codepipeline-2015-07-09/PutThirdPartyJobSuccessResultInput">AWS
* API Reference</a></p>
*/
class AWS_CODEPIPELINE_API PutThirdPartyJobSuccessResultRequest : public CodePipelineRequest
{
public:
PutThirdPartyJobSuccessResultRequest();
// 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 "PutThirdPartyJobSuccessResult"; }
Aws::String SerializePayload() const override;
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline const Aws::String& GetJobId() const{ return m_jobId; }
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
/**
* <p>The ID of the job that successfully completed. This is the same ID returned
* from <code>PollForThirdPartyJobs</code>.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithJobId(const char* value) { SetJobId(value); return *this;}
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline const Aws::String& GetClientToken() const{ return m_clientToken; }
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
/**
* <p>The clientToken portion of the clientId and clientToken pair used to verify
* that the calling entity is allowed access to the job and its details.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
/**
* <p>Represents information about a current revision.</p>
*/
inline const CurrentRevision& GetCurrentRevision() const{ return m_currentRevision; }
/**
* <p>Represents information about a current revision.</p>
*/
inline bool CurrentRevisionHasBeenSet() const { return m_currentRevisionHasBeenSet; }
/**
* <p>Represents information about a current revision.</p>
*/
inline void SetCurrentRevision(const CurrentRevision& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = value; }
/**
* <p>Represents information about a current revision.</p>
*/
inline void SetCurrentRevision(CurrentRevision&& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = std::move(value); }
/**
* <p>Represents information about a current revision.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithCurrentRevision(const CurrentRevision& value) { SetCurrentRevision(value); return *this;}
/**
* <p>Represents information about a current revision.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithCurrentRevision(CurrentRevision&& value) { SetCurrentRevision(std::move(value)); return *this;}
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; }
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; }
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; }
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); }
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); }
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;}
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;}
/**
* <p>A token generated by a job worker, such as an AWS CodeDeploy deployment ID,
* that a successful job provides to identify a partner action in progress. Future
* jobs use this token to identify the running instance of the action. It can be
* reused to return more information about the progress of the partner action. When
* the action is complete, no continuation token should be supplied.</p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;}
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline. </p>
*/
inline const ExecutionDetails& GetExecutionDetails() const{ return m_executionDetails; }
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline. </p>
*/
inline bool ExecutionDetailsHasBeenSet() const { return m_executionDetailsHasBeenSet; }
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline. </p>
*/
inline void SetExecutionDetails(const ExecutionDetails& value) { m_executionDetailsHasBeenSet = true; m_executionDetails = value; }
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline. </p>
*/
inline void SetExecutionDetails(ExecutionDetails&& value) { m_executionDetailsHasBeenSet = true; m_executionDetails = std::move(value); }
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline. </p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithExecutionDetails(const ExecutionDetails& value) { SetExecutionDetails(value); return *this;}
/**
* <p>The details of the actions taken and results produced on an artifact as it
* passes through stages in the pipeline. </p>
*/
inline PutThirdPartyJobSuccessResultRequest& WithExecutionDetails(ExecutionDetails&& value) { SetExecutionDetails(std::move(value)); return *this;}
private:
Aws::String m_jobId;
bool m_jobIdHasBeenSet;
Aws::String m_clientToken;
bool m_clientTokenHasBeenSet;
CurrentRevision m_currentRevision;
bool m_currentRevisionHasBeenSet;
Aws::String m_continuationToken;
bool m_continuationTokenHasBeenSet;
ExecutionDetails m_executionDetails;
bool m_executionDetailsHasBeenSet;
};
} // namespace Model
} // namespace CodePipeline
} // namespace Aws