/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LakeFormation { namespace Model { /** *

A structure for the output.

See Also:

AWS * API Reference

*/ class StartQueryPlanningResult { public: AWS_LAKEFORMATION_API StartQueryPlanningResult(); AWS_LAKEFORMATION_API StartQueryPlanningResult(const Aws::AmazonWebServiceResult& result); AWS_LAKEFORMATION_API StartQueryPlanningResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline const Aws::String& GetQueryId() const{ return m_queryId; } /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline void SetQueryId(const Aws::String& value) { m_queryId = value; } /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline void SetQueryId(Aws::String&& value) { m_queryId = std::move(value); } /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline void SetQueryId(const char* value) { m_queryId.assign(value); } /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline StartQueryPlanningResult& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;} /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline StartQueryPlanningResult& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;} /** *

The ID of the plan query operation can be used to fetch the actual work unit * descriptors that are produced as the result of the operation. The ID is also * used to get the query state and as an input to the Execute * operation.

*/ inline StartQueryPlanningResult& WithQueryId(const char* value) { SetQueryId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartQueryPlanningResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartQueryPlanningResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartQueryPlanningResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_queryId; Aws::String m_requestId; }; } // namespace Model } // namespace LakeFormation } // namespace Aws