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

A list of trigger definitions.

*/ inline const Aws::Vector& GetTriggers() const{ return m_triggers; } /** *

A list of trigger definitions.

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

A list of trigger definitions.

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

A list of trigger definitions.

*/ inline BatchGetTriggersResult& WithTriggers(const Aws::Vector& value) { SetTriggers(value); return *this;} /** *

A list of trigger definitions.

*/ inline BatchGetTriggersResult& WithTriggers(Aws::Vector&& value) { SetTriggers(std::move(value)); return *this;} /** *

A list of trigger definitions.

*/ inline BatchGetTriggersResult& AddTriggers(const Trigger& value) { m_triggers.push_back(value); return *this; } /** *

A list of trigger definitions.

*/ inline BatchGetTriggersResult& AddTriggers(Trigger&& value) { m_triggers.push_back(std::move(value)); return *this; } /** *

A list of names of triggers not found.

*/ inline const Aws::Vector& GetTriggersNotFound() const{ return m_triggersNotFound; } /** *

A list of names of triggers not found.

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

A list of names of triggers not found.

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

A list of names of triggers not found.

*/ inline BatchGetTriggersResult& WithTriggersNotFound(const Aws::Vector& value) { SetTriggersNotFound(value); return *this;} /** *

A list of names of triggers not found.

*/ inline BatchGetTriggersResult& WithTriggersNotFound(Aws::Vector&& value) { SetTriggersNotFound(std::move(value)); return *this;} /** *

A list of names of triggers not found.

*/ inline BatchGetTriggersResult& AddTriggersNotFound(const Aws::String& value) { m_triggersNotFound.push_back(value); return *this; } /** *

A list of names of triggers not found.

*/ inline BatchGetTriggersResult& AddTriggersNotFound(Aws::String&& value) { m_triggersNotFound.push_back(std::move(value)); return *this; } /** *

A list of names of triggers not found.

*/ inline BatchGetTriggersResult& AddTriggersNotFound(const char* value) { m_triggersNotFound.push_back(value); return *this; } private: Aws::Vector m_triggers; Aws::Vector m_triggersNotFound; }; } // namespace Model } // namespace Glue } // namespace Aws