AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ConsumerDescription.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesis/model/ConsumerStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Kinesis
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_KINESIS_API ConsumerDescription() = default;
41 AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetConsumerName() const { return m_consumerName; }
50 inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
51 template<typename ConsumerNameT = Aws::String>
52 void SetConsumerName(ConsumerNameT&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::forward<ConsumerNameT>(value); }
53 template<typename ConsumerNameT = Aws::String>
54 ConsumerDescription& WithConsumerName(ConsumerNameT&& value) { SetConsumerName(std::forward<ConsumerNameT>(value)); return *this;}
56
58
66 inline const Aws::String& GetConsumerARN() const { return m_consumerARN; }
67 inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; }
68 template<typename ConsumerARNT = Aws::String>
69 void SetConsumerARN(ConsumerARNT&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::forward<ConsumerARNT>(value); }
70 template<typename ConsumerARNT = Aws::String>
71 ConsumerDescription& WithConsumerARN(ConsumerARNT&& value) { SetConsumerARN(std::forward<ConsumerARNT>(value)); return *this;}
73
75
79 inline ConsumerStatus GetConsumerStatus() const { return m_consumerStatus; }
80 inline bool ConsumerStatusHasBeenSet() const { return m_consumerStatusHasBeenSet; }
81 inline void SetConsumerStatus(ConsumerStatus value) { m_consumerStatusHasBeenSet = true; m_consumerStatus = value; }
84
86
89 inline const Aws::Utils::DateTime& GetConsumerCreationTimestamp() const { return m_consumerCreationTimestamp; }
90 inline bool ConsumerCreationTimestampHasBeenSet() const { return m_consumerCreationTimestampHasBeenSet; }
91 template<typename ConsumerCreationTimestampT = Aws::Utils::DateTime>
92 void SetConsumerCreationTimestamp(ConsumerCreationTimestampT&& value) { m_consumerCreationTimestampHasBeenSet = true; m_consumerCreationTimestamp = std::forward<ConsumerCreationTimestampT>(value); }
93 template<typename ConsumerCreationTimestampT = Aws::Utils::DateTime>
94 ConsumerDescription& WithConsumerCreationTimestamp(ConsumerCreationTimestampT&& value) { SetConsumerCreationTimestamp(std::forward<ConsumerCreationTimestampT>(value)); return *this;}
96
98
101 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
102 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
103 template<typename StreamARNT = Aws::String>
104 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
105 template<typename StreamARNT = Aws::String>
106 ConsumerDescription& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
108 private:
109
110 Aws::String m_consumerName;
111 bool m_consumerNameHasBeenSet = false;
112
113 Aws::String m_consumerARN;
114 bool m_consumerARNHasBeenSet = false;
115
116 ConsumerStatus m_consumerStatus{ConsumerStatus::NOT_SET};
117 bool m_consumerStatusHasBeenSet = false;
118
119 Aws::Utils::DateTime m_consumerCreationTimestamp{};
120 bool m_consumerCreationTimestampHasBeenSet = false;
121
122 Aws::String m_streamARN;
123 bool m_streamARNHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Kinesis
128} // namespace Aws
void SetConsumerCreationTimestamp(ConsumerCreationTimestampT &&value)
ConsumerDescription & WithStreamARN(StreamARNT &&value)
AWS_KINESIS_API ConsumerDescription()=default
const Aws::String & GetConsumerName() const
ConsumerDescription & WithConsumerCreationTimestamp(ConsumerCreationTimestampT &&value)
AWS_KINESIS_API ConsumerDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ConsumerDescription & WithConsumerStatus(ConsumerStatus value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API ConsumerDescription(Aws::Utils::Json::JsonView jsonValue)
ConsumerDescription & WithConsumerARN(ConsumerARNT &&value)
const Aws::Utils::DateTime & GetConsumerCreationTimestamp() const
void SetConsumerName(ConsumerNameT &&value)
ConsumerDescription & WithConsumerName(ConsumerNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue