/** * 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 RegisterJobDefinitionResult { public: RegisterJobDefinitionResult(); RegisterJobDefinitionResult(const Aws::AmazonWebServiceResult& result); RegisterJobDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the job definition.

*/ inline const Aws::String& GetJobDefinitionName() const{ return m_jobDefinitionName; } /** *

The name of the job definition.

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

The name of the job definition.

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

The name of the job definition.

*/ inline void SetJobDefinitionName(const char* value) { m_jobDefinitionName.assign(value); } /** *

The name of the job definition.

*/ inline RegisterJobDefinitionResult& WithJobDefinitionName(const Aws::String& value) { SetJobDefinitionName(value); return *this;} /** *

The name of the job definition.

*/ inline RegisterJobDefinitionResult& WithJobDefinitionName(Aws::String&& value) { SetJobDefinitionName(std::move(value)); return *this;} /** *

The name of the job definition.

*/ inline RegisterJobDefinitionResult& WithJobDefinitionName(const char* value) { SetJobDefinitionName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the job definition.

*/ inline const Aws::String& GetJobDefinitionArn() const{ return m_jobDefinitionArn; } /** *

The Amazon Resource Name (ARN) of the job definition.

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

The Amazon Resource Name (ARN) of the job definition.

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

The Amazon Resource Name (ARN) of the job definition.

*/ inline void SetJobDefinitionArn(const char* value) { m_jobDefinitionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the job definition.

*/ inline RegisterJobDefinitionResult& WithJobDefinitionArn(const Aws::String& value) { SetJobDefinitionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the job definition.

*/ inline RegisterJobDefinitionResult& WithJobDefinitionArn(Aws::String&& value) { SetJobDefinitionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the job definition.

*/ inline RegisterJobDefinitionResult& WithJobDefinitionArn(const char* value) { SetJobDefinitionArn(value); return *this;} /** *

The revision of the job definition.

*/ inline int GetRevision() const{ return m_revision; } /** *

The revision of the job definition.

*/ inline void SetRevision(int value) { m_revision = value; } /** *

The revision of the job definition.

*/ inline RegisterJobDefinitionResult& WithRevision(int value) { SetRevision(value); return *this;} private: Aws::String m_jobDefinitionName; Aws::String m_jobDefinitionArn; int m_revision; }; } // namespace Model } // namespace Batch } // namespace Aws