AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
StartNotebookImportRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/NotebookType.h>
12#include <aws/datazone/model/SourceLocation.h>
13
14#include <utility>
15
16namespace Aws {
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API StartNotebookImportRequest() = default;
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 "StartNotebookImport"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
40 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
41 template <typename DomainIdentifierT = Aws::String>
42 void SetDomainIdentifier(DomainIdentifierT&& value) {
43 m_domainIdentifierHasBeenSet = true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
45 }
46 template <typename DomainIdentifierT = Aws::String>
48 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
58 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
59 template <typename OwningProjectIdentifierT = Aws::String>
60 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
61 m_owningProjectIdentifierHasBeenSet = true;
62 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
63 }
64 template <typename OwningProjectIdentifierT = Aws::String>
65 StartNotebookImportRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
66 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
67 return *this;
68 }
70
72
77 inline const SourceLocation& GetSourceLocation() const { return m_sourceLocation; }
78 inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; }
79 template <typename SourceLocationT = SourceLocation>
80 void SetSourceLocation(SourceLocationT&& value) {
81 m_sourceLocationHasBeenSet = true;
82 m_sourceLocation = std::forward<SourceLocationT>(value);
83 }
84 template <typename SourceLocationT = SourceLocation>
86 SetSourceLocation(std::forward<SourceLocationT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetName() const { return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 template <typename NameT = Aws::String>
99 void SetName(NameT&& value) {
100 m_nameHasBeenSet = true;
101 m_name = std::forward<NameT>(value);
102 }
103 template <typename NameT = Aws::String>
105 SetName(std::forward<NameT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetDescription() const { return m_description; }
115 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
116 template <typename DescriptionT = Aws::String>
117 void SetDescription(DescriptionT&& value) {
118 m_descriptionHasBeenSet = true;
119 m_description = std::forward<DescriptionT>(value);
120 }
121 template <typename DescriptionT = Aws::String>
123 SetDescription(std::forward<DescriptionT>(value));
124 return *this;
125 }
127
129
133 inline NotebookType GetType() const { return m_type; }
134 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
135 inline void SetType(NotebookType value) {
136 m_typeHasBeenSet = true;
137 m_type = value;
138 }
140 SetType(value);
141 return *this;
142 }
144
146
150 inline const Aws::String& GetClientToken() const { return m_clientToken; }
151 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
152 template <typename ClientTokenT = Aws::String>
153 void SetClientToken(ClientTokenT&& value) {
154 m_clientTokenHasBeenSet = true;
155 m_clientToken = std::forward<ClientTokenT>(value);
156 }
157 template <typename ClientTokenT = Aws::String>
159 SetClientToken(std::forward<ClientTokenT>(value));
160 return *this;
161 }
163 private:
164 Aws::String m_domainIdentifier;
165
166 Aws::String m_owningProjectIdentifier;
167
168 SourceLocation m_sourceLocation;
169
170 Aws::String m_name;
171
172 Aws::String m_description;
173
175
177 bool m_domainIdentifierHasBeenSet = false;
178 bool m_owningProjectIdentifierHasBeenSet = false;
179 bool m_sourceLocationHasBeenSet = false;
180 bool m_nameHasBeenSet = false;
181 bool m_descriptionHasBeenSet = false;
182 bool m_typeHasBeenSet = false;
183 bool m_clientTokenHasBeenSet = true;
184};
185
186} // namespace Model
187} // namespace DataZone
188} // namespace Aws
AWS_DATAZONE_API StartNotebookImportRequest()=default
StartNotebookImportRequest & WithClientToken(ClientTokenT &&value)
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
StartNotebookImportRequest & WithName(NameT &&value)
StartNotebookImportRequest & WithDomainIdentifier(DomainIdentifierT &&value)
StartNotebookImportRequest & WithDescription(DescriptionT &&value)
StartNotebookImportRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
StartNotebookImportRequest & WithSourceLocation(SourceLocationT &&value)
StartNotebookImportRequest & WithType(NotebookType value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String