/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a PutThirdPartyJobSuccessResult
* action.See Also:
AWS
* API Reference
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
The ID of the job that successfully completed. This is the same ID returned
* from PollForThirdPartyJobs
.
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.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *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.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *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.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *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.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *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.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *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.
*/ inline PutThirdPartyJobSuccessResultRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *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.
*/ inline PutThirdPartyJobSuccessResultRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *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.
*/ inline PutThirdPartyJobSuccessResultRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *Represents information about a current revision.
*/ inline const CurrentRevision& GetCurrentRevision() const{ return m_currentRevision; } /** *Represents information about a current revision.
*/ inline bool CurrentRevisionHasBeenSet() const { return m_currentRevisionHasBeenSet; } /** *Represents information about a current revision.
*/ inline void SetCurrentRevision(const CurrentRevision& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = value; } /** *Represents information about a current revision.
*/ inline void SetCurrentRevision(CurrentRevision&& value) { m_currentRevisionHasBeenSet = true; m_currentRevision = std::move(value); } /** *Represents information about a current revision.
*/ inline PutThirdPartyJobSuccessResultRequest& WithCurrentRevision(const CurrentRevision& value) { SetCurrentRevision(value); return *this;} /** *Represents information about a current revision.
*/ inline PutThirdPartyJobSuccessResultRequest& WithCurrentRevision(CurrentRevision&& value) { SetCurrentRevision(std::move(value)); return *this;} /** *A token generated by a job worker, such as a 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.
*/ inline const Aws::String& GetContinuationToken() const{ return m_continuationToken; } /** *A token generated by a job worker, such as a 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.
*/ inline bool ContinuationTokenHasBeenSet() const { return m_continuationTokenHasBeenSet; } /** *A token generated by a job worker, such as a 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.
*/ inline void SetContinuationToken(const Aws::String& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = value; } /** *A token generated by a job worker, such as a 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.
*/ inline void SetContinuationToken(Aws::String&& value) { m_continuationTokenHasBeenSet = true; m_continuationToken = std::move(value); } /** *A token generated by a job worker, such as a 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.
*/ inline void SetContinuationToken(const char* value) { m_continuationTokenHasBeenSet = true; m_continuationToken.assign(value); } /** *A token generated by a job worker, such as a 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.
*/ inline PutThirdPartyJobSuccessResultRequest& WithContinuationToken(const Aws::String& value) { SetContinuationToken(value); return *this;} /** *A token generated by a job worker, such as a 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.
*/ inline PutThirdPartyJobSuccessResultRequest& WithContinuationToken(Aws::String&& value) { SetContinuationToken(std::move(value)); return *this;} /** *A token generated by a job worker, such as a 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.
*/ inline PutThirdPartyJobSuccessResultRequest& WithContinuationToken(const char* value) { SetContinuationToken(value); return *this;} /** *The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.
*/ inline const ExecutionDetails& GetExecutionDetails() const{ return m_executionDetails; } /** *The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.
*/ inline bool ExecutionDetailsHasBeenSet() const { return m_executionDetailsHasBeenSet; } /** *The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.
*/ inline void SetExecutionDetails(const ExecutionDetails& value) { m_executionDetailsHasBeenSet = true; m_executionDetails = value; } /** *The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.
*/ inline void SetExecutionDetails(ExecutionDetails&& value) { m_executionDetailsHasBeenSet = true; m_executionDetails = std::move(value); } /** *The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.
*/ inline PutThirdPartyJobSuccessResultRequest& WithExecutionDetails(const ExecutionDetails& value) { SetExecutionDetails(value); return *this;} /** *The details of the actions taken and results produced on an artifact as it * passes through stages in the pipeline.
*/ inline PutThirdPartyJobSuccessResultRequest& WithExecutionDetails(ExecutionDetails&& value) { SetExecutionDetails(std::move(value)); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; CurrentRevision m_currentRevision; bool m_currentRevisionHasBeenSet = false; Aws::String m_continuationToken; bool m_continuationTokenHasBeenSet = false; ExecutionDetails m_executionDetails; bool m_executionDetailsHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws