This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-athena/include/aws/athena/model/GetNamedQueryResult.h

68 lines
1.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/athena/Athena_EXPORTS.h>
#include <aws/athena/model/NamedQuery.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
GetNamedQueryResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>Information about the query.</p>
*/
inline const NamedQuery& GetNamedQuery() const{ return m_namedQuery; }
/**
* <p>Information about the query.</p>
*/
inline void SetNamedQuery(const NamedQuery& value) { m_namedQuery = value; }
/**
* <p>Information about the query.</p>
*/
inline void SetNamedQuery(NamedQuery&& value) { m_namedQuery = std::move(value); }
/**
* <p>Information about the query.</p>
*/
inline GetNamedQueryResult& WithNamedQuery(const NamedQuery& value) { SetNamedQuery(value); return *this;}
/**
* <p>Information about the query.</p>
*/
inline GetNamedQueryResult& WithNamedQuery(NamedQuery&& value) { SetNamedQuery(std::move(value)); return *this;}
private:
NamedQuery m_namedQuery;
};
} // namespace Model
} // namespace Athena
} // namespace Aws