AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JournalS3ExportDescription.h
1
6#pragma once
7#include <aws/qldb/QLDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/qldb/model/ExportStatus.h>
11#include <aws/qldb/model/S3ExportConfiguration.h>
12#include <aws/qldb/model/OutputFormat.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 QLDB
26{
27namespace Model
28{
29
38 {
39 public:
44
45
47
50 inline const Aws::String& GetLedgerName() const{ return m_ledgerName; }
51 inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; }
52 inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; }
53 inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); }
54 inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); }
55 inline JournalS3ExportDescription& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;}
56 inline JournalS3ExportDescription& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;}
57 inline JournalS3ExportDescription& WithLedgerName(const char* value) { SetLedgerName(value); return *this;}
59
61
64 inline const Aws::String& GetExportId() const{ return m_exportId; }
65 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
66 inline void SetExportId(const Aws::String& value) { m_exportIdHasBeenSet = true; m_exportId = value; }
67 inline void SetExportId(Aws::String&& value) { m_exportIdHasBeenSet = true; m_exportId = std::move(value); }
68 inline void SetExportId(const char* value) { m_exportIdHasBeenSet = true; m_exportId.assign(value); }
69 inline JournalS3ExportDescription& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
70 inline JournalS3ExportDescription& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
71 inline JournalS3ExportDescription& WithExportId(const char* value) { SetExportId(value); return *this;}
73
75
80 inline const Aws::Utils::DateTime& GetExportCreationTime() const{ return m_exportCreationTime; }
81 inline bool ExportCreationTimeHasBeenSet() const { return m_exportCreationTimeHasBeenSet; }
82 inline void SetExportCreationTime(const Aws::Utils::DateTime& value) { m_exportCreationTimeHasBeenSet = true; m_exportCreationTime = value; }
83 inline void SetExportCreationTime(Aws::Utils::DateTime&& value) { m_exportCreationTimeHasBeenSet = true; m_exportCreationTime = std::move(value); }
87
89
92 inline const ExportStatus& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const ExportStatus& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(ExportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline JournalS3ExportDescription& WithStatus(const ExportStatus& value) { SetStatus(value); return *this;}
97 inline JournalS3ExportDescription& WithStatus(ExportStatus&& value) { SetStatus(std::move(value)); return *this;}
99
101
105 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const{ return m_inclusiveStartTime; }
106 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
107 inline void SetInclusiveStartTime(const Aws::Utils::DateTime& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = value; }
108 inline void SetInclusiveStartTime(Aws::Utils::DateTime&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::move(value); }
112
114
118 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const{ return m_exclusiveEndTime; }
119 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
120 inline void SetExclusiveEndTime(const Aws::Utils::DateTime& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = value; }
121 inline void SetExclusiveEndTime(Aws::Utils::DateTime&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::move(value); }
125
127
128 inline const S3ExportConfiguration& GetS3ExportConfiguration() const{ return m_s3ExportConfiguration; }
129 inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; }
130 inline void SetS3ExportConfiguration(const S3ExportConfiguration& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = value; }
131 inline void SetS3ExportConfiguration(S3ExportConfiguration&& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = std::move(value); }
135
137
144 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
145 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
146 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
147 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
148 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
149 inline JournalS3ExportDescription& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
150 inline JournalS3ExportDescription& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
151 inline JournalS3ExportDescription& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
153
155
158 inline const OutputFormat& GetOutputFormat() const{ return m_outputFormat; }
159 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
160 inline void SetOutputFormat(const OutputFormat& value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
161 inline void SetOutputFormat(OutputFormat&& value) { m_outputFormatHasBeenSet = true; m_outputFormat = std::move(value); }
162 inline JournalS3ExportDescription& WithOutputFormat(const OutputFormat& value) { SetOutputFormat(value); return *this;}
163 inline JournalS3ExportDescription& WithOutputFormat(OutputFormat&& value) { SetOutputFormat(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_ledgerName;
168 bool m_ledgerNameHasBeenSet = false;
169
170 Aws::String m_exportId;
171 bool m_exportIdHasBeenSet = false;
172
173 Aws::Utils::DateTime m_exportCreationTime;
174 bool m_exportCreationTimeHasBeenSet = false;
175
176 ExportStatus m_status;
177 bool m_statusHasBeenSet = false;
178
179 Aws::Utils::DateTime m_inclusiveStartTime;
180 bool m_inclusiveStartTimeHasBeenSet = false;
181
182 Aws::Utils::DateTime m_exclusiveEndTime;
183 bool m_exclusiveEndTimeHasBeenSet = false;
184
185 S3ExportConfiguration m_s3ExportConfiguration;
186 bool m_s3ExportConfigurationHasBeenSet = false;
187
188 Aws::String m_roleArn;
189 bool m_roleArnHasBeenSet = false;
190
191 OutputFormat m_outputFormat;
192 bool m_outputFormatHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace QLDB
197} // namespace Aws
void SetExclusiveEndTime(Aws::Utils::DateTime &&value)
JournalS3ExportDescription & WithExportCreationTime(Aws::Utils::DateTime &&value)
JournalS3ExportDescription & WithRoleArn(const char *value)
JournalS3ExportDescription & WithLedgerName(Aws::String &&value)
JournalS3ExportDescription & WithRoleArn(Aws::String &&value)
JournalS3ExportDescription & WithS3ExportConfiguration(const S3ExportConfiguration &value)
JournalS3ExportDescription & WithLedgerName(const Aws::String &value)
const Aws::Utils::DateTime & GetInclusiveStartTime() const
const S3ExportConfiguration & GetS3ExportConfiguration() const
JournalS3ExportDescription & WithS3ExportConfiguration(S3ExportConfiguration &&value)
JournalS3ExportDescription & WithStatus(const ExportStatus &value)
JournalS3ExportDescription & WithExclusiveEndTime(const Aws::Utils::DateTime &value)
JournalS3ExportDescription & WithStatus(ExportStatus &&value)
JournalS3ExportDescription & WithExportCreationTime(const Aws::Utils::DateTime &value)
void SetS3ExportConfiguration(const S3ExportConfiguration &value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
JournalS3ExportDescription & WithOutputFormat(OutputFormat &&value)
void SetExclusiveEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetExportCreationTime() const
JournalS3ExportDescription & WithExclusiveEndTime(Aws::Utils::DateTime &&value)
JournalS3ExportDescription & WithExportId(const char *value)
void SetInclusiveStartTime(const Aws::Utils::DateTime &value)
JournalS3ExportDescription & WithLedgerName(const char *value)
AWS_QLDB_API JournalS3ExportDescription(Aws::Utils::Json::JsonView jsonValue)
JournalS3ExportDescription & WithRoleArn(const Aws::String &value)
AWS_QLDB_API JournalS3ExportDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInclusiveStartTime(Aws::Utils::DateTime &&value)
JournalS3ExportDescription & WithOutputFormat(const OutputFormat &value)
JournalS3ExportDescription & WithInclusiveStartTime(const Aws::Utils::DateTime &value)
void SetExportCreationTime(Aws::Utils::DateTime &&value)
void SetS3ExportConfiguration(S3ExportConfiguration &&value)
void SetExportCreationTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetExclusiveEndTime() const
JournalS3ExportDescription & WithExportId(const Aws::String &value)
JournalS3ExportDescription & WithExportId(Aws::String &&value)
JournalS3ExportDescription & WithInclusiveStartTime(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue