AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeExportResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/ExportResourceSpecification.h>
10#include <aws/lexv2-models/model/ImportExportFileFormat.h>
11#include <aws/lexv2-models/model/ExportStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace LexModelsV2
29{
30namespace Model
31{
33 {
34 public:
35 AWS_LEXMODELSV2_API DescribeExportResult() = default;
38
39
41
44 inline const Aws::String& GetExportId() const { return m_exportId; }
45 template<typename ExportIdT = Aws::String>
46 void SetExportId(ExportIdT&& value) { m_exportIdHasBeenSet = true; m_exportId = std::forward<ExportIdT>(value); }
47 template<typename ExportIdT = Aws::String>
48 DescribeExportResult& WithExportId(ExportIdT&& value) { SetExportId(std::forward<ExportIdT>(value)); return *this;}
50
52
56 inline const ExportResourceSpecification& GetResourceSpecification() const { return m_resourceSpecification; }
57 template<typename ResourceSpecificationT = ExportResourceSpecification>
58 void SetResourceSpecification(ResourceSpecificationT&& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = std::forward<ResourceSpecificationT>(value); }
59 template<typename ResourceSpecificationT = ExportResourceSpecification>
60 DescribeExportResult& WithResourceSpecification(ResourceSpecificationT&& value) { SetResourceSpecification(std::forward<ResourceSpecificationT>(value)); return *this;}
62
64
67 inline ImportExportFileFormat GetFileFormat() const { return m_fileFormat; }
68 inline void SetFileFormat(ImportExportFileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
71
73
77 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
78 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
79 inline DescribeExportResult& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
81
83
87 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
88 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
89 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
90 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
91 DescribeExportResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
92 template<typename FailureReasonsT = Aws::String>
93 DescribeExportResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
95
97
102 inline const Aws::String& GetDownloadUrl() const { return m_downloadUrl; }
103 template<typename DownloadUrlT = Aws::String>
104 void SetDownloadUrl(DownloadUrlT&& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = std::forward<DownloadUrlT>(value); }
105 template<typename DownloadUrlT = Aws::String>
106 DescribeExportResult& WithDownloadUrl(DownloadUrlT&& value) { SetDownloadUrl(std::forward<DownloadUrlT>(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
114 template<typename CreationDateTimeT = Aws::Utils::DateTime>
115 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
116 template<typename CreationDateTimeT = Aws::Utils::DateTime>
117 DescribeExportResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
125 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
126 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
127 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
128 DescribeExportResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template<typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
136 template<typename RequestIdT = Aws::String>
137 DescribeExportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
139 private:
140
141 Aws::String m_exportId;
142 bool m_exportIdHasBeenSet = false;
143
144 ExportResourceSpecification m_resourceSpecification;
145 bool m_resourceSpecificationHasBeenSet = false;
146
148 bool m_fileFormatHasBeenSet = false;
149
150 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
151 bool m_exportStatusHasBeenSet = false;
152
153 Aws::Vector<Aws::String> m_failureReasons;
154 bool m_failureReasonsHasBeenSet = false;
155
156 Aws::String m_downloadUrl;
157 bool m_downloadUrlHasBeenSet = false;
158
159 Aws::Utils::DateTime m_creationDateTime{};
160 bool m_creationDateTimeHasBeenSet = false;
161
162 Aws::Utils::DateTime m_lastUpdatedDateTime{};
163 bool m_lastUpdatedDateTimeHasBeenSet = false;
164
165 Aws::String m_requestId;
166 bool m_requestIdHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace LexModelsV2
171} // namespace Aws
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API DescribeExportResult()=default
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExportResult & WithDownloadUrl(DownloadUrlT &&value)
AWS_LEXMODELSV2_API DescribeExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ExportResourceSpecification & GetResourceSpecification() const
DescribeExportResult & AddFailureReasons(FailureReasonsT &&value)
DescribeExportResult & WithRequestId(RequestIdT &&value)
void SetResourceSpecification(ResourceSpecificationT &&value)
DescribeExportResult & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeExportResult & WithCreationDateTime(CreationDateTimeT &&value)
DescribeExportResult & WithResourceSpecification(ResourceSpecificationT &&value)
void SetFileFormat(ImportExportFileFormat value)
DescribeExportResult & WithExportStatus(ExportStatus value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DescribeExportResult & WithExportId(ExportIdT &&value)
DescribeExportResult & WithFailureReasons(FailureReasonsT &&value)
DescribeExportResult & WithFileFormat(ImportExportFileFormat value)
const Aws::Utils::DateTime & GetCreationDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue