AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExportSummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LEXMODELSV2_API ExportSummary() = default;
40 AWS_LEXMODELSV2_API ExportSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API ExportSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetExportId() const { return m_exportId; }
50 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
51 template<typename ExportIdT = Aws::String>
52 void SetExportId(ExportIdT&& value) { m_exportIdHasBeenSet = true; m_exportId = std::forward<ExportIdT>(value); }
53 template<typename ExportIdT = Aws::String>
54 ExportSummary& WithExportId(ExportIdT&& value) { SetExportId(std::forward<ExportIdT>(value)); return *this;}
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) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = std::forward<ResourceSpecificationT>(value); }
65 template<typename ResourceSpecificationT = ExportResourceSpecification>
66 ExportSummary& WithResourceSpecification(ResourceSpecificationT&& value) { SetResourceSpecification(std::forward<ResourceSpecificationT>(value)); return *this;}
68
70
73 inline ImportExportFileFormat GetFileFormat() const { return m_fileFormat; }
74 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
75 inline void SetFileFormat(ImportExportFileFormat value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
76 inline ExportSummary& WithFileFormat(ImportExportFileFormat value) { SetFileFormat(value); return *this;}
78
80
84 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
85 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
86 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
87 inline ExportSummary& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
95 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
96 template<typename CreationDateTimeT = Aws::Utils::DateTime>
97 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
98 template<typename CreationDateTimeT = Aws::Utils::DateTime>
99 ExportSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
107 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
108 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
109 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
110 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
111 ExportSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(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
134} // namespace Model
135} // namespace LexModelsV2
136} // 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