AWS SDK for C++  1.8.95
AWS SDK for C++
DescribeStreamConsumerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Kinesis
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeStreamConsumer"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35 
36 
43  inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
44 
51  inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
52 
59  inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
60 
67  inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
68 
75  inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
76 
83  inline DescribeStreamConsumerRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
84 
91  inline DescribeStreamConsumerRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
92 
99  inline DescribeStreamConsumerRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
100 
101 
105  inline const Aws::String& GetConsumerName() const{ return m_consumerName; }
106 
110  inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
111 
115  inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; }
116 
120  inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); }
121 
125  inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); }
126 
130  inline DescribeStreamConsumerRequest& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;}
131 
135  inline DescribeStreamConsumerRequest& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;}
136 
140  inline DescribeStreamConsumerRequest& WithConsumerName(const char* value) { SetConsumerName(value); return *this;}
141 
142 
147  inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; }
148 
153  inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; }
154 
159  inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; }
160 
165  inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); }
166 
171  inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); }
172 
177  inline DescribeStreamConsumerRequest& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;}
178 
183  inline DescribeStreamConsumerRequest& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;}
184 
189  inline DescribeStreamConsumerRequest& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;}
190 
191  private:
192 
193  Aws::String m_streamARN;
194  bool m_streamARNHasBeenSet;
195 
196  Aws::String m_consumerName;
197  bool m_consumerNameHasBeenSet;
198 
199  Aws::String m_consumerARN;
200  bool m_consumerARNHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace Kinesis
205 } // namespace Aws
DescribeStreamConsumerRequest & WithStreamARN(const char *value)
DescribeStreamConsumerRequest & WithConsumerName(const char *value)
DescribeStreamConsumerRequest & WithStreamARN(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DescribeStreamConsumerRequest & WithConsumerARN(const char *value)
DescribeStreamConsumerRequest & WithConsumerName(const Aws::String &value)
DescribeStreamConsumerRequest & WithStreamARN(const Aws::String &value)
DescribeStreamConsumerRequest & WithConsumerARN(const Aws::String &value)
#define AWS_KINESIS_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeStreamConsumerRequest & WithConsumerARN(Aws::String &&value)
DescribeStreamConsumerRequest & WithConsumerName(Aws::String &&value)