AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
45 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
46 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
47 inline ImportNotebookRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
48 inline ImportNotebookRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
49 inline ImportNotebookRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
51
53
56 inline const Aws::String& GetName() const{ return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
59 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
61 inline ImportNotebookRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
62 inline ImportNotebookRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
63 inline ImportNotebookRequest& WithName(const char* value) { SetName(value); return *this;}
65
67
71 inline const Aws::String& GetPayload() const{ return m_payload; }
72 inline bool PayloadHasBeenSet() const { return m_payloadHasBeenSet; }
73 inline void SetPayload(const Aws::String& value) { m_payloadHasBeenSet = true; m_payload = value; }
74 inline void SetPayload(Aws::String&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
75 inline void SetPayload(const char* value) { m_payloadHasBeenSet = true; m_payload.assign(value); }
76 inline ImportNotebookRequest& WithPayload(const Aws::String& value) { SetPayload(value); return *this;}
77 inline ImportNotebookRequest& WithPayload(Aws::String&& value) { SetPayload(std::move(value)); return *this;}
78 inline ImportNotebookRequest& WithPayload(const char* value) { SetPayload(value); return *this;}
80
82
86 inline const NotebookType& GetType() const{ return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(const NotebookType& value) { m_typeHasBeenSet = true; m_type = value; }
89 inline void SetType(NotebookType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
90 inline ImportNotebookRequest& WithType(const NotebookType& value) { SetType(value); return *this;}
91 inline ImportNotebookRequest& WithType(NotebookType&& value) { SetType(std::move(value)); return *this;}
93
95
99 inline const Aws::String& GetNotebookS3LocationUri() const{ return m_notebookS3LocationUri; }
100 inline bool NotebookS3LocationUriHasBeenSet() const { return m_notebookS3LocationUriHasBeenSet; }
101 inline void SetNotebookS3LocationUri(const Aws::String& value) { m_notebookS3LocationUriHasBeenSet = true; m_notebookS3LocationUri = value; }
102 inline void SetNotebookS3LocationUri(Aws::String&& value) { m_notebookS3LocationUriHasBeenSet = true; m_notebookS3LocationUri = std::move(value); }
103 inline void SetNotebookS3LocationUri(const char* value) { m_notebookS3LocationUriHasBeenSet = true; m_notebookS3LocationUri.assign(value); }
105 inline ImportNotebookRequest& WithNotebookS3LocationUri(Aws::String&& value) { SetNotebookS3LocationUri(std::move(value)); return *this;}
106 inline ImportNotebookRequest& WithNotebookS3LocationUri(const char* value) { SetNotebookS3LocationUri(value); return *this;}
108
110
118 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
119 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
120 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
121 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
122 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
124 inline ImportNotebookRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
125 inline ImportNotebookRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
127 private:
128
129 Aws::String m_workGroup;
130 bool m_workGroupHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_payload;
136 bool m_payloadHasBeenSet = false;
137
138 NotebookType m_type;
139 bool m_typeHasBeenSet = false;
140
141 Aws::String m_notebookS3LocationUri;
142 bool m_notebookS3LocationUriHasBeenSet = false;
143
144 Aws::String m_clientRequestToken;
145 bool m_clientRequestTokenHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace Athena
150} // namespace Aws
const Aws::String & GetNotebookS3LocationUri() const
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportNotebookRequest & WithNotebookS3LocationUri(const char *value)
void SetWorkGroup(const Aws::String &value)
ImportNotebookRequest & WithNotebookS3LocationUri(const Aws::String &value)
ImportNotebookRequest & WithClientRequestToken(Aws::String &&value)
ImportNotebookRequest & WithPayload(Aws::String &&value)
ImportNotebookRequest & WithWorkGroup(Aws::String &&value)
ImportNotebookRequest & WithWorkGroup(const char *value)
ImportNotebookRequest & WithType(const NotebookType &value)
ImportNotebookRequest & WithClientRequestToken(const char *value)
ImportNotebookRequest & WithPayload(const Aws::String &value)
AWS_ATHENA_API Aws::String SerializePayload() const override
ImportNotebookRequest & WithName(const Aws::String &value)
ImportNotebookRequest & WithPayload(const char *value)
void SetClientRequestToken(const Aws::String &value)
ImportNotebookRequest & WithName(Aws::String &&value)
ImportNotebookRequest & WithWorkGroup(const Aws::String &value)
ImportNotebookRequest & WithClientRequestToken(const Aws::String &value)
ImportNotebookRequest & WithType(NotebookType &&value)
ImportNotebookRequest & WithNotebookS3LocationUri(Aws::String &&value)
void SetNotebookS3LocationUri(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ImportNotebookRequest & WithName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String