/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/emr-containers/EMRContainers_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace EMRContainers { namespace Model { class StartJobRunResult { public: AWS_EMRCONTAINERS_API StartJobRunResult(); AWS_EMRCONTAINERS_API StartJobRunResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); AWS_EMRCONTAINERS_API StartJobRunResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); /** * <p>This output displays the started job run ID.</p> */ inline const Aws::String& GetId() const{ return m_id; } /** * <p>This output displays the started job run ID.</p> */ inline void SetId(const Aws::String& value) { m_id = value; } /** * <p>This output displays the started job run ID.</p> */ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** * <p>This output displays the started job run ID.</p> */ inline void SetId(const char* value) { m_id.assign(value); } /** * <p>This output displays the started job run ID.</p> */ inline StartJobRunResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** * <p>This output displays the started job run ID.</p> */ inline StartJobRunResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** * <p>This output displays the started job run ID.</p> */ inline StartJobRunResult& WithId(const char* value) { SetId(value); return *this;} /** * <p>This output displays the name of the started job run.</p> */ inline const Aws::String& GetName() const{ return m_name; } /** * <p>This output displays the name of the started job run.</p> */ inline void SetName(const Aws::String& value) { m_name = value; } /** * <p>This output displays the name of the started job run.</p> */ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** * <p>This output displays the name of the started job run.</p> */ inline void SetName(const char* value) { m_name.assign(value); } /** * <p>This output displays the name of the started job run.</p> */ inline StartJobRunResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** * <p>This output displays the name of the started job run.</p> */ inline StartJobRunResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** * <p>This output displays the name of the started job run.</p> */ inline StartJobRunResult& WithName(const char* value) { SetName(value); return *this;} /** * <p>This output lists the ARN of job run.</p> */ inline const Aws::String& GetArn() const{ return m_arn; } /** * <p>This output lists the ARN of job run.</p> */ inline void SetArn(const Aws::String& value) { m_arn = value; } /** * <p>This output lists the ARN of job run.</p> */ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** * <p>This output lists the ARN of job run.</p> */ inline void SetArn(const char* value) { m_arn.assign(value); } /** * <p>This output lists the ARN of job run.</p> */ inline StartJobRunResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** * <p>This output lists the ARN of job run.</p> */ inline StartJobRunResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** * <p>This output lists the ARN of job run.</p> */ inline StartJobRunResult& WithArn(const char* value) { SetArn(value); return *this;} /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline const Aws::String& GetVirtualClusterId() const{ return m_virtualClusterId; } /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline void SetVirtualClusterId(const Aws::String& value) { m_virtualClusterId = value; } /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline void SetVirtualClusterId(Aws::String&& value) { m_virtualClusterId = std::move(value); } /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline void SetVirtualClusterId(const char* value) { m_virtualClusterId.assign(value); } /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline StartJobRunResult& WithVirtualClusterId(const Aws::String& value) { SetVirtualClusterId(value); return *this;} /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline StartJobRunResult& WithVirtualClusterId(Aws::String&& value) { SetVirtualClusterId(std::move(value)); return *this;} /** * <p>This output displays the virtual cluster ID for which the job run was * submitted.</p> */ inline StartJobRunResult& WithVirtualClusterId(const char* value) { SetVirtualClusterId(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 StartJobRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartJobRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartJobRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_name; Aws::String m_arn; Aws::String m_virtualClusterId; Aws::String m_requestId; }; } // namespace Model } // namespace EMRContainers } // namespace Aws