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

A list of prepared statement names to return.

*/ inline const Aws::Vector& GetPreparedStatementNames() const{ return m_preparedStatementNames; } /** *

A list of prepared statement names to return.

*/ inline bool PreparedStatementNamesHasBeenSet() const { return m_preparedStatementNamesHasBeenSet; } /** *

A list of prepared statement names to return.

*/ inline void SetPreparedStatementNames(const Aws::Vector& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames = value; } /** *

A list of prepared statement names to return.

*/ inline void SetPreparedStatementNames(Aws::Vector&& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames = std::move(value); } /** *

A list of prepared statement names to return.

*/ inline BatchGetPreparedStatementRequest& WithPreparedStatementNames(const Aws::Vector& value) { SetPreparedStatementNames(value); return *this;} /** *

A list of prepared statement names to return.

*/ inline BatchGetPreparedStatementRequest& WithPreparedStatementNames(Aws::Vector&& value) { SetPreparedStatementNames(std::move(value)); return *this;} /** *

A list of prepared statement names to return.

*/ inline BatchGetPreparedStatementRequest& AddPreparedStatementNames(const Aws::String& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames.push_back(value); return *this; } /** *

A list of prepared statement names to return.

*/ inline BatchGetPreparedStatementRequest& AddPreparedStatementNames(Aws::String&& value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames.push_back(std::move(value)); return *this; } /** *

A list of prepared statement names to return.

*/ inline BatchGetPreparedStatementRequest& AddPreparedStatementNames(const char* value) { m_preparedStatementNamesHasBeenSet = true; m_preparedStatementNames.push_back(value); return *this; } /** *

The name of the workgroup to which the prepared statements belong.

*/ inline const Aws::String& GetWorkGroup() const{ return m_workGroup; } /** *

The name of the workgroup to which the prepared statements belong.

*/ inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; } /** *

The name of the workgroup to which the prepared statements belong.

*/ inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; } /** *

The name of the workgroup to which the prepared statements belong.

*/ inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); } /** *

The name of the workgroup to which the prepared statements belong.

*/ inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); } /** *

The name of the workgroup to which the prepared statements belong.

*/ inline BatchGetPreparedStatementRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;} /** *

The name of the workgroup to which the prepared statements belong.

*/ inline BatchGetPreparedStatementRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;} /** *

The name of the workgroup to which the prepared statements belong.

*/ inline BatchGetPreparedStatementRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;} private: Aws::Vector m_preparedStatementNames; bool m_preparedStatementNamesHasBeenSet = false; Aws::String m_workGroup; bool m_workGroupHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws