AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; }
52 inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); }
53 inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); }
54 inline ConsumerDescription& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;}
55 inline ConsumerDescription& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;}
56 inline ConsumerDescription& WithConsumerName(const char* value) { SetConsumerName(value); return *this;}
58
60
68 inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; }
69 inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; }
70 inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; }
71 inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); }
72 inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); }
73 inline ConsumerDescription& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;}
74 inline ConsumerDescription& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;}
75 inline ConsumerDescription& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;}
77
79
83 inline const ConsumerStatus& GetConsumerStatus() const{ return m_consumerStatus; }
84 inline bool ConsumerStatusHasBeenSet() const { return m_consumerStatusHasBeenSet; }
85 inline void SetConsumerStatus(const ConsumerStatus& value) { m_consumerStatusHasBeenSet = true; m_consumerStatus = value; }
86 inline void SetConsumerStatus(ConsumerStatus&& value) { m_consumerStatusHasBeenSet = true; m_consumerStatus = std::move(value); }
87 inline ConsumerDescription& WithConsumerStatus(const ConsumerStatus& value) { SetConsumerStatus(value); return *this;}
88 inline ConsumerDescription& WithConsumerStatus(ConsumerStatus&& value) { SetConsumerStatus(std::move(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetConsumerCreationTimestamp() const{ return m_consumerCreationTimestamp; }
96 inline bool ConsumerCreationTimestampHasBeenSet() const { return m_consumerCreationTimestampHasBeenSet; }
97 inline void SetConsumerCreationTimestamp(const Aws::Utils::DateTime& value) { m_consumerCreationTimestampHasBeenSet = true; m_consumerCreationTimestamp = value; }
98 inline void SetConsumerCreationTimestamp(Aws::Utils::DateTime&& value) { m_consumerCreationTimestampHasBeenSet = true; m_consumerCreationTimestamp = std::move(value); }
102
104
107 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
108 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
109 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
110 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
111 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
112 inline ConsumerDescription& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
113 inline ConsumerDescription& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
114 inline ConsumerDescription& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
116 private:
117
118 Aws::String m_consumerName;
119 bool m_consumerNameHasBeenSet = false;
120
121 Aws::String m_consumerARN;
122 bool m_consumerARNHasBeenSet = false;
123
124 ConsumerStatus m_consumerStatus;
125 bool m_consumerStatusHasBeenSet = false;
126
127 Aws::Utils::DateTime m_consumerCreationTimestamp;
128 bool m_consumerCreationTimestampHasBeenSet = false;
129
130 Aws::String m_streamARN;
131 bool m_streamARNHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Kinesis
136} // namespace Aws
ConsumerDescription & WithStreamARN(const Aws::String &value)
void SetConsumerCreationTimestamp(const Aws::Utils::DateTime &value)
ConsumerDescription & WithConsumerARN(Aws::String &&value)
ConsumerDescription & WithConsumerName(const char *value)
void SetConsumerStatus(ConsumerStatus &&value)
const Aws::String & GetConsumerName() const
ConsumerDescription & WithStreamARN(const char *value)
void SetConsumerARN(const Aws::String &value)
AWS_KINESIS_API ConsumerDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ConsumerDescription & WithConsumerStatus(ConsumerStatus &&value)
ConsumerDescription & WithConsumerARN(const Aws::String &value)
void SetConsumerStatus(const ConsumerStatus &value)
AWS_KINESIS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESIS_API ConsumerDescription(Aws::Utils::Json::JsonView jsonValue)
void SetConsumerName(const Aws::String &value)
const ConsumerStatus & GetConsumerStatus() const
ConsumerDescription & WithConsumerCreationTimestamp(Aws::Utils::DateTime &&value)
ConsumerDescription & WithConsumerName(Aws::String &&value)
void SetStreamARN(const Aws::String &value)
const Aws::Utils::DateTime & GetConsumerCreationTimestamp() const
void SetConsumerCreationTimestamp(Aws::Utils::DateTime &&value)
ConsumerDescription & WithConsumerStatus(const ConsumerStatus &value)
ConsumerDescription & WithConsumerARN(const char *value)
ConsumerDescription & WithConsumerCreationTimestamp(const Aws::Utils::DateTime &value)
ConsumerDescription & WithStreamARN(Aws::String &&value)
ConsumerDescription & WithConsumerName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue