AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeClusterRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Kafka
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DescribeCluster"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
41  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
42 
49  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
50 
57  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
58 
65  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
66 
73  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
74 
81  inline DescribeClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
82 
89  inline DescribeClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
90 
97  inline DescribeClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
98 
99  private:
100 
101  Aws::String m_clusterArn;
102  bool m_clusterArnHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace Kafka
107 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::DescribeClusterRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: DescribeClusterRequest.h:49
Aws::Kafka::Model::DescribeClusterRequest
Definition: DescribeClusterRequest.h:22
Aws::Kafka::Model::DescribeClusterRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: DescribeClusterRequest.h:73
Aws::Kafka::Model::DescribeClusterRequest::WithClusterArn
DescribeClusterRequest & WithClusterArn(Aws::String &&value)
Definition: DescribeClusterRequest.h:89
Aws::Kafka::Model::DescribeClusterRequest::WithClusterArn
DescribeClusterRequest & WithClusterArn(const char *value)
Definition: DescribeClusterRequest.h:97
Aws::Kafka::Model::DescribeClusterRequest::WithClusterArn
DescribeClusterRequest & WithClusterArn(const Aws::String &value)
Definition: DescribeClusterRequest.h:81
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DescribeClusterRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: DescribeClusterRequest.h:65
Aws::Kafka::Model::DescribeClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterRequest.h:30
Aws::Kafka::Model::DescribeClusterRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: DescribeClusterRequest.h:57
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::DescribeClusterRequest::DescribeClusterRequest
DescribeClusterRequest()
Aws::Kafka::Model::DescribeClusterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::DescribeClusterRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: DescribeClusterRequest.h:41