AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeTopicRequest.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 DescribeTopicRequest() = 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 "DescribeTopic"; }
28
29 AWS_KAFKA_API Aws::String SerializePayload() const override;
30
32
38 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
39 inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
40 template <typename ClusterArnT = Aws::String>
41 void SetClusterArn(ClusterArnT&& value) {
42 m_clusterArnHasBeenSet = true;
43 m_clusterArn = std::forward<ClusterArnT>(value);
44 }
45 template <typename ClusterArnT = Aws::String>
46 DescribeTopicRequest& WithClusterArn(ClusterArnT&& value) {
47 SetClusterArn(std::forward<ClusterArnT>(value));
48 return *this;
49 }
51
53
59 inline const Aws::String& GetTopicName() const { return m_topicName; }
60 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
61 template <typename TopicNameT = Aws::String>
62 void SetTopicName(TopicNameT&& value) {
63 m_topicNameHasBeenSet = true;
64 m_topicName = std::forward<TopicNameT>(value);
65 }
66 template <typename TopicNameT = Aws::String>
67 DescribeTopicRequest& WithTopicName(TopicNameT&& value) {
68 SetTopicName(std::forward<TopicNameT>(value));
69 return *this;
70 }
72 private:
73 Aws::String m_clusterArn;
74
75 Aws::String m_topicName;
76 bool m_clusterArnHasBeenSet = false;
77 bool m_topicNameHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Kafka
82} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_KAFKA_API DescribeTopicRequest()=default
AWS_KAFKA_API Aws::String SerializePayload() const override
DescribeTopicRequest & WithClusterArn(ClusterArnT &&value)
DescribeTopicRequest & WithTopicName(TopicNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String