/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class BatchGetWorkflowsResult { public: AWS_GLUE_API BatchGetWorkflowsResult(); AWS_GLUE_API BatchGetWorkflowsResult(const Aws::AmazonWebServiceResult& result); AWS_GLUE_API BatchGetWorkflowsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A list of workflow resource metadata.

*/ inline const Aws::Vector& GetWorkflows() const{ return m_workflows; } /** *

A list of workflow resource metadata.

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

A list of workflow resource metadata.

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

A list of workflow resource metadata.

*/ inline BatchGetWorkflowsResult& WithWorkflows(const Aws::Vector& value) { SetWorkflows(value); return *this;} /** *

A list of workflow resource metadata.

*/ inline BatchGetWorkflowsResult& WithWorkflows(Aws::Vector&& value) { SetWorkflows(std::move(value)); return *this;} /** *

A list of workflow resource metadata.

*/ inline BatchGetWorkflowsResult& AddWorkflows(const Workflow& value) { m_workflows.push_back(value); return *this; } /** *

A list of workflow resource metadata.

*/ inline BatchGetWorkflowsResult& AddWorkflows(Workflow&& value) { m_workflows.push_back(std::move(value)); return *this; } /** *

A list of names of workflows not found.

*/ inline const Aws::Vector& GetMissingWorkflows() const{ return m_missingWorkflows; } /** *

A list of names of workflows not found.

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

A list of names of workflows not found.

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

A list of names of workflows not found.

*/ inline BatchGetWorkflowsResult& WithMissingWorkflows(const Aws::Vector& value) { SetMissingWorkflows(value); return *this;} /** *

A list of names of workflows not found.

*/ inline BatchGetWorkflowsResult& WithMissingWorkflows(Aws::Vector&& value) { SetMissingWorkflows(std::move(value)); return *this;} /** *

A list of names of workflows not found.

*/ inline BatchGetWorkflowsResult& AddMissingWorkflows(const Aws::String& value) { m_missingWorkflows.push_back(value); return *this; } /** *

A list of names of workflows not found.

*/ inline BatchGetWorkflowsResult& AddMissingWorkflows(Aws::String&& value) { m_missingWorkflows.push_back(std::move(value)); return *this; } /** *

A list of names of workflows not found.

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