AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateNotebookRequest.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 <aws/athena/model/NotebookType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Athena
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ATHENA_API UpdateNotebookRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotebook"; }
32
33 AWS_ATHENA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
43 inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; }
44 template<typename NotebookIdT = Aws::String>
45 void SetNotebookId(NotebookIdT&& value) { m_notebookIdHasBeenSet = true; m_notebookId = std::forward<NotebookIdT>(value); }
46 template<typename NotebookIdT = Aws::String>
47 UpdateNotebookRequest& WithNotebookId(NotebookIdT&& value) { SetNotebookId(std::forward<NotebookIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetPayload() const { return m_payload; }
55 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
56 template<typename PayloadT = Aws::String>
57 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
58 template<typename PayloadT = Aws::String>
59 UpdateNotebookRequest& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
61
63
67 inline NotebookType GetType() const { return m_type; }
68 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
69 inline void SetType(NotebookType value) { m_typeHasBeenSet = true; m_type = value; }
70 inline UpdateNotebookRequest& WithType(NotebookType value) { SetType(value); return *this;}
72
74
78 inline const Aws::String& GetSessionId() const { return m_sessionId; }
79 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
80 template<typename SessionIdT = Aws::String>
81 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::forward<SessionIdT>(value); }
82 template<typename SessionIdT = Aws::String>
83 UpdateNotebookRequest& WithSessionId(SessionIdT&& value) { SetSessionId(std::forward<SessionIdT>(value)); return *this;}
85
87
95 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
96 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
97 template<typename ClientRequestTokenT = Aws::String>
98 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
99 template<typename ClientRequestTokenT = Aws::String>
100 UpdateNotebookRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
102 private:
103
104 Aws::String m_notebookId;
105 bool m_notebookIdHasBeenSet = false;
106
107 Aws::String m_payload;
108 bool m_payloadHasBeenSet = false;
109
111 bool m_typeHasBeenSet = false;
112
113 Aws::String m_sessionId;
114 bool m_sessionIdHasBeenSet = false;
115
116 Aws::String m_clientRequestToken;
117 bool m_clientRequestTokenHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Athena
122} // namespace Aws
AWS_ATHENA_API Aws::String SerializePayload() const override
UpdateNotebookRequest & WithType(NotebookType value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetClientRequestToken(ClientRequestTokenT &&value)
UpdateNotebookRequest & WithNotebookId(NotebookIdT &&value)
UpdateNotebookRequest & WithPayload(PayloadT &&value)
virtual const char * GetServiceRequestName() const override
UpdateNotebookRequest & WithSessionId(SessionIdT &&value)
UpdateNotebookRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_ATHENA_API UpdateNotebookRequest()=default
const Aws::String & GetClientRequestToken() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String