AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::String& GetExportId() const { return m_exportId; }
44 template<typename ExportIdT = Aws::String>
45 void SetExportId(ExportIdT&& value) { m_exportIdHasBeenSet = true; m_exportId = std::forward<ExportIdT>(value); }
46 template<typename ExportIdT = Aws::String>
47 CreateExportResult& WithExportId(ExportIdT&& value) { SetExportId(std::forward<ExportIdT>(value)); return *this;}
49
51
55 inline const ExportResourceSpecification& GetResourceSpecification() const { return m_resourceSpecification; }
56 template<typename ResourceSpecificationT = ExportResourceSpecification>
57 void SetResourceSpecification(ResourceSpecificationT&& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = std::forward<ResourceSpecificationT>(value); }
58 template<typename ResourceSpecificationT = ExportResourceSpecification>
59 CreateExportResult& WithResourceSpecification(ResourceSpecificationT&& value) { SetResourceSpecification(std::forward<ResourceSpecificationT>(value)); return *this;}
61
63
66 inline ImportExportFileFormat GetFileFormat() const { return m_fileFormat; }
67 inline void SetFileFormat(ImportExportFileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
70
72
79 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
80 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
81 inline CreateExportResult& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
89 template<typename CreationDateTimeT = Aws::Utils::DateTime>
90 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
91 template<typename CreationDateTimeT = Aws::Utils::DateTime>
92 CreateExportResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template<typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
100 template<typename RequestIdT = Aws::String>
101 CreateExportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
103 private:
104
105 Aws::String m_exportId;
106 bool m_exportIdHasBeenSet = false;
107
108 ExportResourceSpecification m_resourceSpecification;
109 bool m_resourceSpecificationHasBeenSet = false;
110
112 bool m_fileFormatHasBeenSet = false;
113
114 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
115 bool m_exportStatusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDateTime{};
118 bool m_creationDateTimeHasBeenSet = false;
119
120 Aws::String m_requestId;
121 bool m_requestIdHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace LexModelsV2
126} // namespace Aws
CreateExportResult & WithExportId(ExportIdT &&value)
CreateExportResult & WithExportStatus(ExportStatus value)
CreateExportResult & WithRequestId(RequestIdT &&value)
CreateExportResult & WithResourceSpecification(ResourceSpecificationT &&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)
ImportExportFileFormat GetFileFormat() const
AWS_LEXMODELSV2_API CreateExportResult()=default
CreateExportResult & WithFileFormat(ImportExportFileFormat value)
void SetFileFormat(ImportExportFileFormat value)
void SetResourceSpecification(ResourceSpecificationT &&value)
const ExportResourceSpecification & GetResourceSpecification() const
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateExportResult & WithCreationDateTime(CreationDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue