AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateNotebookMetadataRequest.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 <utility>
11
12namespace Aws
13{
14namespace Athena
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateNotebookMetadata"; }
31
32 AWS_ATHENA_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetNotebookId() const{ return m_notebookId; }
42 inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; }
43 inline void SetNotebookId(const Aws::String& value) { m_notebookIdHasBeenSet = true; m_notebookId = value; }
44 inline void SetNotebookId(Aws::String&& value) { m_notebookIdHasBeenSet = true; m_notebookId = std::move(value); }
45 inline void SetNotebookId(const char* value) { m_notebookIdHasBeenSet = true; m_notebookId.assign(value); }
46 inline UpdateNotebookMetadataRequest& WithNotebookId(const Aws::String& value) { SetNotebookId(value); return *this;}
47 inline UpdateNotebookMetadataRequest& WithNotebookId(Aws::String&& value) { SetNotebookId(std::move(value)); return *this;}
48 inline UpdateNotebookMetadataRequest& WithNotebookId(const char* value) { SetNotebookId(value); return *this;}
50
52
60 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
61 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
62 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
63 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
64 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
67 inline UpdateNotebookMetadataRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
69
71
74 inline const Aws::String& GetName() const{ return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
77 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
78 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
79 inline UpdateNotebookMetadataRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
80 inline UpdateNotebookMetadataRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
81 inline UpdateNotebookMetadataRequest& WithName(const char* value) { SetName(value); return *this;}
83 private:
84
85 Aws::String m_notebookId;
86 bool m_notebookIdHasBeenSet = false;
87
88 Aws::String m_clientRequestToken;
89 bool m_clientRequestTokenHasBeenSet = false;
90
91 Aws::String m_name;
92 bool m_nameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace Athena
97} // namespace Aws
UpdateNotebookMetadataRequest & WithName(const Aws::String &value)
AWS_ATHENA_API Aws::String SerializePayload() const override
UpdateNotebookMetadataRequest & WithNotebookId(const Aws::String &value)
UpdateNotebookMetadataRequest & WithClientRequestToken(const Aws::String &value)
UpdateNotebookMetadataRequest & WithName(const char *value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNotebookMetadataRequest & WithNotebookId(Aws::String &&value)
UpdateNotebookMetadataRequest & WithNotebookId(const char *value)
UpdateNotebookMetadataRequest & WithName(Aws::String &&value)
UpdateNotebookMetadataRequest & WithClientRequestToken(const char *value)
UpdateNotebookMetadataRequest & WithClientRequestToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String