AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateExportResult.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 UpdateExportResult() = 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 UpdateExportResult& 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 UpdateExportResult& WithResourceSpecification(ResourceSpecificationT&& value) { SetResourceSpecification(std::forward<ResourceSpecificationT>(value)); return *this;}
61
63
68 inline ImportExportFileFormat GetFileFormat() const { return m_fileFormat; }
69 inline void SetFileFormat(ImportExportFileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
72
74
78 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
79 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
80 inline UpdateExportResult& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
88 template<typename CreationDateTimeT = Aws::Utils::DateTime>
89 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
90 template<typename CreationDateTimeT = Aws::Utils::DateTime>
91 UpdateExportResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
99 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
100 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
101 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 UpdateExportResult& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 UpdateExportResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_exportId;
116 bool m_exportIdHasBeenSet = false;
117
118 ExportResourceSpecification m_resourceSpecification;
119 bool m_resourceSpecificationHasBeenSet = false;
120
122 bool m_fileFormatHasBeenSet = false;
123
124 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
125 bool m_exportStatusHasBeenSet = false;
126
127 Aws::Utils::DateTime m_creationDateTime{};
128 bool m_creationDateTimeHasBeenSet = false;
129
130 Aws::Utils::DateTime m_lastUpdatedDateTime{};
131 bool m_lastUpdatedDateTimeHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace LexModelsV2
139} // 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