AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterStreamConsumerRequest.h
1
6#pragma once
7#include <aws/kinesis/Kinesis_EXPORTS.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Kinesis
15{
16namespace 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 "RegisterStreamConsumer"; }
31
32 AWS_KINESIS_API Aws::String SerializePayload() const override;
33
35
39 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
40
42
48 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
49 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
50 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
51 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
52 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
53 inline RegisterStreamConsumerRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
54 inline RegisterStreamConsumerRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
55 inline RegisterStreamConsumerRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
57
59
63 inline const Aws::String& GetConsumerName() const{ return m_consumerName; }
64 inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
65 inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; }
66 inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); }
67 inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); }
68 inline RegisterStreamConsumerRequest& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;}
69 inline RegisterStreamConsumerRequest& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;}
70 inline RegisterStreamConsumerRequest& WithConsumerName(const char* value) { SetConsumerName(value); return *this;}
72 private:
73
74 Aws::String m_streamARN;
75 bool m_streamARNHasBeenSet = false;
76
77 Aws::String m_consumerName;
78 bool m_consumerNameHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kinesis
83} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
RegisterStreamConsumerRequest & WithStreamARN(const char *value)
RegisterStreamConsumerRequest & WithConsumerName(const Aws::String &value)
RegisterStreamConsumerRequest & WithConsumerName(Aws::String &&value)
RegisterStreamConsumerRequest & WithStreamARN(Aws::String &&value)
RegisterStreamConsumerRequest & WithStreamARN(const Aws::String &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
RegisterStreamConsumerRequest & WithConsumerName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String