AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetNamedQueryRequest.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Athena
16{
17namespace Model
18{
19
26 {
27 public:
28 AWS_ATHENA_API BatchGetNamedQueryRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "BatchGetNamedQuery"; }
35
36 AWS_ATHENA_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::Vector<Aws::String>& GetNamedQueryIds() const { return m_namedQueryIds; }
46 inline bool NamedQueryIdsHasBeenSet() const { return m_namedQueryIdsHasBeenSet; }
47 template<typename NamedQueryIdsT = Aws::Vector<Aws::String>>
48 void SetNamedQueryIds(NamedQueryIdsT&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = std::forward<NamedQueryIdsT>(value); }
49 template<typename NamedQueryIdsT = Aws::Vector<Aws::String>>
50 BatchGetNamedQueryRequest& WithNamedQueryIds(NamedQueryIdsT&& value) { SetNamedQueryIds(std::forward<NamedQueryIdsT>(value)); return *this;}
51 template<typename NamedQueryIdsT = Aws::String>
52 BatchGetNamedQueryRequest& AddNamedQueryIds(NamedQueryIdsT&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.emplace_back(std::forward<NamedQueryIdsT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_namedQueryIds;
57 bool m_namedQueryIdsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Athena
62} // namespace Aws
BatchGetNamedQueryRequest & WithNamedQueryIds(NamedQueryIdsT &&value)
AWS_ATHENA_API BatchGetNamedQueryRequest()=default
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetNamedQueryIds() const
virtual const char * GetServiceRequestName() const override
BatchGetNamedQueryRequest & AddNamedQueryIds(NamedQueryIdsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector