AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImportNotebookRequest.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 ImportNotebookRequest() = 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 "ImportNotebook"; }
32
33 AWS_ATHENA_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
43 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
44 template<typename WorkGroupT = Aws::String>
45 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
46 template<typename WorkGroupT = Aws::String>
47 ImportNotebookRequest& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 ImportNotebookRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
67 inline const Aws::String& GetPayload() const { return m_payload; }
68 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
69 template<typename PayloadT = Aws::String>
70 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
71 template<typename PayloadT = Aws::String>
72 ImportNotebookRequest& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
74
76
80 inline NotebookType GetType() const { return m_type; }
81 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
82 inline void SetType(NotebookType value) { m_typeHasBeenSet = true; m_type = value; }
83 inline ImportNotebookRequest& WithType(NotebookType value) { SetType(value); return *this;}
85
87
91 inline const Aws::String& GetNotebookS3LocationUri() const { return m_notebookS3LocationUri; }
92 inline bool NotebookS3LocationUriHasBeenSet() const { return m_notebookS3LocationUriHasBeenSet; }
93 template<typename NotebookS3LocationUriT = Aws::String>
94 void SetNotebookS3LocationUri(NotebookS3LocationUriT&& value) { m_notebookS3LocationUriHasBeenSet = true; m_notebookS3LocationUri = std::forward<NotebookS3LocationUriT>(value); }
95 template<typename NotebookS3LocationUriT = Aws::String>
96 ImportNotebookRequest& WithNotebookS3LocationUri(NotebookS3LocationUriT&& value) { SetNotebookS3LocationUri(std::forward<NotebookS3LocationUriT>(value)); return *this;}
98
100
108 inline const Aws::String& GetClientRequestToken() const { return m_clientRequestToken; }
109 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
110 template<typename ClientRequestTokenT = Aws::String>
111 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
112 template<typename ClientRequestTokenT = Aws::String>
113 ImportNotebookRequest& WithClientRequestToken(ClientRequestTokenT&& value) { SetClientRequestToken(std::forward<ClientRequestTokenT>(value)); return *this;}
115 private:
116
117 Aws::String m_workGroup;
118 bool m_workGroupHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_payload;
124 bool m_payloadHasBeenSet = false;
125
127 bool m_typeHasBeenSet = false;
128
129 Aws::String m_notebookS3LocationUri;
130 bool m_notebookS3LocationUriHasBeenSet = false;
131
132 Aws::String m_clientRequestToken;
133 bool m_clientRequestTokenHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace Athena
138} // 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