AWS SDK for C++  1.9.107
AWS SDK for C++
GetNamedQueryResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Athena
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const NamedQuery& GetNamedQuery() const{ return m_namedQuery; }
39 
43  inline void SetNamedQuery(const NamedQuery& value) { m_namedQuery = value; }
44 
48  inline void SetNamedQuery(NamedQuery&& value) { m_namedQuery = std::move(value); }
49 
53  inline GetNamedQueryResult& WithNamedQuery(const NamedQuery& value) { SetNamedQuery(value); return *this;}
54 
58  inline GetNamedQueryResult& WithNamedQuery(NamedQuery&& value) { SetNamedQuery(std::move(value)); return *this;}
59 
60  private:
61 
62  NamedQuery m_namedQuery;
63  };
64 
65 } // namespace Model
66 } // namespace Athena
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
NamedQuery.h
Aws::Athena::Model::GetNamedQueryResult::WithNamedQuery
GetNamedQueryResult & WithNamedQuery(NamedQuery &&value)
Definition: GetNamedQueryResult.h:58
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::NamedQuery
Definition: NamedQuery.h:33
Aws::Athena::Model::GetNamedQueryResult::GetNamedQueryResult
GetNamedQueryResult()
Aws::Athena::Model::GetNamedQueryResult::GetNamedQueryResult
GetNamedQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::GetNamedQueryResult::GetNamedQuery
const NamedQuery & GetNamedQuery() const
Definition: GetNamedQueryResult.h:38
Aws::Athena::Model::GetNamedQueryResult::operator=
GetNamedQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Athena_EXPORTS.h
Aws::Athena::Model::GetNamedQueryResult::WithNamedQuery
GetNamedQueryResult & WithNamedQuery(const NamedQuery &value)
Definition: GetNamedQueryResult.h:53
Aws::Athena::Model::GetNamedQueryResult
Definition: GetNamedQueryResult.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::GetNamedQueryResult::SetNamedQuery
void SetNamedQuery(NamedQuery &&value)
Definition: GetNamedQueryResult.h:48
Aws::Athena::Model::GetNamedQueryResult::SetNamedQuery
void SetNamedQuery(const NamedQuery &value)
Definition: GetNamedQueryResult.h:43