AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetQueryExecutionIds(const Aws::Vector<Aws::String>& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = value; }
48 inline void SetQueryExecutionIds(Aws::Vector<Aws::String>&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = std::move(value); }
51 inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(const Aws::String& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(value); return *this; }
52 inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(Aws::String&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(std::move(value)); return *this; }
53 inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(const char* value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(value); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_queryExecutionIds;
58 bool m_queryExecutionIdsHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Athena
63} // namespace Aws
BatchGetQueryExecutionRequest & WithQueryExecutionIds(const Aws::Vector< Aws::String > &value)
BatchGetQueryExecutionRequest & AddQueryExecutionIds(const Aws::String &value)
void SetQueryExecutionIds(Aws::Vector< Aws::String > &&value)
BatchGetQueryExecutionRequest & WithQueryExecutionIds(Aws::Vector< Aws::String > &&value)
BatchGetQueryExecutionRequest & AddQueryExecutionIds(Aws::String &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
BatchGetQueryExecutionRequest & AddQueryExecutionIds(const char *value)
void SetQueryExecutionIds(const Aws::Vector< Aws::String > &value)
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