AWS SDK for C++  1.9.14
AWS SDK for C++
BatchGetQueryExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Athena
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "BatchGetQueryExecution"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::Vector<Aws::String>& GetQueryExecutionIds() const{ return m_queryExecutionIds; }
42 
46  inline bool QueryExecutionIdsHasBeenSet() const { return m_queryExecutionIdsHasBeenSet; }
47 
51  inline void SetQueryExecutionIds(const Aws::Vector<Aws::String>& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = value; }
52 
56  inline void SetQueryExecutionIds(Aws::Vector<Aws::String>&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds = std::move(value); }
57 
61  inline BatchGetQueryExecutionRequest& WithQueryExecutionIds(const Aws::Vector<Aws::String>& value) { SetQueryExecutionIds(value); return *this;}
62 
66  inline BatchGetQueryExecutionRequest& WithQueryExecutionIds(Aws::Vector<Aws::String>&& value) { SetQueryExecutionIds(std::move(value)); return *this;}
67 
71  inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(const Aws::String& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(value); return *this; }
72 
76  inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(Aws::String&& value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(std::move(value)); return *this; }
77 
81  inline BatchGetQueryExecutionRequest& AddQueryExecutionIds(const char* value) { m_queryExecutionIdsHasBeenSet = true; m_queryExecutionIds.push_back(value); return *this; }
82 
83  private:
84 
85  Aws::Vector<Aws::String> m_queryExecutionIds;
86  bool m_queryExecutionIdsHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace Athena
91 } // namespace Aws
Aws::Athena::Model::BatchGetQueryExecutionRequest
Definition: BatchGetQueryExecutionRequest.h:23
Aws::Athena::Model::BatchGetQueryExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::BatchGetQueryExecutionRequest::AddQueryExecutionIds
BatchGetQueryExecutionRequest & AddQueryExecutionIds(const char *value)
Definition: BatchGetQueryExecutionRequest.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Athena::Model::BatchGetQueryExecutionRequest::BatchGetQueryExecutionRequest
BatchGetQueryExecutionRequest()
AWSVector.h
Aws::Athena::Model::BatchGetQueryExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Athena::Model::BatchGetQueryExecutionRequest::AddQueryExecutionIds
BatchGetQueryExecutionRequest & AddQueryExecutionIds(Aws::String &&value)
Definition: BatchGetQueryExecutionRequest.h:76
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::BatchGetQueryExecutionRequest::SetQueryExecutionIds
void SetQueryExecutionIds(Aws::Vector< Aws::String > &&value)
Definition: BatchGetQueryExecutionRequest.h:56
Aws::Athena::Model::BatchGetQueryExecutionRequest::WithQueryExecutionIds
BatchGetQueryExecutionRequest & WithQueryExecutionIds(const Aws::Vector< Aws::String > &value)
Definition: BatchGetQueryExecutionRequest.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::BatchGetQueryExecutionRequest::QueryExecutionIdsHasBeenSet
bool QueryExecutionIdsHasBeenSet() const
Definition: BatchGetQueryExecutionRequest.h:46
Aws::Athena::Model::BatchGetQueryExecutionRequest::GetQueryExecutionIds
const Aws::Vector< Aws::String > & GetQueryExecutionIds() const
Definition: BatchGetQueryExecutionRequest.h:41
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::BatchGetQueryExecutionRequest::WithQueryExecutionIds
BatchGetQueryExecutionRequest & WithQueryExecutionIds(Aws::Vector< Aws::String > &&value)
Definition: BatchGetQueryExecutionRequest.h:66
Aws::Athena::Model::BatchGetQueryExecutionRequest::SetQueryExecutionIds
void SetQueryExecutionIds(const Aws::Vector< Aws::String > &value)
Definition: BatchGetQueryExecutionRequest.h:51
AthenaRequest.h
Aws::Athena::Model::BatchGetQueryExecutionRequest::AddQueryExecutionIds
BatchGetQueryExecutionRequest & AddQueryExecutionIds(const Aws::String &value)
Definition: BatchGetQueryExecutionRequest.h:71
Aws::Athena::Model::BatchGetQueryExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: BatchGetQueryExecutionRequest.h:31