AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateShardCountRequest.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/kinesis/model/ScalingType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Kinesis
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESIS_API UpdateShardCountRequest() = 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 "UpdateShardCount"; }
32
33 AWS_KINESIS_API Aws::String SerializePayload() const override;
34
36
40 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
41
43
46 inline const Aws::String& GetStreamName() const { return m_streamName; }
47 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
48 template<typename StreamNameT = Aws::String>
49 void SetStreamName(StreamNameT&& value) { m_streamNameHasBeenSet = true; m_streamName = std::forward<StreamNameT>(value); }
50 template<typename StreamNameT = Aws::String>
51 UpdateShardCountRequest& WithStreamName(StreamNameT&& value) { SetStreamName(std::forward<StreamNameT>(value)); return *this;}
53
55
65 inline int GetTargetShardCount() const { return m_targetShardCount; }
66 inline bool TargetShardCountHasBeenSet() const { return m_targetShardCountHasBeenSet; }
67 inline void SetTargetShardCount(int value) { m_targetShardCountHasBeenSet = true; m_targetShardCount = value; }
68 inline UpdateShardCountRequest& WithTargetShardCount(int value) { SetTargetShardCount(value); return *this;}
70
72
75 inline ScalingType GetScalingType() const { return m_scalingType; }
76 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
77 inline void SetScalingType(ScalingType value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
78 inline UpdateShardCountRequest& WithScalingType(ScalingType value) { SetScalingType(value); return *this;}
80
82
85 inline const Aws::String& GetStreamARN() const { return m_streamARN; }
86 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
87 template<typename StreamARNT = Aws::String>
88 void SetStreamARN(StreamARNT&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::forward<StreamARNT>(value); }
89 template<typename StreamARNT = Aws::String>
90 UpdateShardCountRequest& WithStreamARN(StreamARNT&& value) { SetStreamARN(std::forward<StreamARNT>(value)); return *this;}
92 private:
93
94 Aws::String m_streamName;
95 bool m_streamNameHasBeenSet = false;
96
97 int m_targetShardCount{0};
98 bool m_targetShardCountHasBeenSet = false;
99
100 ScalingType m_scalingType{ScalingType::NOT_SET};
101 bool m_scalingTypeHasBeenSet = false;
102
103 Aws::String m_streamARN;
104 bool m_streamARNHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Kinesis
109} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_KINESIS_API UpdateShardCountRequest()=default
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
UpdateShardCountRequest & WithScalingType(ScalingType value)
UpdateShardCountRequest & WithStreamARN(StreamARNT &&value)
UpdateShardCountRequest & WithTargetShardCount(int value)
UpdateShardCountRequest & WithStreamName(StreamNameT &&value)
AWS_KINESIS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String