AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JournalKinesisStreamDescription.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/StreamStatus.h>
11#include <aws/qldb/model/KinesisConfiguration.h>
12#include <aws/qldb/model/ErrorCause.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
39 {
40 public:
45
46
48
51 inline const Aws::String& GetLedgerName() const{ return m_ledgerName; }
52 inline bool LedgerNameHasBeenSet() const { return m_ledgerNameHasBeenSet; }
53 inline void SetLedgerName(const Aws::String& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = value; }
54 inline void SetLedgerName(Aws::String&& value) { m_ledgerNameHasBeenSet = true; m_ledgerName = std::move(value); }
55 inline void SetLedgerName(const char* value) { m_ledgerNameHasBeenSet = true; m_ledgerName.assign(value); }
56 inline JournalKinesisStreamDescription& WithLedgerName(const Aws::String& value) { SetLedgerName(value); return *this;}
57 inline JournalKinesisStreamDescription& WithLedgerName(Aws::String&& value) { SetLedgerName(std::move(value)); return *this;}
58 inline JournalKinesisStreamDescription& WithLedgerName(const char* value) { SetLedgerName(value); return *this;}
60
62
67 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
68 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
69 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
70 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
72 inline JournalKinesisStreamDescription& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
74
76
80 inline const Aws::Utils::DateTime& GetInclusiveStartTime() const{ return m_inclusiveStartTime; }
81 inline bool InclusiveStartTimeHasBeenSet() const { return m_inclusiveStartTimeHasBeenSet; }
82 inline void SetInclusiveStartTime(const Aws::Utils::DateTime& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = value; }
83 inline void SetInclusiveStartTime(Aws::Utils::DateTime&& value) { m_inclusiveStartTimeHasBeenSet = true; m_inclusiveStartTime = std::move(value); }
87
89
93 inline const Aws::Utils::DateTime& GetExclusiveEndTime() const{ return m_exclusiveEndTime; }
94 inline bool ExclusiveEndTimeHasBeenSet() const { return m_exclusiveEndTimeHasBeenSet; }
95 inline void SetExclusiveEndTime(const Aws::Utils::DateTime& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = value; }
96 inline void SetExclusiveEndTime(Aws::Utils::DateTime&& value) { m_exclusiveEndTimeHasBeenSet = true; m_exclusiveEndTime = std::move(value); }
100
102
107 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
108 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
109 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
110 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
111 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
112 inline JournalKinesisStreamDescription& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
113 inline JournalKinesisStreamDescription& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
114 inline JournalKinesisStreamDescription& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
116
118
121 inline const Aws::String& GetStreamId() const{ return m_streamId; }
122 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
123 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
124 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
125 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
126 inline JournalKinesisStreamDescription& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
127 inline JournalKinesisStreamDescription& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
128 inline JournalKinesisStreamDescription& WithStreamId(const char* value) { SetStreamId(value); return *this;}
130
132
135 inline const Aws::String& GetArn() const{ return m_arn; }
136 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
137 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
138 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
139 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
140 inline JournalKinesisStreamDescription& WithArn(const Aws::String& value) { SetArn(value); return *this;}
141 inline JournalKinesisStreamDescription& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
142 inline JournalKinesisStreamDescription& WithArn(const char* value) { SetArn(value); return *this;}
144
146
149 inline const StreamStatus& GetStatus() const{ return m_status; }
150 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
151 inline void SetStatus(const StreamStatus& value) { m_statusHasBeenSet = true; m_status = value; }
152 inline void SetStatus(StreamStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
153 inline JournalKinesisStreamDescription& WithStatus(const StreamStatus& value) { SetStatus(value); return *this;}
154 inline JournalKinesisStreamDescription& WithStatus(StreamStatus&& value) { SetStatus(std::move(value)); return *this;}
156
158
162 inline const KinesisConfiguration& GetKinesisConfiguration() const{ return m_kinesisConfiguration; }
163 inline bool KinesisConfigurationHasBeenSet() const { return m_kinesisConfigurationHasBeenSet; }
164 inline void SetKinesisConfiguration(const KinesisConfiguration& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = value; }
165 inline void SetKinesisConfiguration(KinesisConfiguration&& value) { m_kinesisConfigurationHasBeenSet = true; m_kinesisConfiguration = std::move(value); }
169
171
176 inline const ErrorCause& GetErrorCause() const{ return m_errorCause; }
177 inline bool ErrorCauseHasBeenSet() const { return m_errorCauseHasBeenSet; }
178 inline void SetErrorCause(const ErrorCause& value) { m_errorCauseHasBeenSet = true; m_errorCause = value; }
179 inline void SetErrorCause(ErrorCause&& value) { m_errorCauseHasBeenSet = true; m_errorCause = std::move(value); }
180 inline JournalKinesisStreamDescription& WithErrorCause(const ErrorCause& value) { SetErrorCause(value); return *this;}
181 inline JournalKinesisStreamDescription& WithErrorCause(ErrorCause&& value) { SetErrorCause(std::move(value)); return *this;}
183
185
188 inline const Aws::String& GetStreamName() const{ return m_streamName; }
189 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
190 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
191 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
192 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
193 inline JournalKinesisStreamDescription& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
194 inline JournalKinesisStreamDescription& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
195 inline JournalKinesisStreamDescription& WithStreamName(const char* value) { SetStreamName(value); return *this;}
197 private:
198
199 Aws::String m_ledgerName;
200 bool m_ledgerNameHasBeenSet = false;
201
202 Aws::Utils::DateTime m_creationTime;
203 bool m_creationTimeHasBeenSet = false;
204
205 Aws::Utils::DateTime m_inclusiveStartTime;
206 bool m_inclusiveStartTimeHasBeenSet = false;
207
208 Aws::Utils::DateTime m_exclusiveEndTime;
209 bool m_exclusiveEndTimeHasBeenSet = false;
210
211 Aws::String m_roleArn;
212 bool m_roleArnHasBeenSet = false;
213
214 Aws::String m_streamId;
215 bool m_streamIdHasBeenSet = false;
216
217 Aws::String m_arn;
218 bool m_arnHasBeenSet = false;
219
220 StreamStatus m_status;
221 bool m_statusHasBeenSet = false;
222
223 KinesisConfiguration m_kinesisConfiguration;
224 bool m_kinesisConfigurationHasBeenSet = false;
225
226 ErrorCause m_errorCause;
227 bool m_errorCauseHasBeenSet = false;
228
229 Aws::String m_streamName;
230 bool m_streamNameHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace QLDB
235} // namespace Aws
JournalKinesisStreamDescription & WithArn(Aws::String &&value)
JournalKinesisStreamDescription & WithKinesisConfiguration(const KinesisConfiguration &value)
JournalKinesisStreamDescription & WithStreamId(Aws::String &&value)
JournalKinesisStreamDescription & WithArn(const char *value)
JournalKinesisStreamDescription & WithStreamId(const Aws::String &value)
JournalKinesisStreamDescription & WithInclusiveStartTime(Aws::Utils::DateTime &&value)
JournalKinesisStreamDescription & WithLedgerName(Aws::String &&value)
JournalKinesisStreamDescription & WithInclusiveStartTime(const Aws::Utils::DateTime &value)
JournalKinesisStreamDescription & WithLedgerName(const Aws::String &value)
JournalKinesisStreamDescription & WithStreamName(const Aws::String &value)
JournalKinesisStreamDescription & WithErrorCause(ErrorCause &&value)
JournalKinesisStreamDescription & WithStatus(StreamStatus &&value)
JournalKinesisStreamDescription & WithErrorCause(const ErrorCause &value)
AWS_QLDB_API JournalKinesisStreamDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QLDB_API Aws::Utils::Json::JsonValue Jsonize() const
JournalKinesisStreamDescription & WithStreamName(const char *value)
void SetKinesisConfiguration(const KinesisConfiguration &value)
JournalKinesisStreamDescription & WithRoleArn(Aws::String &&value)
JournalKinesisStreamDescription & WithStatus(const StreamStatus &value)
JournalKinesisStreamDescription & WithKinesisConfiguration(KinesisConfiguration &&value)
AWS_QLDB_API JournalKinesisStreamDescription(Aws::Utils::Json::JsonView jsonValue)
JournalKinesisStreamDescription & WithCreationTime(const Aws::Utils::DateTime &value)
JournalKinesisStreamDescription & WithLedgerName(const char *value)
JournalKinesisStreamDescription & WithArn(const Aws::String &value)
JournalKinesisStreamDescription & WithRoleArn(const Aws::String &value)
JournalKinesisStreamDescription & WithCreationTime(Aws::Utils::DateTime &&value)
JournalKinesisStreamDescription & WithStreamId(const char *value)
JournalKinesisStreamDescription & WithExclusiveEndTime(Aws::Utils::DateTime &&value)
JournalKinesisStreamDescription & WithStreamName(Aws::String &&value)
JournalKinesisStreamDescription & WithRoleArn(const char *value)
JournalKinesisStreamDescription & WithExclusiveEndTime(const Aws::Utils::DateTime &value)
void SetInclusiveStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue