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

The result structure for the run job request.

See Also:

AWS * API Reference

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

The summary for the job.

*/ inline const JobSummary& GetJobSummary() const{ return m_jobSummary; } /** *

The summary for the job.

*/ inline void SetJobSummary(const JobSummary& value) { m_jobSummary = value; } /** *

The summary for the job.

*/ inline void SetJobSummary(JobSummary&& value) { m_jobSummary = std::move(value); } /** *

The summary for the job.

*/ inline StartJobResult& WithJobSummary(const JobSummary& value) { SetJobSummary(value); return *this;} /** *

The summary for the job.

*/ inline StartJobResult& WithJobSummary(JobSummary&& value) { SetJobSummary(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: JobSummary m_jobSummary; Aws::String m_requestId; }; } // namespace Model } // namespace Amplify } // namespace Aws