AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
StopTopicReassignmentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafka/KafkaRequest.h>
9#include <aws/kafka/Kafka_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Kafka {
15namespace Model {
16
20 public:
21 AWS_KAFKA_API StopTopicReassignmentRequest() = 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 "StopTopicReassignment"; }
28
29 AWS_KAFKA_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
36 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
37 template <typename ClusterArnT = Aws::String>
38 void SetClusterArn(ClusterArnT&& value) {
39 m_clusterArnHasBeenSet = true;
40 m_clusterArn = std::forward<ClusterArnT>(value);
41 }
42 template <typename ClusterArnT = Aws::String>
44 SetClusterArn(std::forward<ClusterArnT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetTopicReassignmentOperationArn() const { return m_topicReassignmentOperationArn; }
55 inline bool TopicReassignmentOperationArnHasBeenSet() const { return m_topicReassignmentOperationArnHasBeenSet; }
56 template <typename TopicReassignmentOperationArnT = Aws::String>
57 void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT&& value) {
58 m_topicReassignmentOperationArnHasBeenSet = true;
59 m_topicReassignmentOperationArn = std::forward<TopicReassignmentOperationArnT>(value);
60 }
61 template <typename TopicReassignmentOperationArnT = Aws::String>
62 StopTopicReassignmentRequest& WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT&& value) {
63 SetTopicReassignmentOperationArn(std::forward<TopicReassignmentOperationArnT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_clusterArn;
69
70 Aws::String m_topicReassignmentOperationArn;
71 bool m_clusterArnHasBeenSet = false;
72 bool m_topicReassignmentOperationArnHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace Kafka
77} // namespace Aws
AWS_KAFKA_API Aws::String SerializePayload() const override
void SetTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_KAFKA_API StopTopicReassignmentRequest()=default
StopTopicReassignmentRequest & WithTopicReassignmentOperationArn(TopicReassignmentOperationArnT &&value)
StopTopicReassignmentRequest & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String