AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateExportResult.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/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELSV2_API CreateExportResult();
37
38
40
43 inline const Aws::String& GetExportId() const{ return m_exportId; }
44 inline void SetExportId(const Aws::String& value) { m_exportId = value; }
45 inline void SetExportId(Aws::String&& value) { m_exportId = std::move(value); }
46 inline void SetExportId(const char* value) { m_exportId.assign(value); }
47 inline CreateExportResult& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
48 inline CreateExportResult& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
49 inline CreateExportResult& WithExportId(const char* value) { SetExportId(value); return *this;}
51
53
57 inline const ExportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
58 inline void SetResourceSpecification(const ExportResourceSpecification& value) { m_resourceSpecification = value; }
59 inline void SetResourceSpecification(ExportResourceSpecification&& value) { m_resourceSpecification = std::move(value); }
63
65
68 inline const ImportExportFileFormat& GetFileFormat() const{ return m_fileFormat; }
69 inline void SetFileFormat(const ImportExportFileFormat& value) { m_fileFormat = value; }
70 inline void SetFileFormat(ImportExportFileFormat&& value) { m_fileFormat = std::move(value); }
71 inline CreateExportResult& WithFileFormat(const ImportExportFileFormat& value) { SetFileFormat(value); return *this;}
72 inline CreateExportResult& WithFileFormat(ImportExportFileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
74
76
83 inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; }
84 inline void SetExportStatus(const ExportStatus& value) { m_exportStatus = value; }
85 inline void SetExportStatus(ExportStatus&& value) { m_exportStatus = std::move(value); }
86 inline CreateExportResult& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;}
87 inline CreateExportResult& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
95 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
96 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
98 inline CreateExportResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline CreateExportResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline CreateExportResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline CreateExportResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 Aws::String m_exportId;
114
115 ExportResourceSpecification m_resourceSpecification;
116
117 ImportExportFileFormat m_fileFormat;
118
119 ExportStatus m_exportStatus;
120
121 Aws::Utils::DateTime m_creationDateTime;
122
123 Aws::String m_requestId;
124 };
125
126} // namespace Model
127} // namespace LexModelsV2
128} // namespace Aws
void SetExportStatus(const ExportStatus &value)
CreateExportResult & WithRequestId(Aws::String &&value)
CreateExportResult & WithExportId(Aws::String &&value)
void SetResourceSpecification(const ExportResourceSpecification &value)
CreateExportResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateExportResult & WithExportStatus(const ExportStatus &value)
CreateExportResult & WithResourceSpecification(ExportResourceSpecification &&value)
void SetFileFormat(const ImportExportFileFormat &value)
void SetRequestId(const Aws::String &value)
CreateExportResult & WithResourceSpecification(const ExportResourceSpecification &value)
void SetFileFormat(ImportExportFileFormat &&value)
void SetResourceSpecification(ExportResourceSpecification &&value)
CreateExportResult & WithFileFormat(const ImportExportFileFormat &value)
CreateExportResult & WithRequestId(const Aws::String &value)
CreateExportResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_LEXMODELSV2_API CreateExportResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API CreateExportResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ImportExportFileFormat & GetFileFormat() const
CreateExportResult & WithRequestId(const char *value)
void SetExportId(const Aws::String &value)
const ExportResourceSpecification & GetResourceSpecification() const
CreateExportResult & WithFileFormat(ImportExportFileFormat &&value)
CreateExportResult & WithExportId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateExportResult & WithExportStatus(ExportStatus &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
CreateExportResult & WithExportId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue