/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CodePipeline { namespace Model { /** *

Represents the output of a GetJobDetails action.

See * Also:

AWS * API Reference

*/ class AWS_CODEPIPELINE_API GetJobDetailsResult { public: GetJobDetailsResult(); GetJobDetailsResult(const Aws::AmazonWebServiceResult& result); GetJobDetailsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The details of the job.

If AWSSessionCredentials is used, a * long-running job can call GetJobDetails again to obtain new * credentials.

*/ inline const JobDetails& GetJobDetails() const{ return m_jobDetails; } /** *

The details of the job.

If AWSSessionCredentials is used, a * long-running job can call GetJobDetails again to obtain new * credentials.

*/ inline void SetJobDetails(const JobDetails& value) { m_jobDetails = value; } /** *

The details of the job.

If AWSSessionCredentials is used, a * long-running job can call GetJobDetails again to obtain new * credentials.

*/ inline void SetJobDetails(JobDetails&& value) { m_jobDetails = std::move(value); } /** *

The details of the job.

If AWSSessionCredentials is used, a * long-running job can call GetJobDetails again to obtain new * credentials.

*/ inline GetJobDetailsResult& WithJobDetails(const JobDetails& value) { SetJobDetails(value); return *this;} /** *

The details of the job.

If AWSSessionCredentials is used, a * long-running job can call GetJobDetails again to obtain new * credentials.

*/ inline GetJobDetailsResult& WithJobDetails(JobDetails&& value) { SetJobDetails(std::move(value)); return *this;} private: JobDetails m_jobDetails; }; } // namespace Model } // namespace CodePipeline } // namespace Aws