AWS SDK for C++

AWS SDK for C++ Version 1.11.870

Loading...
Searching...
No Matches
StartNotebookSyncRequest.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/GitMetadata.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 StartNotebookSyncRequest() = 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 "StartNotebookSync"; }
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>
47 StartNotebookSyncRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
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 StartNotebookSyncRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
66 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
67 return *this;
68 }
70
72
76 inline const SourceLocation& GetSourceLocation() const { return m_sourceLocation; }
77 inline bool SourceLocationHasBeenSet() const { return m_sourceLocationHasBeenSet; }
78 template <typename SourceLocationT = SourceLocation>
79 void SetSourceLocation(SourceLocationT&& value) {
80 m_sourceLocationHasBeenSet = true;
81 m_sourceLocation = std::forward<SourceLocationT>(value);
82 }
83 template <typename SourceLocationT = SourceLocation>
84 StartNotebookSyncRequest& WithSourceLocation(SourceLocationT&& value) {
85 SetSourceLocation(std::forward<SourceLocationT>(value));
86 return *this;
87 }
89
91
95 inline const GitMetadata& GetGitMetadata() const { return m_gitMetadata; }
96 inline bool GitMetadataHasBeenSet() const { return m_gitMetadataHasBeenSet; }
97 template <typename GitMetadataT = GitMetadata>
98 void SetGitMetadata(GitMetadataT&& value) {
99 m_gitMetadataHasBeenSet = true;
100 m_gitMetadata = std::forward<GitMetadataT>(value);
101 }
102 template <typename GitMetadataT = GitMetadata>
104 SetGitMetadata(std::forward<GitMetadataT>(value));
105 return *this;
106 }
108
110
114 inline const Aws::String& GetNotebookId() const { return m_notebookId; }
115 inline bool NotebookIdHasBeenSet() const { return m_notebookIdHasBeenSet; }
116 template <typename NotebookIdT = Aws::String>
117 void SetNotebookId(NotebookIdT&& value) {
118 m_notebookIdHasBeenSet = true;
119 m_notebookId = std::forward<NotebookIdT>(value);
120 }
121 template <typename NotebookIdT = Aws::String>
123 SetNotebookId(std::forward<NotebookIdT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetName() const { return m_name; }
133 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 template <typename NameT = Aws::String>
135 void SetName(NameT&& value) {
136 m_nameHasBeenSet = true;
137 m_name = std::forward<NameT>(value);
138 }
139 template <typename NameT = Aws::String>
141 SetName(std::forward<NameT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetDescription() const { return m_description; }
151 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
152 template <typename DescriptionT = Aws::String>
153 void SetDescription(DescriptionT&& value) {
154 m_descriptionHasBeenSet = true;
155 m_description = std::forward<DescriptionT>(value);
156 }
157 template <typename DescriptionT = Aws::String>
159 SetDescription(std::forward<DescriptionT>(value));
160 return *this;
161 }
163
165
169 inline const Aws::String& GetClientToken() const { return m_clientToken; }
170 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
171 template <typename ClientTokenT = Aws::String>
172 void SetClientToken(ClientTokenT&& value) {
173 m_clientTokenHasBeenSet = true;
174 m_clientToken = std::forward<ClientTokenT>(value);
175 }
176 template <typename ClientTokenT = Aws::String>
178 SetClientToken(std::forward<ClientTokenT>(value));
179 return *this;
180 }
182 private:
183 Aws::String m_domainIdentifier;
184
185 Aws::String m_owningProjectIdentifier;
186
187 SourceLocation m_sourceLocation;
188
189 GitMetadata m_gitMetadata;
190
191 Aws::String m_notebookId;
192
193 Aws::String m_name;
194
195 Aws::String m_description;
196
198 bool m_domainIdentifierHasBeenSet = false;
199 bool m_owningProjectIdentifierHasBeenSet = false;
200 bool m_sourceLocationHasBeenSet = false;
201 bool m_gitMetadataHasBeenSet = false;
202 bool m_notebookIdHasBeenSet = false;
203 bool m_nameHasBeenSet = false;
204 bool m_descriptionHasBeenSet = false;
205 bool m_clientTokenHasBeenSet = true;
206};
207
208} // namespace Model
209} // namespace DataZone
210} // namespace Aws
StartNotebookSyncRequest & WithName(NameT &&value)
StartNotebookSyncRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
StartNotebookSyncRequest & WithGitMetadata(GitMetadataT &&value)
StartNotebookSyncRequest & WithDescription(DescriptionT &&value)
StartNotebookSyncRequest & WithSourceLocation(SourceLocationT &&value)
StartNotebookSyncRequest & WithClientToken(ClientTokenT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
StartNotebookSyncRequest & WithNotebookId(NotebookIdT &&value)
StartNotebookSyncRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API StartNotebookSyncRequest()=default
virtual const char * GetServiceRequestName() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String