AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SplitShardRequest.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
26 {
27 public:
28 AWS_KINESIS_API SplitShardRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "SplitShard"; }
35
36 AWS_KINESIS_API Aws::String SerializePayload() const override;
37
39
43 AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override;
44
46
49 inline const Aws::String& GetStreamName() const{ return m_streamName; }
50 inline bool StreamNameHasBeenSet() const { return m_streamNameHasBeenSet; }
51 inline void SetStreamName(const Aws::String& value) { m_streamNameHasBeenSet = true; m_streamName = value; }
52 inline void SetStreamName(Aws::String&& value) { m_streamNameHasBeenSet = true; m_streamName = std::move(value); }
53 inline void SetStreamName(const char* value) { m_streamNameHasBeenSet = true; m_streamName.assign(value); }
54 inline SplitShardRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
55 inline SplitShardRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
56 inline SplitShardRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
58
60
63 inline const Aws::String& GetShardToSplit() const{ return m_shardToSplit; }
64 inline bool ShardToSplitHasBeenSet() const { return m_shardToSplitHasBeenSet; }
65 inline void SetShardToSplit(const Aws::String& value) { m_shardToSplitHasBeenSet = true; m_shardToSplit = value; }
66 inline void SetShardToSplit(Aws::String&& value) { m_shardToSplitHasBeenSet = true; m_shardToSplit = std::move(value); }
67 inline void SetShardToSplit(const char* value) { m_shardToSplitHasBeenSet = true; m_shardToSplit.assign(value); }
68 inline SplitShardRequest& WithShardToSplit(const Aws::String& value) { SetShardToSplit(value); return *this;}
69 inline SplitShardRequest& WithShardToSplit(Aws::String&& value) { SetShardToSplit(std::move(value)); return *this;}
70 inline SplitShardRequest& WithShardToSplit(const char* value) { SetShardToSplit(value); return *this;}
72
74
83 inline const Aws::String& GetNewStartingHashKey() const{ return m_newStartingHashKey; }
84 inline bool NewStartingHashKeyHasBeenSet() const { return m_newStartingHashKeyHasBeenSet; }
85 inline void SetNewStartingHashKey(const Aws::String& value) { m_newStartingHashKeyHasBeenSet = true; m_newStartingHashKey = value; }
86 inline void SetNewStartingHashKey(Aws::String&& value) { m_newStartingHashKeyHasBeenSet = true; m_newStartingHashKey = std::move(value); }
87 inline void SetNewStartingHashKey(const char* value) { m_newStartingHashKeyHasBeenSet = true; m_newStartingHashKey.assign(value); }
88 inline SplitShardRequest& WithNewStartingHashKey(const Aws::String& value) { SetNewStartingHashKey(value); return *this;}
89 inline SplitShardRequest& WithNewStartingHashKey(Aws::String&& value) { SetNewStartingHashKey(std::move(value)); return *this;}
90 inline SplitShardRequest& WithNewStartingHashKey(const char* value) { SetNewStartingHashKey(value); return *this;}
92
94
97 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
98 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
99 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
100 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
101 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
102 inline SplitShardRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
103 inline SplitShardRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
104 inline SplitShardRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
106 private:
107
108 Aws::String m_streamName;
109 bool m_streamNameHasBeenSet = false;
110
111 Aws::String m_shardToSplit;
112 bool m_shardToSplitHasBeenSet = false;
113
114 Aws::String m_newStartingHashKey;
115 bool m_newStartingHashKeyHasBeenSet = false;
116
117 Aws::String m_streamARN;
118 bool m_streamARNHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Kinesis
123} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
void SetStreamName(Aws::String &&value)
const Aws::String & GetShardToSplit() const
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
void SetShardToSplit(Aws::String &&value)
SplitShardRequest & WithStreamName(const Aws::String &value)
void SetNewStartingHashKey(Aws::String &&value)
void SetNewStartingHashKey(const char *value)
AWS_KINESIS_API Aws::String SerializePayload() const override
void SetStreamName(const Aws::String &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
SplitShardRequest & WithNewStartingHashKey(const char *value)
SplitShardRequest & WithStreamARN(const char *value)
SplitShardRequest & WithShardToSplit(const char *value)
virtual const char * GetServiceRequestName() const override
SplitShardRequest & WithStreamARN(const Aws::String &value)
SplitShardRequest & WithShardToSplit(Aws::String &&value)
SplitShardRequest & WithNewStartingHashKey(Aws::String &&value)
SplitShardRequest & WithStreamName(Aws::String &&value)
void SetNewStartingHashKey(const Aws::String &value)
const Aws::String & GetStreamARN() const
SplitShardRequest & WithStreamARN(Aws::String &&value)
SplitShardRequest & WithStreamName(const char *value)
SplitShardRequest & WithShardToSplit(const Aws::String &value)
void SetShardToSplit(const Aws::String &value)
const Aws::String & GetStreamName() const
void SetStreamARN(const Aws::String &value)
SplitShardRequest & WithNewStartingHashKey(const Aws::String &value)
const Aws::String & GetNewStartingHashKey() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String