/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a job sent in response to a
* GetThirdPartyJobDetails
request.See Also:
AWS
* API Reference
The identifier used to identify the job details in CodePipeline.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier used to identify the job details in CodePipeline.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier used to identify the job details in CodePipeline.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier used to identify the job details in CodePipeline.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier used to identify the job details in CodePipeline.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier used to identify the job details in CodePipeline.
*/ inline ThirdPartyJobDetails& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier used to identify the job details in CodePipeline.
*/ inline ThirdPartyJobDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier used to identify the job details in CodePipeline.
*/ inline ThirdPartyJobDetails& WithId(const char* value) { SetId(value); return *this;} /** *The data to be returned by the third party job worker.
*/ inline const ThirdPartyJobData& GetData() const{ return m_data; } /** *The data to be returned by the third party job worker.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *The data to be returned by the third party job worker.
*/ inline void SetData(const ThirdPartyJobData& value) { m_dataHasBeenSet = true; m_data = value; } /** *The data to be returned by the third party job worker.
*/ inline void SetData(ThirdPartyJobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *The data to be returned by the third party job worker.
*/ inline ThirdPartyJobDetails& WithData(const ThirdPartyJobData& value) { SetData(value); return *this;} /** *The data to be returned by the third party job worker.
*/ inline ThirdPartyJobDetails& WithData(ThirdPartyJobData&& value) { SetData(std::move(value)); return *this;} /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline const Aws::String& GetNonce() const{ return m_nonce; } /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline bool NonceHasBeenSet() const { return m_nonceHasBeenSet; } /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline void SetNonce(const Aws::String& value) { m_nonceHasBeenSet = true; m_nonce = value; } /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline void SetNonce(Aws::String&& value) { m_nonceHasBeenSet = true; m_nonce = std::move(value); } /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline void SetNonce(const char* value) { m_nonceHasBeenSet = true; m_nonce.assign(value); } /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline ThirdPartyJobDetails& WithNonce(const Aws::String& value) { SetNonce(value); return *this;} /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline ThirdPartyJobDetails& WithNonce(Aws::String&& value) { SetNonce(std::move(value)); return *this;} /** *A system-generated random number that CodePipeline uses to ensure that the * job is being worked on by only one job worker. Use this number in an * AcknowledgeThirdPartyJob request.
*/ inline ThirdPartyJobDetails& WithNonce(const char* value) { SetNonce(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; ThirdPartyJobData m_data; bool m_dataHasBeenSet = false; Aws::String m_nonce; bool m_nonceHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws