68 lines
1.7 KiB
C++
68 lines
1.7 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/QueryExecution.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 GetQueryExecutionResult
|
|
{
|
|
public:
|
|
GetQueryExecutionResult();
|
|
GetQueryExecutionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetQueryExecutionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>Information about the query execution.</p>
|
|
*/
|
|
inline const QueryExecution& GetQueryExecution() const{ return m_queryExecution; }
|
|
|
|
/**
|
|
* <p>Information about the query execution.</p>
|
|
*/
|
|
inline void SetQueryExecution(const QueryExecution& value) { m_queryExecution = value; }
|
|
|
|
/**
|
|
* <p>Information about the query execution.</p>
|
|
*/
|
|
inline void SetQueryExecution(QueryExecution&& value) { m_queryExecution = std::move(value); }
|
|
|
|
/**
|
|
* <p>Information about the query execution.</p>
|
|
*/
|
|
inline GetQueryExecutionResult& WithQueryExecution(const QueryExecution& value) { SetQueryExecution(value); return *this;}
|
|
|
|
/**
|
|
* <p>Information about the query execution.</p>
|
|
*/
|
|
inline GetQueryExecutionResult& WithQueryExecution(QueryExecution&& value) { SetQueryExecution(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
QueryExecution m_queryExecution;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Athena
|
|
} // namespace Aws
|