AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
StopQueryExecutionRequest.h
1
6#pragma once
7#include <aws/athena/AthenaRequest.h>
8#include <aws/athena/Athena_EXPORTS.h>
9#include <aws/core/utils/UUID.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Athena {
16namespace Model {
17
21 public:
22 AWS_ATHENA_API StopQueryExecutionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "StopQueryExecution"; }
29
30 AWS_ATHENA_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetQueryExecutionId() const { return m_queryExecutionId; }
39 inline bool QueryExecutionIdHasBeenSet() const { return m_queryExecutionIdHasBeenSet; }
40 template <typename QueryExecutionIdT = Aws::String>
41 void SetQueryExecutionId(QueryExecutionIdT&& value) {
42 m_queryExecutionIdHasBeenSet = true;
43 m_queryExecutionId = std::forward<QueryExecutionIdT>(value);
44 }
45 template <typename QueryExecutionIdT = Aws::String>
46 StopQueryExecutionRequest& WithQueryExecutionId(QueryExecutionIdT&& value) {
47 SetQueryExecutionId(std::forward<QueryExecutionIdT>(value));
48 return *this;
49 }
51 private:
53 bool m_queryExecutionIdHasBeenSet = true;
54};
55
56} // namespace Model
57} // namespace Athena
58} // namespace Aws
AWS_ATHENA_API Aws::String SerializePayload() const override
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API StopQueryExecutionRequest()=default
virtual const char * GetServiceRequestName() const override
StopQueryExecutionRequest & WithQueryExecutionId(QueryExecutionIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String