/** * 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 Athena { namespace Model { /** *

Contains an array of named query IDs.

See Also:

AWS * API Reference

*/ class BatchGetNamedQueryRequest : public AthenaRequest { public: AWS_ATHENA_API BatchGetNamedQueryRequest(); // 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 "BatchGetNamedQuery"; } AWS_ATHENA_API Aws::String SerializePayload() const override; AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

An array of query IDs.

*/ inline const Aws::Vector& GetNamedQueryIds() const{ return m_namedQueryIds; } /** *

An array of query IDs.

*/ inline bool NamedQueryIdsHasBeenSet() const { return m_namedQueryIdsHasBeenSet; } /** *

An array of query IDs.

*/ inline void SetNamedQueryIds(const Aws::Vector& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = value; } /** *

An array of query IDs.

*/ inline void SetNamedQueryIds(Aws::Vector&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = std::move(value); } /** *

An array of query IDs.

*/ inline BatchGetNamedQueryRequest& WithNamedQueryIds(const Aws::Vector& value) { SetNamedQueryIds(value); return *this;} /** *

An array of query IDs.

*/ inline BatchGetNamedQueryRequest& WithNamedQueryIds(Aws::Vector&& value) { SetNamedQueryIds(std::move(value)); return *this;} /** *

An array of query IDs.

*/ inline BatchGetNamedQueryRequest& AddNamedQueryIds(const Aws::String& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(value); return *this; } /** *

An array of query IDs.

*/ inline BatchGetNamedQueryRequest& AddNamedQueryIds(Aws::String&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(std::move(value)); return *this; } /** *

An array of query IDs.

*/ inline BatchGetNamedQueryRequest& AddNamedQueryIds(const char* value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(value); return *this; } private: Aws::Vector m_namedQueryIds; bool m_namedQueryIdsHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws