AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetNotebookId(const Aws::String& value) { m_notebookIdHasBeenSet = true; m_notebookId = value; }
45 inline void SetNotebookId(Aws::String&& value) { m_notebookIdHasBeenSet = true; m_notebookId = std::move(value); }
46 inline void SetNotebookId(const char* value) { m_notebookIdHasBeenSet = true; m_notebookId.assign(value); }
47 inline UpdateNotebookRequest& WithNotebookId(const Aws::String& value) { SetNotebookId(value); return *this;}
48 inline UpdateNotebookRequest& WithNotebookId(Aws::String&& value) { SetNotebookId(std::move(value)); return *this;}
49 inline UpdateNotebookRequest& WithNotebookId(const char* value) { SetNotebookId(value); return *this;}
51
53
56 inline const Aws::String& GetPayload() const{ return m_payload; }
57 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
58 inline void SetPayload(const Aws::String& value) { m_payloadHasBeenSet = true; m_payload = value; }
59 inline void SetPayload(Aws::String&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
60 inline void SetPayload(const char* value) { m_payloadHasBeenSet = true; m_payload.assign(value); }
61 inline UpdateNotebookRequest& WithPayload(const Aws::String& value) { SetPayload(value); return *this;}
62 inline UpdateNotebookRequest& WithPayload(Aws::String&& value) { SetPayload(std::move(value)); return *this;}
63 inline UpdateNotebookRequest& WithPayload(const char* value) { SetPayload(value); return *this;}
65
67
71 inline const NotebookType& GetType() const{ return m_type; }
72 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
73 inline void SetType(const NotebookType& value) { m_typeHasBeenSet = true; m_type = value; }
74 inline void SetType(NotebookType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
75 inline UpdateNotebookRequest& WithType(const NotebookType& value) { SetType(value); return *this;}
76 inline UpdateNotebookRequest& WithType(NotebookType&& value) { SetType(std::move(value)); return *this;}
78
80
84 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
85 inline bool SessionIdHasBeenSet() const { return m_sessionIdHasBeenSet; }
86 inline void SetSessionId(const Aws::String& value) { m_sessionIdHasBeenSet = true; m_sessionId = value; }
87 inline void SetSessionId(Aws::String&& value) { m_sessionIdHasBeenSet = true; m_sessionId = std::move(value); }
88 inline void SetSessionId(const char* value) { m_sessionIdHasBeenSet = true; m_sessionId.assign(value); }
89 inline UpdateNotebookRequest& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
90 inline UpdateNotebookRequest& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
91 inline UpdateNotebookRequest& WithSessionId(const char* value) { SetSessionId(value); return *this;}
93
95
103 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
104 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
105 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
106 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
107 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
109 inline UpdateNotebookRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
110 inline UpdateNotebookRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
112 private:
113
114 Aws::String m_notebookId;
115 bool m_notebookIdHasBeenSet = false;
116
117 Aws::String m_payload;
118 bool m_payloadHasBeenSet = false;
119
120 NotebookType m_type;
121 bool m_typeHasBeenSet = false;
122
123 Aws::String m_sessionId;
124 bool m_sessionIdHasBeenSet = false;
125
126 Aws::String m_clientRequestToken;
127 bool m_clientRequestTokenHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Athena
132} // namespace Aws
AWS_ATHENA_API Aws::String SerializePayload() const override
UpdateNotebookRequest & WithNotebookId(const Aws::String &value)
UpdateNotebookRequest & WithType(const NotebookType &value)
UpdateNotebookRequest & WithClientRequestToken(const char *value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNotebookRequest & WithSessionId(const Aws::String &value)
void SetNotebookId(const Aws::String &value)
void SetSessionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateNotebookRequest & WithPayload(const Aws::String &value)
UpdateNotebookRequest & WithSessionId(const char *value)
UpdateNotebookRequest & WithClientRequestToken(const Aws::String &value)
UpdateNotebookRequest & WithPayload(Aws::String &&value)
UpdateNotebookRequest & WithNotebookId(const char *value)
void SetClientRequestToken(const Aws::String &value)
UpdateNotebookRequest & WithNotebookId(Aws::String &&value)
UpdateNotebookRequest & WithClientRequestToken(Aws::String &&value)
UpdateNotebookRequest & WithSessionId(Aws::String &&value)
UpdateNotebookRequest & WithType(NotebookType &&value)
UpdateNotebookRequest & WithPayload(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String