AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
49 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
50 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
51 inline UpdateShardCountRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
52 inline UpdateShardCountRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
53 inline UpdateShardCountRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
55
57
67 inline int GetTargetShardCount() const{ return m_targetShardCount; }
68 inline bool TargetShardCountHasBeenSet() const { return m_targetShardCountHasBeenSet; }
69 inline void SetTargetShardCount(int value) { m_targetShardCountHasBeenSet = true; m_targetShardCount = value; }
70 inline UpdateShardCountRequest& WithTargetShardCount(int value) { SetTargetShardCount(value); return *this;}
72
74
77 inline const ScalingType& GetScalingType() const{ return m_scalingType; }
78 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
79 inline void SetScalingType(const ScalingType& value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
80 inline void SetScalingType(ScalingType&& value) { m_scalingTypeHasBeenSet = true; m_scalingType = std::move(value); }
81 inline UpdateShardCountRequest& WithScalingType(const ScalingType& value) { SetScalingType(value); return *this;}
82 inline UpdateShardCountRequest& WithScalingType(ScalingType&& value) { SetScalingType(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
90 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
91 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
92 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
93 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
94 inline UpdateShardCountRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
95 inline UpdateShardCountRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
96 inline UpdateShardCountRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
98 private:
99
100 Aws::String m_streamName;
101 bool m_streamNameHasBeenSet = false;
102
103 int m_targetShardCount;
104 bool m_targetShardCountHasBeenSet = false;
105
106 ScalingType m_scalingType;
107 bool m_scalingTypeHasBeenSet = false;
108
109 Aws::String m_streamARN;
110 bool m_streamARNHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Kinesis
115} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateShardCountRequest & WithStreamARN(const char *value)
UpdateShardCountRequest & WithStreamARN(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
UpdateShardCountRequest & WithScalingType(const ScalingType &value)
UpdateShardCountRequest & WithStreamName(Aws::String &&value)
UpdateShardCountRequest & WithStreamName(const Aws::String &value)
UpdateShardCountRequest & WithTargetShardCount(int value)
UpdateShardCountRequest & WithStreamARN(const Aws::String &value)
AWS_KINESIS_API Aws::String SerializePayload() const override
UpdateShardCountRequest & WithScalingType(ScalingType &&value)
UpdateShardCountRequest & WithStreamName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String