/** * 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 { namespace Glue { namespace Model { /** */ class BatchGetTriggersRequest : public GlueRequest { public: AWS_GLUE_API BatchGetTriggersRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchGetTriggers"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline const Aws::Vector& GetTriggerNames() const{ return m_triggerNames; } /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline bool TriggerNamesHasBeenSet() const { return m_triggerNamesHasBeenSet; } /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline void SetTriggerNames(const Aws::Vector& value) { m_triggerNamesHasBeenSet = true; m_triggerNames = value; } /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline void SetTriggerNames(Aws::Vector&& value) { m_triggerNamesHasBeenSet = true; m_triggerNames = std::move(value); } /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline BatchGetTriggersRequest& WithTriggerNames(const Aws::Vector& value) { SetTriggerNames(value); return *this;} /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline BatchGetTriggersRequest& WithTriggerNames(Aws::Vector&& value) { SetTriggerNames(std::move(value)); return *this;} /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline BatchGetTriggersRequest& AddTriggerNames(const Aws::String& value) { m_triggerNamesHasBeenSet = true; m_triggerNames.push_back(value); return *this; } /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline BatchGetTriggersRequest& AddTriggerNames(Aws::String&& value) { m_triggerNamesHasBeenSet = true; m_triggerNames.push_back(std::move(value)); return *this; } /** *

A list of trigger names, which may be the names returned from the * ListTriggers operation.

*/ inline BatchGetTriggersRequest& AddTriggerNames(const char* value) { m_triggerNamesHasBeenSet = true; m_triggerNames.push_back(value); return *this; } private: Aws::Vector m_triggerNames; bool m_triggerNamesHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws