AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchGetNamedQueryResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/NamedQuery.h>
9#include <aws/athena/model/UnprocessedNamedQueryId.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Athena {
25namespace Model {
27 public:
28 AWS_ATHENA_API BatchGetNamedQueryResult() = default;
31
33
36 inline const Aws::Vector<NamedQuery>& GetNamedQueries() const { return m_namedQueries; }
37 template <typename NamedQueriesT = Aws::Vector<NamedQuery>>
38 void SetNamedQueries(NamedQueriesT&& value) {
39 m_namedQueriesHasBeenSet = true;
40 m_namedQueries = std::forward<NamedQueriesT>(value);
41 }
42 template <typename NamedQueriesT = Aws::Vector<NamedQuery>>
44 SetNamedQueries(std::forward<NamedQueriesT>(value));
45 return *this;
46 }
47 template <typename NamedQueriesT = NamedQuery>
48 BatchGetNamedQueryResult& AddNamedQueries(NamedQueriesT&& value) {
49 m_namedQueriesHasBeenSet = true;
50 m_namedQueries.emplace_back(std::forward<NamedQueriesT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<UnprocessedNamedQueryId>& GetUnprocessedNamedQueryIds() const { return m_unprocessedNamedQueryIds; }
60 template <typename UnprocessedNamedQueryIdsT = Aws::Vector<UnprocessedNamedQueryId>>
61 void SetUnprocessedNamedQueryIds(UnprocessedNamedQueryIdsT&& value) {
62 m_unprocessedNamedQueryIdsHasBeenSet = true;
63 m_unprocessedNamedQueryIds = std::forward<UnprocessedNamedQueryIdsT>(value);
64 }
65 template <typename UnprocessedNamedQueryIdsT = Aws::Vector<UnprocessedNamedQueryId>>
66 BatchGetNamedQueryResult& WithUnprocessedNamedQueryIds(UnprocessedNamedQueryIdsT&& value) {
67 SetUnprocessedNamedQueryIds(std::forward<UnprocessedNamedQueryIdsT>(value));
68 return *this;
69 }
70 template <typename UnprocessedNamedQueryIdsT = UnprocessedNamedQueryId>
71 BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(UnprocessedNamedQueryIdsT&& value) {
72 m_unprocessedNamedQueryIdsHasBeenSet = true;
73 m_unprocessedNamedQueryIds.emplace_back(std::forward<UnprocessedNamedQueryIdsT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<NamedQuery> m_namedQueries;
94
95 Aws::Vector<UnprocessedNamedQueryId> m_unprocessedNamedQueryIds;
96
97 Aws::String m_requestId;
98 bool m_namedQueriesHasBeenSet = false;
99 bool m_unprocessedNamedQueryIdsHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Athena
105} // namespace Aws
BatchGetNamedQueryResult & WithNamedQueries(NamedQueriesT &&value)
const Aws::Vector< UnprocessedNamedQueryId > & GetUnprocessedNamedQueryIds() const
AWS_ATHENA_API BatchGetNamedQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetNamedQueryResult & AddUnprocessedNamedQueryIds(UnprocessedNamedQueryIdsT &&value)
const Aws::Vector< NamedQuery > & GetNamedQueries() const
AWS_ATHENA_API BatchGetNamedQueryResult()=default
BatchGetNamedQueryResult & WithUnprocessedNamedQueryIds(UnprocessedNamedQueryIdsT &&value)
BatchGetNamedQueryResult & WithRequestId(RequestIdT &&value)
void SetUnprocessedNamedQueryIds(UnprocessedNamedQueryIdsT &&value)
BatchGetNamedQueryResult & AddNamedQueries(NamedQueriesT &&value)
AWS_ATHENA_API BatchGetNamedQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue