AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExportId(const Aws::String& value) { m_exportIdHasBeenSet = true; m_exportId = value; }
52 inline void SetExportId(Aws::String&& value) { m_exportIdHasBeenSet = true; m_exportId = std::move(value); }
53 inline void SetExportId(const char* value) { m_exportIdHasBeenSet = true; m_exportId.assign(value); }
54 inline ExportSummary& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
55 inline ExportSummary& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
56 inline ExportSummary& WithExportId(const char* value) { SetExportId(value); return *this;}
58
60
63 inline const ExportResourceSpecification& GetResourceSpecification() const{ return m_resourceSpecification; }
64 inline bool ResourceSpecificationHasBeenSet() const { return m_resourceSpecificationHasBeenSet; }
65 inline void SetResourceSpecification(const ExportResourceSpecification& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = value; }
66 inline void SetResourceSpecification(ExportResourceSpecification&& value) { m_resourceSpecificationHasBeenSet = true; m_resourceSpecification = std::move(value); }
70
72
75 inline const ImportExportFileFormat& GetFileFormat() const{ return m_fileFormat; }
76 inline bool FileFormatHasBeenSet() const { return m_fileFormatHasBeenSet; }
77 inline void SetFileFormat(const ImportExportFileFormat& value) { m_fileFormatHasBeenSet = true; m_fileFormat = value; }
78 inline void SetFileFormat(ImportExportFileFormat&& value) { m_fileFormatHasBeenSet = true; m_fileFormat = std::move(value); }
79 inline ExportSummary& WithFileFormat(const ImportExportFileFormat& value) { SetFileFormat(value); return *this;}
80 inline ExportSummary& WithFileFormat(ImportExportFileFormat&& value) { SetFileFormat(std::move(value)); return *this;}
82
84
88 inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; }
89 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
90 inline void SetExportStatus(const ExportStatus& value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
91 inline void SetExportStatus(ExportStatus&& value) { m_exportStatusHasBeenSet = true; m_exportStatus = std::move(value); }
92 inline ExportSummary& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;}
93 inline ExportSummary& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
101 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
102 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
103 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
104 inline ExportSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
105 inline ExportSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
113 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
114 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
115 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
117 inline ExportSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
119 private:
120
121 Aws::String m_exportId;
122 bool m_exportIdHasBeenSet = false;
123
124 ExportResourceSpecification m_resourceSpecification;
125 bool m_resourceSpecificationHasBeenSet = false;
126
127 ImportExportFileFormat m_fileFormat;
128 bool m_fileFormatHasBeenSet = false;
129
130 ExportStatus m_exportStatus;
131 bool m_exportStatusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationDateTime;
134 bool m_creationDateTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedDateTime;
137 bool m_lastUpdatedDateTimeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace LexModelsV2
142} // namespace Aws
ExportSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
ExportSummary & WithResourceSpecification(const ExportResourceSpecification &value)
AWS_LEXMODELSV2_API ExportSummary(Aws::Utils::Json::JsonView jsonValue)
ExportSummary & WithExportStatus(const ExportStatus &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetExportId() const
ExportSummary & WithExportStatus(ExportStatus &&value)
ExportSummary & WithExportId(const char *value)
const ImportExportFileFormat & GetFileFormat() const
void SetExportId(const Aws::String &value)
ExportSummary & WithExportId(const Aws::String &value)
void SetExportStatus(ExportStatus &&value)
const ExportResourceSpecification & GetResourceSpecification() const
ExportSummary & WithResourceSpecification(ExportResourceSpecification &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const ExportStatus & GetExportStatus() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
ExportSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetExportId(const char *value)
void SetFileFormat(ImportExportFileFormat &&value)
void SetFileFormat(const ImportExportFileFormat &value)
void SetResourceSpecification(ExportResourceSpecification &&value)
ExportSummary & WithFileFormat(const ImportExportFileFormat &value)
void SetExportId(Aws::String &&value)
void SetResourceSpecification(const ExportResourceSpecification &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ExportSummary & WithFileFormat(ImportExportFileFormat &&value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetExportStatus(const ExportStatus &value)
ExportSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
ExportSummary & WithExportId(Aws::String &&value)
ExportSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
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