AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchGetQueryExecutionRequest.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 BatchGetQueryExecutionRequest() = 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 "BatchGetQueryExecution"; }
35
36 AWS_ATHENA_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::Vector<Aws::String>& GetQueryExecutionIds() const { return m_queryExecutionIds; }
46 inline bool QueryExecutionIdsHasBeenSet() const { return m_queryExecutionIdsHasBeenSet; }
47 template<typename QueryExecutionIdsT = Aws::Vector<Aws::String>>
48 void SetQueryExecutionIds(QueryExecutionIdsT&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = std::forward<QueryExecutionIdsT>(value); }
49 template<typename QueryExecutionIdsT = Aws::Vector<Aws::String>>
50 BatchGetQueryExecutionRequest& WithQueryExecutionIds(QueryExecutionIdsT&& value) { SetQueryExecutionIds(std::forward<QueryExecutionIdsT>(value)); return *this;}
51 template<typename QueryExecutionIdsT = Aws::String>
52 BatchGetQueryExecutionRequest& AddQueryExecutionIds(QueryExecutionIdsT&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.emplace_back(std::forward<QueryExecutionIdsT>(value)); return *this; }
54 private:
55
56 Aws::Vector<Aws::String> m_queryExecutionIds;
57 bool m_queryExecutionIdsHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Athena
62} // namespace Aws
BatchGetQueryExecutionRequest & WithQueryExecutionIds(QueryExecutionIdsT &&value)
BatchGetQueryExecutionRequest & AddQueryExecutionIds(QueryExecutionIdsT &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
AWS_ATHENA_API BatchGetQueryExecutionRequest()=default
const Aws::Vector< Aws::String > & GetQueryExecutionIds() const
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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