AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MergeShardsRequest.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 MergeShardsRequest();
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 "MergeShards"; }
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 MergeShardsRequest& WithStreamName(const Aws::String& value) { SetStreamName(value); return *this;}
55 inline MergeShardsRequest& WithStreamName(Aws::String&& value) { SetStreamName(std::move(value)); return *this;}
56 inline MergeShardsRequest& WithStreamName(const char* value) { SetStreamName(value); return *this;}
58
60
64 inline const Aws::String& GetShardToMerge() const{ return m_shardToMerge; }
65 inline bool ShardToMergeHasBeenSet() const { return m_shardToMergeHasBeenSet; }
66 inline void SetShardToMerge(const Aws::String& value) { m_shardToMergeHasBeenSet = true; m_shardToMerge = value; }
67 inline void SetShardToMerge(Aws::String&& value) { m_shardToMergeHasBeenSet = true; m_shardToMerge = std::move(value); }
68 inline void SetShardToMerge(const char* value) { m_shardToMergeHasBeenSet = true; m_shardToMerge.assign(value); }
69 inline MergeShardsRequest& WithShardToMerge(const Aws::String& value) { SetShardToMerge(value); return *this;}
70 inline MergeShardsRequest& WithShardToMerge(Aws::String&& value) { SetShardToMerge(std::move(value)); return *this;}
71 inline MergeShardsRequest& WithShardToMerge(const char* value) { SetShardToMerge(value); return *this;}
73
75
78 inline const Aws::String& GetAdjacentShardToMerge() const{ return m_adjacentShardToMerge; }
79 inline bool AdjacentShardToMergeHasBeenSet() const { return m_adjacentShardToMergeHasBeenSet; }
80 inline void SetAdjacentShardToMerge(const Aws::String& value) { m_adjacentShardToMergeHasBeenSet = true; m_adjacentShardToMerge = value; }
81 inline void SetAdjacentShardToMerge(Aws::String&& value) { m_adjacentShardToMergeHasBeenSet = true; m_adjacentShardToMerge = std::move(value); }
82 inline void SetAdjacentShardToMerge(const char* value) { m_adjacentShardToMergeHasBeenSet = true; m_adjacentShardToMerge.assign(value); }
84 inline MergeShardsRequest& WithAdjacentShardToMerge(Aws::String&& value) { SetAdjacentShardToMerge(std::move(value)); return *this;}
85 inline MergeShardsRequest& WithAdjacentShardToMerge(const char* value) { SetAdjacentShardToMerge(value); return *this;}
87
89
92 inline const Aws::String& GetStreamARN() const{ return m_streamARN; }
93 inline bool StreamARNHasBeenSet() const { return m_streamARNHasBeenSet; }
94 inline void SetStreamARN(const Aws::String& value) { m_streamARNHasBeenSet = true; m_streamARN = value; }
95 inline void SetStreamARN(Aws::String&& value) { m_streamARNHasBeenSet = true; m_streamARN = std::move(value); }
96 inline void SetStreamARN(const char* value) { m_streamARNHasBeenSet = true; m_streamARN.assign(value); }
97 inline MergeShardsRequest& WithStreamARN(const Aws::String& value) { SetStreamARN(value); return *this;}
98 inline MergeShardsRequest& WithStreamARN(Aws::String&& value) { SetStreamARN(std::move(value)); return *this;}
99 inline MergeShardsRequest& WithStreamARN(const char* value) { SetStreamARN(value); return *this;}
101 private:
102
103 Aws::String m_streamName;
104 bool m_streamNameHasBeenSet = false;
105
106 Aws::String m_shardToMerge;
107 bool m_shardToMergeHasBeenSet = false;
108
109 Aws::String m_adjacentShardToMerge;
110 bool m_adjacentShardToMergeHasBeenSet = false;
111
112 Aws::String m_streamARN;
113 bool m_streamARNHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace Kinesis
118} // namespace Aws
Aws::Endpoint::EndpointParameters EndpointParameters
MergeShardsRequest & WithStreamName(Aws::String &&value)
MergeShardsRequest & WithShardToMerge(const char *value)
const Aws::String & GetShardToMerge() const
MergeShardsRequest & WithAdjacentShardToMerge(Aws::String &&value)
const Aws::String & GetStreamARN() const
MergeShardsRequest & WithShardToMerge(Aws::String &&value)
MergeShardsRequest & WithAdjacentShardToMerge(const Aws::String &value)
void SetAdjacentShardToMerge(const char *value)
MergeShardsRequest & WithStreamName(const char *value)
const Aws::String & GetAdjacentShardToMerge() const
MergeShardsRequest & WithStreamARN(const char *value)
void SetShardToMerge(const Aws::String &value)
AWS_KINESIS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
MergeShardsRequest & WithStreamARN(Aws::String &&value)
void SetAdjacentShardToMerge(Aws::String &&value)
MergeShardsRequest & WithAdjacentShardToMerge(const char *value)
MergeShardsRequest & WithShardToMerge(const Aws::String &value)
void SetStreamARN(const Aws::String &value)
MergeShardsRequest & WithStreamName(const Aws::String &value)
void SetStreamName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetStreamName() const
void SetAdjacentShardToMerge(const Aws::String &value)
AWS_KINESIS_API EndpointParameters GetEndpointContextParams() const override
AWS_KINESIS_API Aws::String SerializePayload() const override
MergeShardsRequest & WithStreamARN(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String