AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
UpdateStreamWarmThroughputRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesis/KinesisRequest.h>
9#include <aws/kinesis/Kinesis_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Kinesis {
15namespace Model {
16
20 public:
21 AWS_KINESIS_API UpdateStreamWarmThroughputRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateStreamWarmThroughput"; }
28
29 AWS_KINESIS_API Aws::String SerializePayload() const override;
30
32
36 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
37
39
42 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
43 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
44 template <typename StreamARNT = Aws::String>
45 void SetStreamARN(StreamARNT&& value) {
46 m_streamARNHasBeenSet = true;
47 m_streamARN = std::forward<StreamARNT>(value);
48 }
49 template <typename StreamARNT = Aws::String>
51 SetStreamARN(std::forward<StreamARNT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetStreamName() const { return m_streamName; }
61 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
62 template <typename StreamNameT = Aws::String>
63 void SetStreamName(StreamNameT&& value) {
64 m_streamNameHasBeenSet = true;
65 m_streamName = std::forward<StreamNameT>(value);
66 }
67 template <typename StreamNameT = Aws::String>
69 SetStreamName(std::forward<StreamNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetStreamId() const { return m_streamId; }
79 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
80 template <typename StreamIdT = Aws::String>
81 void SetStreamId(StreamIdT&& value) {
82 m_streamIdHasBeenSet = true;
83 m_streamId = std::forward<StreamIdT>(value);
84 }
85 template <typename StreamIdT = Aws::String>
87 SetStreamId(std::forward<StreamIdT>(value));
88 return *this;
89 }
91
93
98 inline int GetWarmThroughputMiBps() const { return m_warmThroughputMiBps; }
99 inline bool WarmThroughputMiBpsHasBeenSet() const { return m_warmThroughputMiBpsHasBeenSet; }
100 inline void SetWarmThroughputMiBps(int value) {
101 m_warmThroughputMiBpsHasBeenSet = true;
102 m_warmThroughputMiBps = value;
103 }
106 return *this;
107 }
109 private:
110 Aws::String m_streamARN;
111
112 Aws::String m_streamName;
113
114 Aws::String m_streamId;
115
116 int m_warmThroughputMiBps{0};
117 bool m_streamARNHasBeenSet = false;
118 bool m_streamNameHasBeenSet = false;
119 bool m_streamIdHasBeenSet = false;
120 bool m_warmThroughputMiBpsHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Kinesis
125} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
UpdateStreamWarmThroughputRequest & WithStreamId(StreamIdT &&value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
UpdateStreamWarmThroughputRequest & WithStreamName(StreamNameT &&value)
UpdateStreamWarmThroughputRequest & WithWarmThroughputMiBps(int value)
UpdateStreamWarmThroughputRequest & WithStreamARN(StreamARNT &&value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String