AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
40 AWS_QLDB_API JournalS3ExportDescription() = default;
44
45
47
50 inline const Aws::String& GetLedgerName() const { return m_ledgerName; }
51 inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; }
52 template<typename LedgerNameT = Aws::String>
53 void SetLedgerName(LedgerNameT&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::forward<LedgerNameT>(value); }
54 template<typename LedgerNameT = Aws::String>
55 JournalS3ExportDescription& WithLedgerName(LedgerNameT&& value) { SetLedgerName(std::forward<LedgerNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetExportId() const { return m_exportId; }
63 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
64 template<typename ExportIdT = Aws::String>
65 void SetExportId(ExportIdT&& value) { m_exportIdHasBeenSet = true; m_exportId = std::forward<ExportIdT>(value); }
66 template<typename ExportIdT = Aws::String>
67 JournalS3ExportDescription& WithExportId(ExportIdT&& value) { SetExportId(std::forward<ExportIdT>(value)); return *this;}
69
71
76 inline const Aws::Utils::DateTime& GetExportCreationTime() const { return m_exportCreationTime; }
77 inline bool ExportCreationTimeHasBeenSet() const { return m_exportCreationTimeHasBeenSet; }
78 template<typename ExportCreationTimeT = Aws::Utils::DateTime>
79 void SetExportCreationTime(ExportCreationTimeT&& value) { m_exportCreationTimeHasBeenSet = true; m_exportCreationTime = std::forward<ExportCreationTimeT>(value); }
80 template<typename ExportCreationTimeT = Aws::Utils::DateTime>
81 JournalS3ExportDescription& WithExportCreationTime(ExportCreationTimeT&& value) { SetExportCreationTime(std::forward<ExportCreationTimeT>(value)); return *this;}
83
85
88 inline ExportStatus GetStatus() const { return m_status; }
89 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
90 inline void SetStatus(ExportStatus value) { m_statusHasBeenSet = true; m_status = value; }
91 inline JournalS3ExportDescription& WithStatus(ExportStatus value) { SetStatus(value); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const { return m_inclusiveStartTime; }
100 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
101 template<typename InclusiveStartTimeT = Aws::Utils::DateTime>
102 void SetInclusiveStartTime(InclusiveStartTimeT&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::forward<InclusiveStartTimeT>(value); }
103 template<typename InclusiveStartTimeT = Aws::Utils::DateTime>
104 JournalS3ExportDescription& WithInclusiveStartTime(InclusiveStartTimeT&& value) { SetInclusiveStartTime(std::forward<InclusiveStartTimeT>(value)); return *this;}
106
108
112 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const { return m_exclusiveEndTime; }
113 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
114 template<typename ExclusiveEndTimeT = Aws::Utils::DateTime>
115 void SetExclusiveEndTime(ExclusiveEndTimeT&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::forward<ExclusiveEndTimeT>(value); }
116 template<typename ExclusiveEndTimeT = Aws::Utils::DateTime>
117 JournalS3ExportDescription& WithExclusiveEndTime(ExclusiveEndTimeT&& value) { SetExclusiveEndTime(std::forward<ExclusiveEndTimeT>(value)); return *this;}
119
121
122 inline const S3ExportConfiguration& GetS3ExportConfiguration() const { return m_s3ExportConfiguration; }
123 inline bool S3ExportConfigurationHasBeenSet() const { return m_s3ExportConfigurationHasBeenSet; }
124 template<typename S3ExportConfigurationT = S3ExportConfiguration>
125 void SetS3ExportConfiguration(S3ExportConfigurationT&& value) { m_s3ExportConfigurationHasBeenSet = true; m_s3ExportConfiguration = std::forward<S3ExportConfigurationT>(value); }
126 template<typename S3ExportConfigurationT = S3ExportConfiguration>
127 JournalS3ExportDescription& WithS3ExportConfiguration(S3ExportConfigurationT&& value) { SetS3ExportConfiguration(std::forward<S3ExportConfigurationT>(value)); return *this;}
129
131
138 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
139 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
140 template<typename RoleArnT = Aws::String>
141 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
142 template<typename RoleArnT = Aws::String>
143 JournalS3ExportDescription& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
145
147
150 inline OutputFormat GetOutputFormat() const { return m_outputFormat; }
151 inline bool OutputFormatHasBeenSet() const { return m_outputFormatHasBeenSet; }
152 inline void SetOutputFormat(OutputFormat value) { m_outputFormatHasBeenSet = true; m_outputFormat = value; }
155 private:
156
157 Aws::String m_ledgerName;
158 bool m_ledgerNameHasBeenSet = false;
159
160 Aws::String m_exportId;
161 bool m_exportIdHasBeenSet = false;
162
163 Aws::Utils::DateTime m_exportCreationTime{};
164 bool m_exportCreationTimeHasBeenSet = false;
165
167 bool m_statusHasBeenSet = false;
168
169 Aws::Utils::DateTime m_inclusiveStartTime{};
170 bool m_inclusiveStartTimeHasBeenSet = false;
171
172 Aws::Utils::DateTime m_exclusiveEndTime{};
173 bool m_exclusiveEndTimeHasBeenSet = false;
174
175 S3ExportConfiguration m_s3ExportConfiguration;
176 bool m_s3ExportConfigurationHasBeenSet = false;
177
178 Aws::String m_roleArn;
179 bool m_roleArnHasBeenSet = false;
180
181 OutputFormat m_outputFormat{OutputFormat::NOT_SET};
182 bool m_outputFormatHasBeenSet = false;
183 };
184
185} // namespace Model
186} // namespace QLDB
187} // namespace Aws
const Aws::Utils::DateTime & GetInclusiveStartTime() const
JournalS3ExportDescription & WithExportId(ExportIdT &&value)
const S3ExportConfiguration & GetS3ExportConfiguration() const
JournalS3ExportDescription & WithS3ExportConfiguration(S3ExportConfigurationT &&value)
void SetInclusiveStartTime(InclusiveStartTimeT &&value)
AWS_QLDB_API JournalS3ExportDescription()=default
JournalS3ExportDescription & WithExclusiveEndTime(ExclusiveEndTimeT &&value)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetExportCreationTime() const
JournalS3ExportDescription & WithStatus(ExportStatus value)
void SetExportCreationTime(ExportCreationTimeT &&value)
void SetS3ExportConfiguration(S3ExportConfigurationT &&value)
AWS_QLDB_API JournalS3ExportDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_QLDB_API JournalS3ExportDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
JournalS3ExportDescription & WithRoleArn(RoleArnT &&value)
JournalS3ExportDescription & WithExportCreationTime(ExportCreationTimeT &&value)
JournalS3ExportDescription & WithOutputFormat(OutputFormat value)
const Aws::Utils::DateTime & GetExclusiveEndTime() const
JournalS3ExportDescription & WithInclusiveStartTime(InclusiveStartTimeT &&value)
JournalS3ExportDescription & WithLedgerName(LedgerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue