AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kinesis
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESIS_API RegisterStreamConsumerRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RegisterStreamConsumer"; }
32
33 AWS_KINESIS_API Aws::String SerializePayload() const override;
34
36
40 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
41
43
49 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
50 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
51 template<typename StreamARNT = Aws::String>
52 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
53 template<typename StreamARNT = Aws::String>
54 RegisterStreamConsumerRequest& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
56
58
62 inline const Aws::String& GetConsumerName() const { return m_consumerName; }
63 inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
64 template<typename ConsumerNameT = Aws::String>
65 void SetConsumerName(ConsumerNameT&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::forward<ConsumerNameT>(value); }
66 template<typename ConsumerNameT = Aws::String>
67 RegisterStreamConsumerRequest& WithConsumerName(ConsumerNameT&& value) { SetConsumerName(std::forward<ConsumerNameT>(value)); return *this;}
69
71
75 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
76 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
77 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
78 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
79 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
80 RegisterStreamConsumerRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
81 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
82 RegisterStreamConsumerRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
83 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
84 }
86 private:
87
88 Aws::String m_streamARN;
89 bool m_streamARNHasBeenSet = false;
90
91 Aws::String m_consumerName;
92 bool m_consumerNameHasBeenSet = false;
93
95 bool m_tagsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Kinesis
100} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
RegisterStreamConsumerRequest & WithStreamARN(StreamARNT &&value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_KINESIS_API Aws::String SerializePayload() const override
AWS_KINESIS_API RegisterStreamConsumerRequest()=default
RegisterStreamConsumerRequest & WithTags(TagsT &&value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
RegisterStreamConsumerRequest & WithConsumerName(ConsumerNameT &&value)
RegisterStreamConsumerRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String