AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38
39
41
44 inline const Aws::String& GetExportId() const{ return m_exportId; }
45 inline void SetExportId(const Aws::String& value) { m_exportId = value; }
46 inline void SetExportId(Aws::String&& value) { m_exportId = std::move(value); }
47 inline void SetExportId(const char* value) { m_exportId.assign(value); }
48 inline DescribeExportResult& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
49 inline DescribeExportResult& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
50 inline DescribeExportResult& WithExportId(const char* value) { SetExportId(value); return *this;}
52
54
58 inline const ExportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
59 inline void SetResourceSpecification(const ExportResourceSpecification& value) { m_resourceSpecification = value; }
60 inline void SetResourceSpecification(ExportResourceSpecification&& value) { m_resourceSpecification = std::move(value); }
64
66
69 inline const ImportExportFileFormat& GetFileFormat() const{ return m_fileFormat; }
70 inline void SetFileFormat(const ImportExportFileFormat& value) { m_fileFormat = value; }
71 inline void SetFileFormat(ImportExportFileFormat&& value) { m_fileFormat = std::move(value); }
72 inline DescribeExportResult& WithFileFormat(const ImportExportFileFormat& value) { SetFileFormat(value); return *this;}
73 inline DescribeExportResult& WithFileFormat(ImportExportFileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
75
77
81 inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; }
82 inline void SetExportStatus(const ExportStatus& value) { m_exportStatus = value; }
83 inline void SetExportStatus(ExportStatus&& value) { m_exportStatus = std::move(value); }
84 inline DescribeExportResult& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;}
85 inline DescribeExportResult& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;}
87
89
93 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
94 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
95 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
97 inline DescribeExportResult& WithFailureReasons(Aws::Vector<Aws::String>&& value) { SetFailureReasons(std::move(value)); return *this;}
98 inline DescribeExportResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
99 inline DescribeExportResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
100 inline DescribeExportResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
102
104
109 inline const Aws::String& GetDownloadUrl() const{ return m_downloadUrl; }
110 inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrl = value; }
111 inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrl = std::move(value); }
112 inline void SetDownloadUrl(const char* value) { m_downloadUrl.assign(value); }
113 inline DescribeExportResult& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;}
114 inline DescribeExportResult& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(std::move(value)); return *this;}
115 inline DescribeExportResult& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
123 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
124 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
126 inline DescribeExportResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
134 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTime = value; }
135 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTime = std::move(value); }
139
141
142 inline const Aws::String& GetRequestId() const{ return m_requestId; }
143 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
144 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
145 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
146 inline DescribeExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
147 inline DescribeExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
148 inline DescribeExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
150 private:
151
152 Aws::String m_exportId;
153
154 ExportResourceSpecification m_resourceSpecification;
155
156 ImportExportFileFormat m_fileFormat;
157
158 ExportStatus m_exportStatus;
159
160 Aws::Vector<Aws::String> m_failureReasons;
161
162 Aws::String m_downloadUrl;
163
164 Aws::Utils::DateTime m_creationDateTime;
165
166 Aws::Utils::DateTime m_lastUpdatedDateTime;
167
168 Aws::String m_requestId;
169 };
170
171} // namespace Model
172} // namespace LexModelsV2
173} // namespace Aws
DescribeExportResult & WithResourceSpecification(const ExportResourceSpecification &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetResourceSpecification(const ExportResourceSpecification &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeExportResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
DescribeExportResult & WithRequestId(Aws::String &&value)
const ImportExportFileFormat & GetFileFormat() const
DescribeExportResult & WithExportId(const char *value)
DescribeExportResult & AddFailureReasons(const Aws::String &value)
AWS_LEXMODELSV2_API DescribeExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeExportResult & WithDownloadUrl(const Aws::String &value)
DescribeExportResult & AddFailureReasons(const char *value)
DescribeExportResult & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetExportStatus(const ExportStatus &value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeExportResult & WithExportStatus(const ExportStatus &value)
DescribeExportResult & WithRequestId(const Aws::String &value)
AWS_LEXMODELSV2_API DescribeExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ExportResourceSpecification & GetResourceSpecification() const
DescribeExportResult & WithRequestId(const char *value)
DescribeExportResult & WithResourceSpecification(ExportResourceSpecification &&value)
DescribeExportResult & WithFileFormat(ImportExportFileFormat &&value)
void SetFileFormat(ImportExportFileFormat &&value)
DescribeExportResult & WithDownloadUrl(const char *value)
void SetFileFormat(const ImportExportFileFormat &value)
DescribeExportResult & WithExportStatus(ExportStatus &&value)
DescribeExportResult & AddFailureReasons(Aws::String &&value)
DescribeExportResult & WithExportId(Aws::String &&value)
void SetResourceSpecification(ExportResourceSpecification &&value)
DescribeExportResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeExportResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeExportResult & WithExportId(const Aws::String &value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeExportResult & WithFileFormat(const ImportExportFileFormat &value)
DescribeExportResult & WithDownloadUrl(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DescribeExportResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeExportResult & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&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