AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
44 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
45 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
46 inline StartCalculationExecutionRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
47 inline StartCalculationExecutionRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
48 inline StartCalculationExecutionRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline StartCalculationExecutionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline StartCalculationExecutionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline StartCalculationExecutionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
70 inline const Aws::String& GetCodeBlock() const{ return m_codeBlock; }
71 inline bool CodeBlockHasBeenSet() const { return m_codeBlockHasBeenSet; }
72 inline void SetCodeBlock(const Aws::String& value) { m_codeBlockHasBeenSet = true; m_codeBlock = value; }
73 inline void SetCodeBlock(Aws::String&& value) { m_codeBlockHasBeenSet = true; m_codeBlock = std::move(value); }
74 inline void SetCodeBlock(const char* value) { m_codeBlockHasBeenSet = true; m_codeBlock.assign(value); }
75 inline StartCalculationExecutionRequest& WithCodeBlock(const Aws::String& value) { SetCodeBlock(value); return *this;}
76 inline StartCalculationExecutionRequest& WithCodeBlock(Aws::String&& value) { SetCodeBlock(std::move(value)); return *this;}
77 inline StartCalculationExecutionRequest& WithCodeBlock(const char* value) { SetCodeBlock(value); return *this;}
79
81
92 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
93 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
94 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
95 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
96 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
99 inline StartCalculationExecutionRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
101 private:
102
103 Aws::String m_sessionId;
104 bool m_sessionIdHasBeenSet = false;
105
106 Aws::String m_description;
107 bool m_descriptionHasBeenSet = false;
108
109 Aws::String m_codeBlock;
110 bool m_codeBlockHasBeenSet = false;
111
112 Aws::String m_clientRequestToken;
113 bool m_clientRequestTokenHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Athena
118} // namespace Aws
StartCalculationExecutionRequest & WithSessionId(const char *value)
StartCalculationExecutionRequest & WithCodeBlock(Aws::String &&value)
StartCalculationExecutionRequest & WithDescription(const Aws::String &value)
StartCalculationExecutionRequest & WithClientRequestToken(const Aws::String &value)
StartCalculationExecutionRequest & WithCodeBlock(const char *value)
StartCalculationExecutionRequest & WithClientRequestToken(const char *value)
StartCalculationExecutionRequest & WithSessionId(const Aws::String &value)
StartCalculationExecutionRequest & WithClientRequestToken(Aws::String &&value)
StartCalculationExecutionRequest & WithCodeBlock(const Aws::String &value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartCalculationExecutionRequest & WithSessionId(Aws::String &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
StartCalculationExecutionRequest & WithDescription(const char *value)
StartCalculationExecutionRequest & WithDescription(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String