AWS SDK for C++  1.9.40
AWS SDK for C++
BatchGetNamedQueryResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Athena
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<NamedQuery>& GetNamedQueries() const{ return m_namedQueries; }
41 
45  inline void SetNamedQueries(const Aws::Vector<NamedQuery>& value) { m_namedQueries = value; }
46 
50  inline void SetNamedQueries(Aws::Vector<NamedQuery>&& value) { m_namedQueries = std::move(value); }
51 
55  inline BatchGetNamedQueryResult& WithNamedQueries(const Aws::Vector<NamedQuery>& value) { SetNamedQueries(value); return *this;}
56 
60  inline BatchGetNamedQueryResult& WithNamedQueries(Aws::Vector<NamedQuery>&& value) { SetNamedQueries(std::move(value)); return *this;}
61 
65  inline BatchGetNamedQueryResult& AddNamedQueries(const NamedQuery& value) { m_namedQueries.push_back(value); return *this; }
66 
70  inline BatchGetNamedQueryResult& AddNamedQueries(NamedQuery&& value) { m_namedQueries.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::Vector<UnprocessedNamedQueryId>& GetUnprocessedNamedQueryIds() const{ return m_unprocessedNamedQueryIds; }
77 
81  inline void SetUnprocessedNamedQueryIds(const Aws::Vector<UnprocessedNamedQueryId>& value) { m_unprocessedNamedQueryIds = value; }
82 
86  inline void SetUnprocessedNamedQueryIds(Aws::Vector<UnprocessedNamedQueryId>&& value) { m_unprocessedNamedQueryIds = std::move(value); }
87 
91  inline BatchGetNamedQueryResult& WithUnprocessedNamedQueryIds(const Aws::Vector<UnprocessedNamedQueryId>& value) { SetUnprocessedNamedQueryIds(value); return *this;}
92 
96  inline BatchGetNamedQueryResult& WithUnprocessedNamedQueryIds(Aws::Vector<UnprocessedNamedQueryId>&& value) { SetUnprocessedNamedQueryIds(std::move(value)); return *this;}
97 
101  inline BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(const UnprocessedNamedQueryId& value) { m_unprocessedNamedQueryIds.push_back(value); return *this; }
102 
106  inline BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(UnprocessedNamedQueryId&& value) { m_unprocessedNamedQueryIds.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::Vector<NamedQuery> m_namedQueries;
111 
112  Aws::Vector<UnprocessedNamedQueryId> m_unprocessedNamedQueryIds;
113  };
114 
115 } // namespace Model
116 } // namespace Athena
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Athena::Model::BatchGetNamedQueryResult::operator=
BatchGetNamedQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NamedQuery.h
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::BatchGetNamedQueryResult::BatchGetNamedQueryResult
BatchGetNamedQueryResult()
Aws::Athena::Model::BatchGetNamedQueryResult::WithUnprocessedNamedQueryIds
BatchGetNamedQueryResult & WithUnprocessedNamedQueryIds(Aws::Vector< UnprocessedNamedQueryId > &&value)
Definition: BatchGetNamedQueryResult.h:96
Aws::Athena::Model::BatchGetNamedQueryResult::AddNamedQueries
BatchGetNamedQueryResult & AddNamedQueries(NamedQuery &&value)
Definition: BatchGetNamedQueryResult.h:70
Aws::Athena::Model::NamedQuery
Definition: NamedQuery.h:33
Aws::Athena::Model::BatchGetNamedQueryResult::SetNamedQueries
void SetNamedQueries(const Aws::Vector< NamedQuery > &value)
Definition: BatchGetNamedQueryResult.h:45
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::BatchGetNamedQueryResult::WithNamedQueries
BatchGetNamedQueryResult & WithNamedQueries(const Aws::Vector< NamedQuery > &value)
Definition: BatchGetNamedQueryResult.h:55
AWSVector.h
Aws::Athena::Model::BatchGetNamedQueryResult::AddUnprocessedNamedQueryIds
BatchGetNamedQueryResult & AddUnprocessedNamedQueryIds(const UnprocessedNamedQueryId &value)
Definition: BatchGetNamedQueryResult.h:101
Aws::Athena::Model::BatchGetNamedQueryResult::GetNamedQueries
const Aws::Vector< NamedQuery > & GetNamedQueries() const
Definition: BatchGetNamedQueryResult.h:40
Aws::Athena::Model::BatchGetNamedQueryResult::AddUnprocessedNamedQueryIds
BatchGetNamedQueryResult & AddUnprocessedNamedQueryIds(UnprocessedNamedQueryId &&value)
Definition: BatchGetNamedQueryResult.h:106
Aws::Athena::Model::BatchGetNamedQueryResult::AddNamedQueries
BatchGetNamedQueryResult & AddNamedQueries(const NamedQuery &value)
Definition: BatchGetNamedQueryResult.h:65
UnprocessedNamedQueryId.h
Aws::Athena::Model::UnprocessedNamedQueryId
Definition: UnprocessedNamedQueryId.h:33
Aws::Athena::Model::BatchGetNamedQueryResult::SetUnprocessedNamedQueryIds
void SetUnprocessedNamedQueryIds(const Aws::Vector< UnprocessedNamedQueryId > &value)
Definition: BatchGetNamedQueryResult.h:81
Athena_EXPORTS.h
Aws::Athena::Model::BatchGetNamedQueryResult::WithNamedQueries
BatchGetNamedQueryResult & WithNamedQueries(Aws::Vector< NamedQuery > &&value)
Definition: BatchGetNamedQueryResult.h:60
Aws::Athena::Model::BatchGetNamedQueryResult::SetUnprocessedNamedQueryIds
void SetUnprocessedNamedQueryIds(Aws::Vector< UnprocessedNamedQueryId > &&value)
Definition: BatchGetNamedQueryResult.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::BatchGetNamedQueryResult::GetUnprocessedNamedQueryIds
const Aws::Vector< UnprocessedNamedQueryId > & GetUnprocessedNamedQueryIds() const
Definition: BatchGetNamedQueryResult.h:76
Aws::Athena::Model::BatchGetNamedQueryResult::SetNamedQueries
void SetNamedQueries(Aws::Vector< NamedQuery > &&value)
Definition: BatchGetNamedQueryResult.h:50
Aws::Athena::Model::BatchGetNamedQueryResult::WithUnprocessedNamedQueryIds
BatchGetNamedQueryResult & WithUnprocessedNamedQueryIds(const Aws::Vector< UnprocessedNamedQueryId > &value)
Definition: BatchGetNamedQueryResult.h:91
Aws::Athena::Model::BatchGetNamedQueryResult::BatchGetNamedQueryResult
BatchGetNamedQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Athena::Model::BatchGetNamedQueryResult
Definition: BatchGetNamedQueryResult.h:30