AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateNotebookMetadataRequest.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 UpdateNotebookMetadataRequest() = 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 "UpdateNotebookMetadata"; }
28
29 AWS_ATHENA_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
38 inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; }
39 template <typename NotebookIdT = Aws::String>
40 void SetNotebookId(NotebookIdT&& value) {
41 m_notebookIdHasBeenSet = true;
42 m_notebookId = std::forward<NotebookIdT>(value);
43 }
44 template <typename NotebookIdT = Aws::String>
46 SetNotebookId(std::forward<NotebookIdT>(value));
47 return *this;
48 }
50
52
60 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
61 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
62 template <typename ClientRequestTokenT = Aws::String>
63 void SetClientRequestToken(ClientRequestTokenT&& value) {
64 m_clientRequestTokenHasBeenSet = true;
65 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
66 }
67 template <typename ClientRequestTokenT = Aws::String>
69 SetClientRequestToken(std::forward<ClientRequestTokenT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetName() const { return m_name; }
79 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
80 template <typename NameT = Aws::String>
81 void SetName(NameT&& value) {
82 m_nameHasBeenSet = true;
83 m_name = std::forward<NameT>(value);
84 }
85 template <typename NameT = Aws::String>
87 SetName(std::forward<NameT>(value));
88 return *this;
89 }
91 private:
92 Aws::String m_notebookId;
93
94 Aws::String m_clientRequestToken;
95
96 Aws::String m_name;
97 bool m_notebookIdHasBeenSet = false;
98 bool m_clientRequestTokenHasBeenSet = false;
99 bool m_nameHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace Athena
104} // namespace Aws
UpdateNotebookMetadataRequest & WithNotebookId(NotebookIdT &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
UpdateNotebookMetadataRequest & WithClientRequestToken(ClientRequestTokenT &&value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ATHENA_API UpdateNotebookMetadataRequest()=default
UpdateNotebookMetadataRequest & WithName(NameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String