/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents information about a job.See Also:
AWS
* API Reference
The unique system-generated ID of the job.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique system-generated ID of the job.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique system-generated ID of the job.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique system-generated ID of the job.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique system-generated ID of the job.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique system-generated ID of the job.
*/ inline Job& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique system-generated ID of the job.
*/ inline Job& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique system-generated ID of the job.
*/ inline Job& WithId(const char* value) { SetId(value); return *this;} /** *Other data about a job.
*/ inline const JobData& GetData() const{ return m_data; } /** *Other data about a job.
*/ inline bool DataHasBeenSet() const { return m_dataHasBeenSet; } /** *Other data about a job.
*/ inline void SetData(const JobData& value) { m_dataHasBeenSet = true; m_data = value; } /** *Other data about a job.
*/ inline void SetData(JobData&& value) { m_dataHasBeenSet = true; m_data = std::move(value); } /** *Other data about a job.
*/ inline Job& WithData(const JobData& value) { SetData(value); return *this;} /** *Other data about a job.
*/ inline Job& WithData(JobData&& 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 * AcknowledgeJob 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 * AcknowledgeJob 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 * AcknowledgeJob 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 * AcknowledgeJob 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 * AcknowledgeJob 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 * AcknowledgeJob request.
*/ inline Job& 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 * AcknowledgeJob request.
*/ inline Job& 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 * AcknowledgeJob request.
*/ inline Job& WithNonce(const char* value) { SetNonce(value); return *this;} /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline const Aws::String& GetAccountId() const{ return m_accountId; } /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; } /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; } /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); } /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); } /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline Job& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;} /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline Job& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;} /** *The ID of the Amazon Web Services account to use when performing the job.
*/ inline Job& WithAccountId(const char* value) { SetAccountId(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; JobData m_data; bool m_dataHasBeenSet = false; Aws::String m_nonce; bool m_nonceHasBeenSet = false; Aws::String m_accountId; bool m_accountIdHasBeenSet = false; }; } // namespace Model } // namespace CodePipeline } // namespace Aws