AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CreateNotebookRequest.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 CreateNotebookRequest() = 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 "CreateNotebook"; }
28
29 AWS_ATHENA_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
39 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
40 template <typename WorkGroupT = Aws::String>
41 void SetWorkGroup(WorkGroupT&& value) {
42 m_workGroupHasBeenSet = true;
43 m_workGroup = std::forward<WorkGroupT>(value);
44 }
45 template <typename WorkGroupT = Aws::String>
46 CreateNotebookRequest& WithWorkGroup(WorkGroupT&& value) {
47 SetWorkGroup(std::forward<WorkGroupT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
67 return *this;
68 }
70
72
80 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
81 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
82 template <typename ClientRequestTokenT = Aws::String>
83 void SetClientRequestToken(ClientRequestTokenT&& value) {
84 m_clientRequestTokenHasBeenSet = true;
85 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
86 }
87 template <typename ClientRequestTokenT = Aws::String>
88 CreateNotebookRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
89 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_workGroup;
95
96 Aws::String m_name;
97
98 Aws::String m_clientRequestToken;
99 bool m_workGroupHasBeenSet = false;
100 bool m_nameHasBeenSet = false;
101 bool m_clientRequestTokenHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Athena
106} // namespace Aws
void SetClientRequestToken(ClientRequestTokenT &&value)
CreateNotebookRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
const Aws::String & GetClientRequestToken() const
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API CreateNotebookRequest()=default
CreateNotebookRequest & WithWorkGroup(WorkGroupT &&value)
CreateNotebookRequest & WithName(NameT &&value)
virtual const char * GetServiceRequestName() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String