AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ExportSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/ExportResourceSpecification.h>
11#include <aws/lexv2-models/model/ExportStatus.h>
12#include <aws/lexv2-models/model/ImportExportFileFormat.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2 {
24namespace Model {
25
33 public:
34 AWS_LEXMODELSV2_API ExportSummary() = default;
35 AWS_LEXMODELSV2_API ExportSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API ExportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetExportId() const { return m_exportId; }
44 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
45 template <typename ExportIdT = Aws::String>
46 void SetExportId(ExportIdT&& value) {
47 m_exportIdHasBeenSet = true;
48 m_exportId = std::forward<ExportIdT>(value);
49 }
50 template <typename ExportIdT = Aws::String>
51 ExportSummary& WithExportId(ExportIdT&& value) {
52 SetExportId(std::forward<ExportIdT>(value));
53 return *this;
54 }
56
58
61 inline const ExportResourceSpecification& GetResourceSpecification() const { return m_resourceSpecification; }
62 inline bool ResourceSpecificationHasBeenSet() const { return m_resourceSpecificationHasBeenSet; }
63 template <typename ResourceSpecificationT = ExportResourceSpecification>
64 void SetResourceSpecification(ResourceSpecificationT&& value) {
65 m_resourceSpecificationHasBeenSet = true;
66 m_resourceSpecification = std::forward<ResourceSpecificationT>(value);
67 }
68 template <typename ResourceSpecificationT = ExportResourceSpecification>
69 ExportSummary& WithResourceSpecification(ResourceSpecificationT&& value) {
70 SetResourceSpecification(std::forward<ResourceSpecificationT>(value));
71 return *this;
72 }
74
76
79 inline ImportExportFileFormat GetFileFormat() const { return m_fileFormat; }
80 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
82 m_fileFormatHasBeenSet = true;
83 m_fileFormat = value;
84 }
86 SetFileFormat(value);
87 return *this;
88 }
90
92
96 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
97 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
98 inline void SetExportStatus(ExportStatus value) {
99 m_exportStatusHasBeenSet = true;
100 m_exportStatus = value;
101 }
103 SetExportStatus(value);
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
113 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
114 template <typename CreationDateTimeT = Aws::Utils::DateTime>
115 void SetCreationDateTime(CreationDateTimeT&& value) {
116 m_creationDateTimeHasBeenSet = true;
117 m_creationDateTime = std::forward<CreationDateTimeT>(value);
118 }
119 template <typename CreationDateTimeT = Aws::Utils::DateTime>
120 ExportSummary& WithCreationDateTime(CreationDateTimeT&& value) {
121 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
131 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
132 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
133 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
134 m_lastUpdatedDateTimeHasBeenSet = true;
135 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
136 }
137 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
138 ExportSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
139 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_exportId;
145
146 ExportResourceSpecification m_resourceSpecification;
147
149
150 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
151
152 Aws::Utils::DateTime m_creationDateTime{};
153
154 Aws::Utils::DateTime m_lastUpdatedDateTime{};
155 bool m_exportIdHasBeenSet = false;
156 bool m_resourceSpecificationHasBeenSet = false;
157 bool m_fileFormatHasBeenSet = false;
158 bool m_exportStatusHasBeenSet = false;
159 bool m_creationDateTimeHasBeenSet = false;
160 bool m_lastUpdatedDateTimeHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace LexModelsV2
165} // namespace Aws
AWS_LEXMODELSV2_API ExportSummary(Aws::Utils::Json::JsonView jsonValue)
ExportSummary & WithFileFormat(ImportExportFileFormat value)
ExportSummary & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetExportId() const
void SetExportStatus(ExportStatus value)
void SetExportId(ExportIdT &&value)
void SetResourceSpecification(ResourceSpecificationT &&value)
ExportSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
ExportSummary & WithExportId(ExportIdT &&value)
const ExportResourceSpecification & GetResourceSpecification() const
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
ExportSummary & WithExportStatus(ExportStatus value)
AWS_LEXMODELSV2_API ExportSummary()=default
void SetFileFormat(ImportExportFileFormat value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
ExportSummary & WithResourceSpecification(ResourceSpecificationT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ImportExportFileFormat GetFileFormat() const
AWS_LEXMODELSV2_API ExportSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue