AWS SDK for C++  1.9.104
AWS SDK for C++
ConsumerDescription.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Kinesis
24 {
25 namespace Model
26 {
27 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetConsumerName() const{ return m_consumerName; }
49 
54  inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
55 
60  inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; }
61 
66  inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); }
67 
72  inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); }
73 
78  inline ConsumerDescription& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;}
79 
84  inline ConsumerDescription& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;}
85 
90  inline ConsumerDescription& WithConsumerName(const char* value) { SetConsumerName(value); return *this;}
91 
92 
101  inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; }
102 
111  inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; }
112 
121  inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; }
122 
131  inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); }
132 
141  inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); }
142 
151  inline ConsumerDescription& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;}
152 
161  inline ConsumerDescription& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;}
162 
171  inline ConsumerDescription& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;}
172 
173 
178  inline const ConsumerStatus& GetConsumerStatus() const{ return m_consumerStatus; }
179 
184  inline bool ConsumerStatusHasBeenSet() const { return m_consumerStatusHasBeenSet; }
185 
190  inline void SetConsumerStatus(const ConsumerStatus& value) { m_consumerStatusHasBeenSet = true; m_consumerStatus = value; }
191 
196  inline void SetConsumerStatus(ConsumerStatus&& value) { m_consumerStatusHasBeenSet = true; m_consumerStatus = std::move(value); }
197 
202  inline ConsumerDescription& WithConsumerStatus(const ConsumerStatus& value) { SetConsumerStatus(value); return *this;}
203 
208  inline ConsumerDescription& WithConsumerStatus(ConsumerStatus&& value) { SetConsumerStatus(std::move(value)); return *this;}
209 
210 
214  inline const Aws::Utils::DateTime& GetConsumerCreationTimestamp() const{ return m_consumerCreationTimestamp; }
215 
219  inline bool ConsumerCreationTimestampHasBeenSet() const { return m_consumerCreationTimestampHasBeenSet; }
220 
224  inline void SetConsumerCreationTimestamp(const Aws::Utils::DateTime& value) { m_consumerCreationTimestampHasBeenSet = true; m_consumerCreationTimestamp = value; }
225 
229  inline void SetConsumerCreationTimestamp(Aws::Utils::DateTime&& value) { m_consumerCreationTimestampHasBeenSet = true; m_consumerCreationTimestamp = std::move(value); }
230 
234  inline ConsumerDescription& WithConsumerCreationTimestamp(const Aws::Utils::DateTime& value) { SetConsumerCreationTimestamp(value); return *this;}
235 
239  inline ConsumerDescription& WithConsumerCreationTimestamp(Aws::Utils::DateTime&& value) { SetConsumerCreationTimestamp(std::move(value)); return *this;}
240 
241 
245  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
246 
250  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
251 
255  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
256 
260  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
261 
265  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
266 
270  inline ConsumerDescription& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
271 
275  inline ConsumerDescription& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
276 
280  inline ConsumerDescription& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
281 
282  private:
283 
284  Aws::String m_consumerName;
285  bool m_consumerNameHasBeenSet;
286 
287  Aws::String m_consumerARN;
288  bool m_consumerARNHasBeenSet;
289 
290  ConsumerStatus m_consumerStatus;
291  bool m_consumerStatusHasBeenSet;
292 
293  Aws::Utils::DateTime m_consumerCreationTimestamp;
294  bool m_consumerCreationTimestampHasBeenSet;
295 
296  Aws::String m_streamARN;
297  bool m_streamARNHasBeenSet;
298  };
299 
300 } // namespace Model
301 } // namespace Kinesis
302 } // namespace Aws
Aws::Kinesis::Model::ConsumerDescription::WithConsumerCreationTimestamp
ConsumerDescription & WithConsumerCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ConsumerDescription.h:234
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Kinesis::Model::ConsumerDescription::ConsumerARNHasBeenSet
bool ConsumerARNHasBeenSet() const
Definition: ConsumerDescription.h:111
Aws::Kinesis::Model::ConsumerDescription::ConsumerDescription
ConsumerDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::ConsumerDescription::GetStreamARN
const Aws::String & GetStreamARN() const
Definition: ConsumerDescription.h:245
ConsumerStatus.h
Aws::Kinesis::Model::ConsumerDescription::WithStreamARN
ConsumerDescription & WithStreamARN(const char *value)
Definition: ConsumerDescription.h:280
Aws::Kinesis::Model::ConsumerDescription
Definition: ConsumerDescription.h:36
Aws::Kinesis::Model::ConsumerDescription::ConsumerNameHasBeenSet
bool ConsumerNameHasBeenSet() const
Definition: ConsumerDescription.h:54
DateTime.h
Aws::Kinesis::Model::ConsumerDescription::SetStreamARN
void SetStreamARN(const Aws::String &value)
Definition: ConsumerDescription.h:255
Aws::Kinesis::Model::ConsumerStatus
ConsumerStatus
Definition: ConsumerStatus.h:17
Aws::Kinesis::Model::ConsumerDescription::StreamARNHasBeenSet
bool StreamARNHasBeenSet() const
Definition: ConsumerDescription.h:250
Aws::Kinesis::Model::ConsumerDescription::WithConsumerARN
ConsumerDescription & WithConsumerARN(const Aws::String &value)
Definition: ConsumerDescription.h:151
Aws::Kinesis::Model::ConsumerDescription::WithConsumerCreationTimestamp
ConsumerDescription & WithConsumerCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ConsumerDescription.h:239
Aws::Kinesis::Model::ConsumerDescription::WithStreamARN
ConsumerDescription & WithStreamARN(Aws::String &&value)
Definition: ConsumerDescription.h:275
Aws::Kinesis::Model::ConsumerDescription::SetConsumerStatus
void SetConsumerStatus(ConsumerStatus &&value)
Definition: ConsumerDescription.h:196
AWS_KINESIS_API
#define AWS_KINESIS_API
Definition: Kinesis_EXPORTS.h:28
Aws::Kinesis::Model::ConsumerDescription::SetStreamARN
void SetStreamARN(const char *value)
Definition: ConsumerDescription.h:265
Aws::Kinesis::Model::ConsumerDescription::WithConsumerStatus
ConsumerDescription & WithConsumerStatus(ConsumerStatus &&value)
Definition: ConsumerDescription.h:208
Aws::Kinesis::Model::ConsumerDescription::ConsumerDescription
ConsumerDescription()
Aws::Kinesis::Model::ConsumerDescription::WithConsumerARN
ConsumerDescription & WithConsumerARN(Aws::String &&value)
Definition: ConsumerDescription.h:161
Aws::Kinesis::Model::ConsumerDescription::GetConsumerARN
const Aws::String & GetConsumerARN() const
Definition: ConsumerDescription.h:101
Aws::Kinesis::Model::ConsumerDescription::SetConsumerARN
void SetConsumerARN(const char *value)
Definition: ConsumerDescription.h:141
Aws::Kinesis::Model::ConsumerDescription::SetConsumerARN
void SetConsumerARN(const Aws::String &value)
Definition: ConsumerDescription.h:121
Aws::Kinesis::Model::ConsumerDescription::ConsumerStatusHasBeenSet
bool ConsumerStatusHasBeenSet() const
Definition: ConsumerDescription.h:184
Aws::Kinesis::Model::ConsumerDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kinesis::Model::ConsumerDescription::WithStreamARN
ConsumerDescription & WithStreamARN(const Aws::String &value)
Definition: ConsumerDescription.h:270
Aws::Kinesis::Model::ConsumerDescription::SetStreamARN
void SetStreamARN(Aws::String &&value)
Definition: ConsumerDescription.h:260
Aws::Kinesis::Model::ConsumerDescription::WithConsumerName
ConsumerDescription & WithConsumerName(const char *value)
Definition: ConsumerDescription.h:90
Aws::Kinesis::Model::ConsumerDescription::WithConsumerName
ConsumerDescription & WithConsumerName(Aws::String &&value)
Definition: ConsumerDescription.h:84
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kinesis::Model::ConsumerDescription::operator=
ConsumerDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kinesis::Model::ConsumerDescription::SetConsumerCreationTimestamp
void SetConsumerCreationTimestamp(const Aws::Utils::DateTime &value)
Definition: ConsumerDescription.h:224
Kinesis_EXPORTS.h
Aws::Kinesis::Model::ConsumerDescription::WithConsumerStatus
ConsumerDescription & WithConsumerStatus(const ConsumerStatus &value)
Definition: ConsumerDescription.h:202
Aws::Kinesis::Model::ConsumerDescription::GetConsumerStatus
const ConsumerStatus & GetConsumerStatus() const
Definition: ConsumerDescription.h:178
Aws::Kinesis::Model::ConsumerDescription::ConsumerCreationTimestampHasBeenSet
bool ConsumerCreationTimestampHasBeenSet() const
Definition: ConsumerDescription.h:219
Aws::Kinesis::Model::ConsumerDescription::GetConsumerCreationTimestamp
const Aws::Utils::DateTime & GetConsumerCreationTimestamp() const
Definition: ConsumerDescription.h:214
Aws::Kinesis::Model::ConsumerDescription::SetConsumerARN
void SetConsumerARN(Aws::String &&value)
Definition: ConsumerDescription.h:131
Aws::Kinesis::Model::ConsumerDescription::WithConsumerARN
ConsumerDescription & WithConsumerARN(const char *value)
Definition: ConsumerDescription.h:171
Aws::Kinesis::Model::ConsumerDescription::SetConsumerName
void SetConsumerName(Aws::String &&value)
Definition: ConsumerDescription.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::Kinesis::Model::ConsumerDescription::WithConsumerName
ConsumerDescription & WithConsumerName(const Aws::String &value)
Definition: ConsumerDescription.h:78
Aws::Kinesis::Model::ConsumerDescription::SetConsumerStatus
void SetConsumerStatus(const ConsumerStatus &value)
Definition: ConsumerDescription.h:190
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Kinesis::Model::ConsumerDescription::SetConsumerName
void SetConsumerName(const char *value)
Definition: ConsumerDescription.h:72
Aws::Kinesis::Model::ConsumerDescription::SetConsumerName
void SetConsumerName(const Aws::String &value)
Definition: ConsumerDescription.h:60
Aws::Kinesis::Model::ConsumerDescription::GetConsumerName
const Aws::String & GetConsumerName() const
Definition: ConsumerDescription.h:48
Aws::Kinesis::Model::ConsumerDescription::SetConsumerCreationTimestamp
void SetConsumerCreationTimestamp(Aws::Utils::DateTime &&value)
Definition: ConsumerDescription.h:229