AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateExportResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/ExportResourceSpecification.h>
11#include <aws/lexv2-models/model/ExportStatus.h>
12#include <aws/lexv2-models/model/ImportExportFileFormat.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2 {
26namespace Model {
28 public:
29 AWS_LEXMODELSV2_API UpdateExportResult() = default;
32
34
37 inline const Aws::String& GetExportId() const { return m_exportId; }
38 template <typename ExportIdT = Aws::String>
39 void SetExportId(ExportIdT&& value) {
40 m_exportIdHasBeenSet = true;
41 m_exportId = std::forward<ExportIdT>(value);
42 }
43 template <typename ExportIdT = Aws::String>
44 UpdateExportResult& WithExportId(ExportIdT&& value) {
45 SetExportId(std::forward<ExportIdT>(value));
46 return *this;
47 }
49
51
55 inline const ExportResourceSpecification& GetResourceSpecification() const { return m_resourceSpecification; }
56 template <typename ResourceSpecificationT = ExportResourceSpecification>
57 void SetResourceSpecification(ResourceSpecificationT&& value) {
58 m_resourceSpecificationHasBeenSet = true;
59 m_resourceSpecification = std::forward<ResourceSpecificationT>(value);
60 }
61 template <typename ResourceSpecificationT = ExportResourceSpecification>
62 UpdateExportResult& WithResourceSpecification(ResourceSpecificationT&& value) {
63 SetResourceSpecification(std::forward<ResourceSpecificationT>(value));
64 return *this;
65 }
67
69
74 inline ImportExportFileFormat GetFileFormat() const { return m_fileFormat; }
76 m_fileFormatHasBeenSet = true;
77 m_fileFormat = value;
78 }
80 SetFileFormat(value);
81 return *this;
82 }
84
86
90 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
91 inline void SetExportStatus(ExportStatus value) {
92 m_exportStatusHasBeenSet = true;
93 m_exportStatus = value;
94 }
96 SetExportStatus(value);
97 return *this;
98 }
100
102
105 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
106 template <typename CreationDateTimeT = Aws::Utils::DateTime>
107 void SetCreationDateTime(CreationDateTimeT&& value) {
108 m_creationDateTimeHasBeenSet = true;
109 m_creationDateTime = std::forward<CreationDateTimeT>(value);
110 }
111 template <typename CreationDateTimeT = Aws::Utils::DateTime>
112 UpdateExportResult& WithCreationDateTime(CreationDateTimeT&& value) {
113 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
123 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
124 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
125 m_lastUpdatedDateTimeHasBeenSet = true;
126 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
127 }
128 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
129 UpdateExportResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
130 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
131 return *this;
132 }
134
136
137 inline const Aws::String& GetRequestId() const { return m_requestId; }
138 template <typename RequestIdT = Aws::String>
139 void SetRequestId(RequestIdT&& value) {
140 m_requestIdHasBeenSet = true;
141 m_requestId = std::forward<RequestIdT>(value);
142 }
143 template <typename RequestIdT = Aws::String>
144 UpdateExportResult& WithRequestId(RequestIdT&& value) {
145 SetRequestId(std::forward<RequestIdT>(value));
146 return *this;
147 }
149 private:
150 Aws::String m_exportId;
151
152 ExportResourceSpecification m_resourceSpecification;
153
155
156 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
157
158 Aws::Utils::DateTime m_creationDateTime{};
159
160 Aws::Utils::DateTime m_lastUpdatedDateTime{};
161
162 Aws::String m_requestId;
163 bool m_exportIdHasBeenSet = false;
164 bool m_resourceSpecificationHasBeenSet = false;
165 bool m_fileFormatHasBeenSet = false;
166 bool m_exportStatusHasBeenSet = false;
167 bool m_creationDateTimeHasBeenSet = false;
168 bool m_lastUpdatedDateTimeHasBeenSet = false;
169 bool m_requestIdHasBeenSet = false;
170};
171
172} // namespace Model
173} // namespace LexModelsV2
174} // namespace Aws
AWS_LEXMODELSV2_API UpdateExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ImportExportFileFormat GetFileFormat() const
UpdateExportResult & WithResourceSpecification(ResourceSpecificationT &&value)
UpdateExportResult & WithRequestId(RequestIdT &&value)
void SetResourceSpecification(ResourceSpecificationT &&value)
AWS_LEXMODELSV2_API UpdateExportResult()=default
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetCreationDateTime(CreationDateTimeT &&value)
UpdateExportResult & WithFileFormat(ImportExportFileFormat value)
UpdateExportResult & WithExportId(ExportIdT &&value)
void SetFileFormat(ImportExportFileFormat value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
UpdateExportResult & WithCreationDateTime(CreationDateTimeT &&value)
UpdateExportResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const ExportResourceSpecification & GetResourceSpecification() const
AWS_LEXMODELSV2_API UpdateExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateExportResult & WithExportStatus(ExportStatus value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue