/** * 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 Batch { namespace Model { class AWS_BATCH_API SubmitJobResult { public: SubmitJobResult(); SubmitJobResult(const Aws::AmazonWebServiceResult& result); SubmitJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the job.

*/ inline void SetJobName(const Aws::String& value) { m_jobName = value; } /** *

The name of the job.

*/ inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); } /** *

The name of the job.

*/ inline void SetJobName(const char* value) { m_jobName.assign(value); } /** *

The name of the job.

*/ inline SubmitJobResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the job.

*/ inline SubmitJobResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the job.

*/ inline SubmitJobResult& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The unique identifier for the job.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The unique identifier for the job.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The unique identifier for the job.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The unique identifier for the job.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The unique identifier for the job.

*/ inline SubmitJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The unique identifier for the job.

*/ inline SubmitJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The unique identifier for the job.

*/ inline SubmitJobResult& WithJobId(const char* value) { SetJobId(value); return *this;} private: Aws::String m_jobName; Aws::String m_jobId; }; } // namespace Model } // namespace Batch } // namespace Aws