/** * 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 Athena { namespace Model { class AWS_ATHENA_API CreateNamedQueryResult { public: CreateNamedQueryResult(); CreateNamedQueryResult(const Aws::AmazonWebServiceResult& result); CreateNamedQueryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique ID of the query.

*/ inline const Aws::String& GetNamedQueryId() const{ return m_namedQueryId; } /** *

The unique ID of the query.

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

The unique ID of the query.

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

The unique ID of the query.

*/ inline void SetNamedQueryId(const char* value) { m_namedQueryId.assign(value); } /** *

The unique ID of the query.

*/ inline CreateNamedQueryResult& WithNamedQueryId(const Aws::String& value) { SetNamedQueryId(value); return *this;} /** *

The unique ID of the query.

*/ inline CreateNamedQueryResult& WithNamedQueryId(Aws::String&& value) { SetNamedQueryId(std::move(value)); return *this;} /** *

The unique ID of the query.

*/ inline CreateNamedQueryResult& WithNamedQueryId(const char* value) { SetNamedQueryId(value); return *this;} private: Aws::String m_namedQueryId; }; } // namespace Model } // namespace Athena } // namespace Aws