AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
StartCalculationExecutionRequest.h
1
6#pragma once
7#include <aws/athena/AthenaRequest.h>
8#include <aws/athena/Athena_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Athena {
15namespace Model {
16
20 public:
21 AWS_ATHENA_API StartCalculationExecutionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StartCalculationExecution"; }
28
29 AWS_ATHENA_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetSessionId() const { return m_sessionId; }
38 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
39 template <typename SessionIdT = Aws::String>
40 void SetSessionId(SessionIdT&& value) {
41 m_sessionIdHasBeenSet = true;
42 m_sessionId = std::forward<SessionIdT>(value);
43 }
44 template <typename SessionIdT = Aws::String>
46 SetSessionId(std::forward<SessionIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetCodeBlock() const { return m_codeBlock; }
75 inline bool CodeBlockHasBeenSet() const { return m_codeBlockHasBeenSet; }
76 template <typename CodeBlockT = Aws::String>
77 void SetCodeBlock(CodeBlockT&& value) {
78 m_codeBlockHasBeenSet = true;
79 m_codeBlock = std::forward<CodeBlockT>(value);
80 }
81 template <typename CodeBlockT = Aws::String>
83 SetCodeBlock(std::forward<CodeBlockT>(value));
84 return *this;
85 }
87
89
100 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
101 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
102 template <typename ClientRequestTokenT = Aws::String>
103 void SetClientRequestToken(ClientRequestTokenT&& value) {
104 m_clientRequestTokenHasBeenSet = true;
105 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
106 }
107 template <typename ClientRequestTokenT = Aws::String>
109 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_sessionId;
115 bool m_sessionIdHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
120 Aws::String m_codeBlock;
121 bool m_codeBlockHasBeenSet = false;
122
123 Aws::String m_clientRequestToken;
124 bool m_clientRequestTokenHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Athena
129} // namespace Aws
StartCalculationExecutionRequest & WithDescription(DescriptionT &&value)
StartCalculationExecutionRequest & WithCodeBlock(CodeBlockT &&value)
StartCalculationExecutionRequest & WithSessionId(SessionIdT &&value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API Aws::String SerializePayload() const override
StartCalculationExecutionRequest & WithClientRequestToken(ClientRequestTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String