AWS SDK for C++  1.9.17
AWS SDK for C++
StopQueryExecutionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 #include <aws/core/utils/UUID.h>
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 "StopQueryExecution"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetQueryExecutionId() const{ return m_queryExecutionId; }
42 
46  inline bool QueryExecutionIdHasBeenSet() const { return m_queryExecutionIdHasBeenSet; }
47 
51  inline void SetQueryExecutionId(const Aws::String& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = value; }
52 
56  inline void SetQueryExecutionId(Aws::String&& value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId = std::move(value); }
57 
61  inline void SetQueryExecutionId(const char* value) { m_queryExecutionIdHasBeenSet = true; m_queryExecutionId.assign(value); }
62 
66  inline StopQueryExecutionRequest& WithQueryExecutionId(const Aws::String& value) { SetQueryExecutionId(value); return *this;}
67 
71  inline StopQueryExecutionRequest& WithQueryExecutionId(Aws::String&& value) { SetQueryExecutionId(std::move(value)); return *this;}
72 
76  inline StopQueryExecutionRequest& WithQueryExecutionId(const char* value) { SetQueryExecutionId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_queryExecutionId;
81  bool m_queryExecutionIdHasBeenSet;
82  };
83 
84 } // namespace Model
85 } // namespace Athena
86 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Athena::Model::StopQueryExecutionRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::AthenaRequest
Definition: AthenaRequest.h:17
Aws::Athena::Model::StopQueryExecutionRequest
Definition: StopQueryExecutionRequest.h:23
Aws::Athena::Model::StopQueryExecutionRequest::QueryExecutionIdHasBeenSet
bool QueryExecutionIdHasBeenSet() const
Definition: StopQueryExecutionRequest.h:46
Aws::Athena::Model::StopQueryExecutionRequest::SetQueryExecutionId
void SetQueryExecutionId(const Aws::String &value)
Definition: StopQueryExecutionRequest.h:51
Aws::Athena::Model::StopQueryExecutionRequest::SetQueryExecutionId
void SetQueryExecutionId(const char *value)
Definition: StopQueryExecutionRequest.h:61
Aws::Athena::Model::StopQueryExecutionRequest::WithQueryExecutionId
StopQueryExecutionRequest & WithQueryExecutionId(Aws::String &&value)
Definition: StopQueryExecutionRequest.h:71
Aws::Athena::Model::StopQueryExecutionRequest::WithQueryExecutionId
StopQueryExecutionRequest & WithQueryExecutionId(const Aws::String &value)
Definition: StopQueryExecutionRequest.h:66
AWSString.h
Athena_EXPORTS.h
Aws::Athena::Model::StopQueryExecutionRequest::GetQueryExecutionId
const Aws::String & GetQueryExecutionId() const
Definition: StopQueryExecutionRequest.h:41
Aws::Athena::Model::StopQueryExecutionRequest::SetQueryExecutionId
void SetQueryExecutionId(Aws::String &&value)
Definition: StopQueryExecutionRequest.h:56
Aws::Athena::Model::StopQueryExecutionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: StopQueryExecutionRequest.h:31
Aws::Athena::Model::StopQueryExecutionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::StopQueryExecutionRequest::StopQueryExecutionRequest
StopQueryExecutionRequest()
AthenaRequest.h
UUID.h
Aws::Athena::Model::StopQueryExecutionRequest::WithQueryExecutionId
StopQueryExecutionRequest & WithQueryExecutionId(const char *value)
Definition: StopQueryExecutionRequest.h:76