/** * 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 query execution IDs.

See Also:

AWS * API Reference

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

An array of query execution IDs.

*/ inline const Aws::Vector& GetQueryExecutionIds() const{ return m_queryExecutionIds; } /** *

An array of query execution IDs.

*/ inline bool QueryExecutionIdsHasBeenSet() const { return m_queryExecutionIdsHasBeenSet; } /** *

An array of query execution IDs.

*/ inline void SetQueryExecutionIds(const Aws::Vector& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = value; } /** *

An array of query execution IDs.

*/ inline void SetQueryExecutionIds(Aws::Vector&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = std::move(value); } /** *

An array of query execution IDs.

*/ inline BatchGetQueryExecutionRequest& WithQueryExecutionIds(const Aws::Vector& value) { SetQueryExecutionIds(value); return *this;} /** *

An array of query execution IDs.

*/ inline BatchGetQueryExecutionRequest& WithQueryExecutionIds(Aws::Vector&& value) { SetQueryExecutionIds(std::move(value)); return *this;} /** *

An array of query execution IDs.

*/ inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(const Aws::String& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(value); return *this; } /** *

An array of query execution IDs.

*/ inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(Aws::String&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(std::move(value)); return *this; } /** *

An array of query execution IDs.

*/ inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(const char* value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(value); return *this; } private: Aws::Vector m_queryExecutionIds; bool m_queryExecutionIdsHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws