AWS SDK for C++

AWS SDK for C++ Version 1.11.807

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/SourceLocation.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API StartNotebookImportRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "StartNotebookImport"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
57 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
58 template <typename OwningProjectIdentifierT = Aws::String>
59 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
60 m_owningProjectIdentifierHasBeenSet = true;
61 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
62 }
63 template <typename OwningProjectIdentifierT = Aws::String>
64 StartNotebookImportRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
65 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
66 return *this;
67 }
69
71
75 inline const SourceLocation& GetSourceLocation() const { return m_sourceLocation; }
76 inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; }
77 template <typename SourceLocationT = SourceLocation>
78 void SetSourceLocation(SourceLocationT&& value) {
79 m_sourceLocationHasBeenSet = true;
80 m_sourceLocation = std::forward<SourceLocationT>(value);
81 }
82 template <typename SourceLocationT = SourceLocation>
84 SetSourceLocation(std::forward<SourceLocationT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template <typename NameT = Aws::String>
97 void SetName(NameT&& value) {
98 m_nameHasBeenSet = true;
99 m_name = std::forward<NameT>(value);
100 }
101 template <typename NameT = Aws::String>
103 SetName(std::forward<NameT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetDescription() const { return m_description; }
113 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
114 template <typename DescriptionT = Aws::String>
115 void SetDescription(DescriptionT&& value) {
116 m_descriptionHasBeenSet = true;
117 m_description = std::forward<DescriptionT>(value);
118 }
119 template <typename DescriptionT = Aws::String>
121 SetDescription(std::forward<DescriptionT>(value));
122 return *this;
123 }
125
127
131 inline const Aws::String& GetClientToken() const { return m_clientToken; }
132 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
133 template <typename ClientTokenT = Aws::String>
134 void SetClientToken(ClientTokenT&& value) {
135 m_clientTokenHasBeenSet = true;
136 m_clientToken = std::forward<ClientTokenT>(value);
137 }
138 template <typename ClientTokenT = Aws::String>
140 SetClientToken(std::forward<ClientTokenT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_domainIdentifier;
146
147 Aws::String m_owningProjectIdentifier;
148
149 SourceLocation m_sourceLocation;
150
151 Aws::String m_name;
152
153 Aws::String m_description;
154
156 bool m_domainIdentifierHasBeenSet = false;
157 bool m_owningProjectIdentifierHasBeenSet = false;
158 bool m_sourceLocationHasBeenSet = false;
159 bool m_nameHasBeenSet = false;
160 bool m_descriptionHasBeenSet = false;
161 bool m_clientTokenHasBeenSet = true;
162};
163
164} // namespace Model
165} // namespace DataZone
166} // 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)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String