AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ImportNotebookRequest.h
1
6#pragma once
7#include <aws/athena/AthenaRequest.h>
8#include <aws/athena/Athena_EXPORTS.h>
9#include <aws/athena/model/NotebookType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Athena {
16namespace Model {
17
21 public:
22 AWS_ATHENA_API ImportNotebookRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ImportNotebook"; }
29
30 AWS_ATHENA_API Aws::String SerializePayload() const override;
31
33
35
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 ImportNotebookRequest& WithWorkGroup(WorkGroupT&& value) {
47 SetWorkGroup(std::forward<WorkGroupT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetPayload() const { return m_payload; }
76 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
77 template <typename PayloadT = Aws::String>
78 void SetPayload(PayloadT&& value) {
79 m_payloadHasBeenSet = true;
80 m_payload = std::forward<PayloadT>(value);
81 }
82 template <typename PayloadT = Aws::String>
84 SetPayload(std::forward<PayloadT>(value));
85 return *this;
86 }
88
90
94 inline NotebookType GetType() const { return m_type; }
95 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
96 inline void SetType(NotebookType value) {
97 m_typeHasBeenSet = true;
98 m_type = value;
99 }
101 SetType(value);
102 return *this;
103 }
105
107
111 inline const Aws::String& GetNotebookS3LocationUri() const { return m_notebookS3LocationUri; }
112 inline bool NotebookS3LocationUriHasBeenSet() const { return m_notebookS3LocationUriHasBeenSet; }
113 template <typename NotebookS3LocationUriT = Aws::String>
114 void SetNotebookS3LocationUri(NotebookS3LocationUriT&& value) {
115 m_notebookS3LocationUriHasBeenSet = true;
116 m_notebookS3LocationUri = std::forward<NotebookS3LocationUriT>(value);
117 }
118 template <typename NotebookS3LocationUriT = Aws::String>
119 ImportNotebookRequest& WithNotebookS3LocationUri(NotebookS3LocationUriT&& value) {
120 SetNotebookS3LocationUri(std::forward<NotebookS3LocationUriT>(value));
121 return *this;
122 }
124
126
134 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
135 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
136 template <typename ClientRequestTokenT = Aws::String>
137 void SetClientRequestToken(ClientRequestTokenT&& value) {
138 m_clientRequestTokenHasBeenSet = true;
139 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
140 }
141 template <typename ClientRequestTokenT = Aws::String>
142 ImportNotebookRequest& WithClientRequestToken(ClientRequestTokenT&& value) {
143 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
144 return *this;
145 }
147 private:
148 Aws::String m_workGroup;
149
150 Aws::String m_name;
151
152 Aws::String m_payload;
153
155
156 Aws::String m_notebookS3LocationUri;
157
158 Aws::String m_clientRequestToken;
159 bool m_workGroupHasBeenSet = false;
160 bool m_nameHasBeenSet = false;
161 bool m_payloadHasBeenSet = false;
162 bool m_typeHasBeenSet = false;
163 bool m_notebookS3LocationUriHasBeenSet = false;
164 bool m_clientRequestTokenHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace Athena
169} // namespace Aws
const Aws::String & GetNotebookS3LocationUri() const
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportNotebookRequest & WithPayload(PayloadT &&value)
ImportNotebookRequest & WithType(NotebookType value)
void SetNotebookS3LocationUri(NotebookS3LocationUriT &&value)
ImportNotebookRequest & WithName(NameT &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
ImportNotebookRequest & WithNotebookS3LocationUri(NotebookS3LocationUriT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
ImportNotebookRequest & WithWorkGroup(WorkGroupT &&value)
AWS_ATHENA_API ImportNotebookRequest()=default
ImportNotebookRequest & WithClientRequestToken(ClientRequestTokenT &&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