AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartCalculationExecutionRequest.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/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Athena
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ATHENA_API StartCalculationExecutionRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartCalculationExecution"; }
31
32 AWS_ATHENA_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetSessionId() const { return m_sessionId; }
42 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
43 template<typename SessionIdT = Aws::String>
44 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
45 template<typename SessionIdT = Aws::String>
46 StartCalculationExecutionRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDescription() const { return m_description; }
54 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 StartCalculationExecutionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
66 inline const Aws::String& GetCodeBlock() const { return m_codeBlock; }
67 inline bool CodeBlockHasBeenSet() const { return m_codeBlockHasBeenSet; }
68 template<typename CodeBlockT = Aws::String>
69 void SetCodeBlock(CodeBlockT&& value) { m_codeBlockHasBeenSet = true; m_codeBlock = std::forward<CodeBlockT>(value); }
70 template<typename CodeBlockT = Aws::String>
71 StartCalculationExecutionRequest& WithCodeBlock(CodeBlockT&& value) { SetCodeBlock(std::forward<CodeBlockT>(value)); return *this;}
73
75
86 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
87 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
88 template<typename ClientRequestTokenT = Aws::String>
89 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
90 template<typename ClientRequestTokenT = Aws::String>
91 StartCalculationExecutionRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
93 private:
94
95 Aws::String m_sessionId;
96 bool m_sessionIdHasBeenSet = false;
97
98 Aws::String m_description;
99 bool m_descriptionHasBeenSet = false;
100
101 Aws::String m_codeBlock;
102 bool m_codeBlockHasBeenSet = false;
103
104 Aws::String m_clientRequestToken;
105 bool m_clientRequestTokenHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Athena
110} // 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