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

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

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

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

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

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

*/ inline void SetRunId(const char* value) { m_runId.assign(value); } /** *

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

*/ inline ResumeWorkflowRunResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

*/ inline ResumeWorkflowRunResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The new ID assigned to the resumed workflow run. Each resume of a workflow * run will have a new run ID.

*/ inline ResumeWorkflowRunResult& WithRunId(const char* value) { SetRunId(value); return *this;} /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline const Aws::Vector& GetNodeIds() const{ return m_nodeIds; } /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline void SetNodeIds(const Aws::Vector& value) { m_nodeIds = value; } /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline void SetNodeIds(Aws::Vector&& value) { m_nodeIds = std::move(value); } /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline ResumeWorkflowRunResult& WithNodeIds(const Aws::Vector& value) { SetNodeIds(value); return *this;} /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline ResumeWorkflowRunResult& WithNodeIds(Aws::Vector&& value) { SetNodeIds(std::move(value)); return *this;} /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline ResumeWorkflowRunResult& AddNodeIds(const Aws::String& value) { m_nodeIds.push_back(value); return *this; } /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline ResumeWorkflowRunResult& AddNodeIds(Aws::String&& value) { m_nodeIds.push_back(std::move(value)); return *this; } /** *

A list of the node IDs for the nodes that were actually restarted.

*/ inline ResumeWorkflowRunResult& AddNodeIds(const char* value) { m_nodeIds.push_back(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 ResumeWorkflowRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ResumeWorkflowRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ResumeWorkflowRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_runId; Aws::Vector m_nodeIds; Aws::String m_requestId; }; } // namespace Model } // namespace Glue } // namespace Aws