AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetNamedQueryResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/athena/model/NamedQuery.h>
11#include <aws/athena/model/UnprocessedNamedQueryId.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Athena
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ATHENA_API BatchGetNamedQueryResult();
36
37
39
42 inline const Aws::Vector<NamedQuery>& GetNamedQueries() const{ return m_namedQueries; }
43 inline void SetNamedQueries(const Aws::Vector<NamedQuery>& value) { m_namedQueries = value; }
44 inline void SetNamedQueries(Aws::Vector<NamedQuery>&& value) { m_namedQueries = std::move(value); }
46 inline BatchGetNamedQueryResult& WithNamedQueries(Aws::Vector<NamedQuery>&& value) { SetNamedQueries(std::move(value)); return *this;}
47 inline BatchGetNamedQueryResult& AddNamedQueries(const NamedQuery& value) { m_namedQueries.push_back(value); return *this; }
48 inline BatchGetNamedQueryResult& AddNamedQueries(NamedQuery&& value) { m_namedQueries.push_back(std::move(value)); return *this; }
50
52
55 inline const Aws::Vector<UnprocessedNamedQueryId>& GetUnprocessedNamedQueryIds() const{ return m_unprocessedNamedQueryIds; }
56 inline void SetUnprocessedNamedQueryIds(const Aws::Vector<UnprocessedNamedQueryId>& value) { m_unprocessedNamedQueryIds = value; }
57 inline void SetUnprocessedNamedQueryIds(Aws::Vector<UnprocessedNamedQueryId>&& value) { m_unprocessedNamedQueryIds = std::move(value); }
60 inline BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(const UnprocessedNamedQueryId& value) { m_unprocessedNamedQueryIds.push_back(value); return *this; }
61 inline BatchGetNamedQueryResult& AddUnprocessedNamedQueryIds(UnprocessedNamedQueryId&& value) { m_unprocessedNamedQueryIds.push_back(std::move(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline BatchGetNamedQueryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline BatchGetNamedQueryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline BatchGetNamedQueryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 Aws::Vector<NamedQuery> m_namedQueries;
77
78 Aws::Vector<UnprocessedNamedQueryId> m_unprocessedNamedQueryIds;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace Athena
85} // namespace Aws
BatchGetNamedQueryResult & WithUnprocessedNamedQueryIds(const Aws::Vector< UnprocessedNamedQueryId > &value)
BatchGetNamedQueryResult & WithNamedQueries(const Aws::Vector< NamedQuery > &value)
BatchGetNamedQueryResult & AddNamedQueries(const NamedQuery &value)
BatchGetNamedQueryResult & WithNamedQueries(Aws::Vector< NamedQuery > &&value)
const Aws::Vector< UnprocessedNamedQueryId > & GetUnprocessedNamedQueryIds() const
AWS_ATHENA_API BatchGetNamedQueryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetNamedQueryResult & AddUnprocessedNamedQueryIds(UnprocessedNamedQueryId &&value)
const Aws::Vector< NamedQuery > & GetNamedQueries() const
void SetNamedQueries(const Aws::Vector< NamedQuery > &value)
BatchGetNamedQueryResult & AddNamedQueries(NamedQuery &&value)
void SetNamedQueries(Aws::Vector< NamedQuery > &&value)
BatchGetNamedQueryResult & WithRequestId(const char *value)
void SetUnprocessedNamedQueryIds(const Aws::Vector< UnprocessedNamedQueryId > &value)
BatchGetNamedQueryResult & AddUnprocessedNamedQueryIds(const UnprocessedNamedQueryId &value)
BatchGetNamedQueryResult & WithRequestId(Aws::String &&value)
AWS_ATHENA_API BatchGetNamedQueryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetNamedQueryResult & WithUnprocessedNamedQueryIds(Aws::Vector< UnprocessedNamedQueryId > &&value)
BatchGetNamedQueryResult & WithRequestId(const Aws::String &value)
void SetUnprocessedNamedQueryIds(Aws::Vector< UnprocessedNamedQueryId > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue