AWS SDK for C++

AWS SDK for C++ Version 1.11.807

Loading...
Searching...
No Matches
StartNotebookExportRequest.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/FileFormat.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API StartNotebookExportRequest() = 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 "StartNotebookExport"; }
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& GetNotebookIdentifier() const { return m_notebookIdentifier; }
57 inline bool NotebookIdentifierHasBeenSet() const { return m_notebookIdentifierHasBeenSet; }
58 template <typename NotebookIdentifierT = Aws::String>
59 void SetNotebookIdentifier(NotebookIdentifierT&& value) {
60 m_notebookIdentifierHasBeenSet = true;
61 m_notebookIdentifier = std::forward<NotebookIdentifierT>(value);
62 }
63 template <typename NotebookIdentifierT = Aws::String>
64 StartNotebookExportRequest& WithNotebookIdentifier(NotebookIdentifierT&& value) {
65 SetNotebookIdentifier(std::forward<NotebookIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetOwningProjectIdentifier() const { return m_owningProjectIdentifier; }
75 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
76 template <typename OwningProjectIdentifierT = Aws::String>
77 void SetOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
78 m_owningProjectIdentifierHasBeenSet = true;
79 m_owningProjectIdentifier = std::forward<OwningProjectIdentifierT>(value);
80 }
81 template <typename OwningProjectIdentifierT = Aws::String>
82 StartNotebookExportRequest& WithOwningProjectIdentifier(OwningProjectIdentifierT&& value) {
83 SetOwningProjectIdentifier(std::forward<OwningProjectIdentifierT>(value));
84 return *this;
85 }
87
89
93 inline FileFormat GetFileFormat() const { return m_fileFormat; }
94 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
95 inline void SetFileFormat(FileFormat value) {
96 m_fileFormatHasBeenSet = true;
97 m_fileFormat = value;
98 }
100 SetFileFormat(value);
101 return *this;
102 }
104
106
110 inline const Aws::String& GetClientToken() const { return m_clientToken; }
111 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
112 template <typename ClientTokenT = Aws::String>
113 void SetClientToken(ClientTokenT&& value) {
114 m_clientTokenHasBeenSet = true;
115 m_clientToken = std::forward<ClientTokenT>(value);
116 }
117 template <typename ClientTokenT = Aws::String>
119 SetClientToken(std::forward<ClientTokenT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_domainIdentifier;
125
126 Aws::String m_notebookIdentifier;
127
128 Aws::String m_owningProjectIdentifier;
129
130 FileFormat m_fileFormat{FileFormat::NOT_SET};
131
133 bool m_domainIdentifierHasBeenSet = false;
134 bool m_notebookIdentifierHasBeenSet = false;
135 bool m_owningProjectIdentifierHasBeenSet = false;
136 bool m_fileFormatHasBeenSet = false;
137 bool m_clientTokenHasBeenSet = true;
138};
139
140} // namespace Model
141} // namespace DataZone
142} // namespace Aws
StartNotebookExportRequest & WithNotebookIdentifier(NotebookIdentifierT &&value)
StartNotebookExportRequest & WithOwningProjectIdentifier(OwningProjectIdentifierT &&value)
StartNotebookExportRequest & WithFileFormat(FileFormat value)
StartNotebookExportRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API StartNotebookExportRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetOwningProjectIdentifier(OwningProjectIdentifierT &&value)
StartNotebookExportRequest & WithClientToken(ClientTokenT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String