/** * 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 LakeFormation { namespace Model { /** */ class StartQueryPlanningRequest : public LakeFormationRequest { public: AWS_LAKEFORMATION_API StartQueryPlanningRequest(); // 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 "StartQueryPlanning"; } AWS_LAKEFORMATION_API Aws::String SerializePayload() const override; /** *

A structure containing information about the query plan.

*/ inline const QueryPlanningContext& GetQueryPlanningContext() const{ return m_queryPlanningContext; } /** *

A structure containing information about the query plan.

*/ inline bool QueryPlanningContextHasBeenSet() const { return m_queryPlanningContextHasBeenSet; } /** *

A structure containing information about the query plan.

*/ inline void SetQueryPlanningContext(const QueryPlanningContext& value) { m_queryPlanningContextHasBeenSet = true; m_queryPlanningContext = value; } /** *

A structure containing information about the query plan.

*/ inline void SetQueryPlanningContext(QueryPlanningContext&& value) { m_queryPlanningContextHasBeenSet = true; m_queryPlanningContext = std::move(value); } /** *

A structure containing information about the query plan.

*/ inline StartQueryPlanningRequest& WithQueryPlanningContext(const QueryPlanningContext& value) { SetQueryPlanningContext(value); return *this;} /** *

A structure containing information about the query plan.

*/ inline StartQueryPlanningRequest& WithQueryPlanningContext(QueryPlanningContext&& value) { SetQueryPlanningContext(std::move(value)); return *this;} /** *

A PartiQL query statement used as an input to the planner service.

*/ inline const Aws::String& GetQueryString() const{ return m_queryString; } /** *

A PartiQL query statement used as an input to the planner service.

*/ inline bool QueryStringHasBeenSet() const { return m_queryStringHasBeenSet; } /** *

A PartiQL query statement used as an input to the planner service.

*/ inline void SetQueryString(const Aws::String& value) { m_queryStringHasBeenSet = true; m_queryString = value; } /** *

A PartiQL query statement used as an input to the planner service.

*/ inline void SetQueryString(Aws::String&& value) { m_queryStringHasBeenSet = true; m_queryString = std::move(value); } /** *

A PartiQL query statement used as an input to the planner service.

*/ inline void SetQueryString(const char* value) { m_queryStringHasBeenSet = true; m_queryString.assign(value); } /** *

A PartiQL query statement used as an input to the planner service.

*/ inline StartQueryPlanningRequest& WithQueryString(const Aws::String& value) { SetQueryString(value); return *this;} /** *

A PartiQL query statement used as an input to the planner service.

*/ inline StartQueryPlanningRequest& WithQueryString(Aws::String&& value) { SetQueryString(std::move(value)); return *this;} /** *

A PartiQL query statement used as an input to the planner service.

*/ inline StartQueryPlanningRequest& WithQueryString(const char* value) { SetQueryString(value); return *this;} private: QueryPlanningContext m_queryPlanningContext; bool m_queryPlanningContextHasBeenSet = false; Aws::String m_queryString; bool m_queryStringHasBeenSet = false; }; } // namespace Model } // namespace LakeFormation } // namespace Aws