AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNamedQueryIds(const Aws::Vector<Aws::String>& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = value; }
48 inline void SetNamedQueryIds(Aws::Vector<Aws::String>&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds = std::move(value); }
50 inline BatchGetNamedQueryRequest& WithNamedQueryIds(Aws::Vector<Aws::String>&& value) { SetNamedQueryIds(std::move(value)); return *this;}
51 inline BatchGetNamedQueryRequest& AddNamedQueryIds(const Aws::String& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(value); return *this; }
52 inline BatchGetNamedQueryRequest& AddNamedQueryIds(Aws::String&& value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(std::move(value)); return *this; }
53 inline BatchGetNamedQueryRequest& AddNamedQueryIds(const char* value) { m_namedQueryIdsHasBeenSet = true; m_namedQueryIds.push_back(value); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_namedQueryIds;
58 bool m_namedQueryIdsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Athena
63} // namespace Aws
BatchGetNamedQueryRequest & WithNamedQueryIds(const Aws::Vector< Aws::String > &value)
void SetNamedQueryIds(const Aws::Vector< Aws::String > &value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
BatchGetNamedQueryRequest & AddNamedQueryIds(const Aws::String &value)
AWS_ATHENA_API Aws::String SerializePayload() const override
void SetNamedQueryIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetNamedQueryIds() const
virtual const char * GetServiceRequestName() const override
BatchGetNamedQueryRequest & WithNamedQueryIds(Aws::Vector< Aws::String > &&value)
BatchGetNamedQueryRequest & AddNamedQueryIds(Aws::String &&value)
BatchGetNamedQueryRequest & AddNamedQueryIds(const char *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