/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The job execution summary for a thing.See Also:
AWS
* API Reference
The unique identifier you assigned to this job when it was created.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The unique identifier you assigned to this job when it was created.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The unique identifier you assigned to this job when it was created.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The unique identifier you assigned to this job when it was created.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The unique identifier you assigned to this job when it was created.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The unique identifier you assigned to this job when it was created.
*/ inline JobExecutionSummaryForThing& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The unique identifier you assigned to this job when it was created.
*/ inline JobExecutionSummaryForThing& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The unique identifier you assigned to this job when it was created.
*/ inline JobExecutionSummaryForThing& WithJobId(const char* value) { SetJobId(value); return *this;} /** *Contains a subset of information about a job execution.
*/ inline const JobExecutionSummary& GetJobExecutionSummary() const{ return m_jobExecutionSummary; } /** *Contains a subset of information about a job execution.
*/ inline bool JobExecutionSummaryHasBeenSet() const { return m_jobExecutionSummaryHasBeenSet; } /** *Contains a subset of information about a job execution.
*/ inline void SetJobExecutionSummary(const JobExecutionSummary& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = value; } /** *Contains a subset of information about a job execution.
*/ inline void SetJobExecutionSummary(JobExecutionSummary&& value) { m_jobExecutionSummaryHasBeenSet = true; m_jobExecutionSummary = std::move(value); } /** *Contains a subset of information about a job execution.
*/ inline JobExecutionSummaryForThing& WithJobExecutionSummary(const JobExecutionSummary& value) { SetJobExecutionSummary(value); return *this;} /** *Contains a subset of information about a job execution.
*/ inline JobExecutionSummaryForThing& WithJobExecutionSummary(JobExecutionSummary&& value) { SetJobExecutionSummary(std::move(value)); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; JobExecutionSummary m_jobExecutionSummary; bool m_jobExecutionSummaryHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws