AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeregisterStreamConsumerRequest.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 "DeregisterStreamConsumer"; }
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 DeregisterStreamConsumerRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
54 inline DeregisterStreamConsumerRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
55 inline DeregisterStreamConsumerRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
57
59
62 inline const Aws::String& GetConsumerName() const{ return m_consumerName; }
63 inline bool ConsumerNameHasBeenSet() const { return m_consumerNameHasBeenSet; }
64 inline void SetConsumerName(const Aws::String& value) { m_consumerNameHasBeenSet = true; m_consumerName = value; }
65 inline void SetConsumerName(Aws::String&& value) { m_consumerNameHasBeenSet = true; m_consumerName = std::move(value); }
66 inline void SetConsumerName(const char* value) { m_consumerNameHasBeenSet = true; m_consumerName.assign(value); }
67 inline DeregisterStreamConsumerRequest& WithConsumerName(const Aws::String& value) { SetConsumerName(value); return *this;}
68 inline DeregisterStreamConsumerRequest& WithConsumerName(Aws::String&& value) { SetConsumerName(std::move(value)); return *this;}
69 inline DeregisterStreamConsumerRequest& WithConsumerName(const char* value) { SetConsumerName(value); return *this;}
71
73
80 inline const Aws::String& GetConsumerARN() const{ return m_consumerARN; }
81 inline bool ConsumerARNHasBeenSet() const { return m_consumerARNHasBeenSet; }
82 inline void SetConsumerARN(const Aws::String& value) { m_consumerARNHasBeenSet = true; m_consumerARN = value; }
83 inline void SetConsumerARN(Aws::String&& value) { m_consumerARNHasBeenSet = true; m_consumerARN = std::move(value); }
84 inline void SetConsumerARN(const char* value) { m_consumerARNHasBeenSet = true; m_consumerARN.assign(value); }
85 inline DeregisterStreamConsumerRequest& WithConsumerARN(const Aws::String& value) { SetConsumerARN(value); return *this;}
86 inline DeregisterStreamConsumerRequest& WithConsumerARN(Aws::String&& value) { SetConsumerARN(std::move(value)); return *this;}
87 inline DeregisterStreamConsumerRequest& WithConsumerARN(const char* value) { SetConsumerARN(value); return *this;}
89 private:
90
91 Aws::String m_streamARN;
92 bool m_streamARNHasBeenSet = false;
93
94 Aws::String m_consumerName;
95 bool m_consumerNameHasBeenSet = false;
96
97 Aws::String m_consumerARN;
98 bool m_consumerARNHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Kinesis
103} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
DeregisterStreamConsumerRequest & WithConsumerName(Aws::String &&value)
DeregisterStreamConsumerRequest & WithConsumerARN(const char *value)
DeregisterStreamConsumerRequest & WithStreamARN(const Aws::String &value)
DeregisterStreamConsumerRequest & WithConsumerARN(const Aws::String &value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
DeregisterStreamConsumerRequest & WithStreamARN(const char *value)
DeregisterStreamConsumerRequest & WithConsumerARN(Aws::String &&value)
DeregisterStreamConsumerRequest & WithConsumerName(const Aws::String &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
DeregisterStreamConsumerRequest & WithConsumerName(const char *value)
DeregisterStreamConsumerRequest & WithStreamARN(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String