/** * 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 GetNamedQueryResult { public: GetNamedQueryResult(); GetNamedQueryResult(const Aws::AmazonWebServiceResult& result); GetNamedQueryResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the query.

*/ inline const NamedQuery& GetNamedQuery() const{ return m_namedQuery; } /** *

Information about the query.

*/ inline void SetNamedQuery(const NamedQuery& value) { m_namedQuery = value; } /** *

Information about the query.

*/ inline void SetNamedQuery(NamedQuery&& value) { m_namedQuery = std::move(value); } /** *

Information about the query.

*/ inline GetNamedQueryResult& WithNamedQuery(const NamedQuery& value) { SetNamedQuery(value); return *this;} /** *

Information about the query.

*/ inline GetNamedQueryResult& WithNamedQuery(NamedQuery&& value) { SetNamedQuery(std::move(value)); return *this;} private: NamedQuery m_namedQuery; }; } // namespace Model } // namespace Athena } // namespace Aws