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

This output display the created job template ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

This output display the created job template ID.

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

This output display the created job template ID.

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

This output display the created job template ID.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

This output display the created job template ID.

*/ inline CreateJobTemplateResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

This output display the created job template ID.

*/ inline CreateJobTemplateResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

This output display the created job template ID.

*/ inline CreateJobTemplateResult& WithId(const char* value) { SetId(value); return *this;} /** *

This output displays the name of the created job template.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

This output displays the name of the created job template.

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

This output displays the name of the created job template.

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

This output displays the name of the created job template.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

This output displays the name of the created job template.

*/ inline CreateJobTemplateResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

This output displays the name of the created job template.

*/ inline CreateJobTemplateResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

This output displays the name of the created job template.

*/ inline CreateJobTemplateResult& WithName(const char* value) { SetName(value); return *this;} /** *

This output display the ARN of the created job template.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

This output display the ARN of the created job template.

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

This output display the ARN of the created job template.

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

This output display the ARN of the created job template.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

This output display the ARN of the created job template.

*/ inline CreateJobTemplateResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

This output display the ARN of the created job template.

*/ inline CreateJobTemplateResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

This output display the ARN of the created job template.

*/ inline CreateJobTemplateResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

This output displays the date and time when the job template was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

This output displays the date and time when the job template was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

This output displays the date and time when the job template was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

This output displays the date and time when the job template was created.

*/ inline CreateJobTemplateResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

This output displays the date and time when the job template was created.

*/ inline CreateJobTemplateResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(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 CreateJobTemplateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateJobTemplateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateJobTemplateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_name; Aws::String m_arn; Aws::Utils::DateTime m_createdAt; Aws::String m_requestId; }; } // namespace Model } // namespace EMRContainers } // namespace Aws