AWS SDK for C++  1.9.44
AWS SDK for C++
GetCompatibleKafkaVersionsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Kafka
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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 "GetCompatibleKafkaVersions"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
47  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
48 
55  inline bool ClusterArnHasBeenSet() const { return m_clusterArnHasBeenSet; }
56 
63  inline void SetClusterArn(const Aws::String& value) { m_clusterArnHasBeenSet = true; m_clusterArn = value; }
64 
71  inline void SetClusterArn(Aws::String&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::move(value); }
72 
79  inline void SetClusterArn(const char* value) { m_clusterArnHasBeenSet = true; m_clusterArn.assign(value); }
80 
87  inline GetCompatibleKafkaVersionsRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
88 
95  inline GetCompatibleKafkaVersionsRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
96 
103  inline GetCompatibleKafkaVersionsRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
104 
105  private:
106 
107  Aws::String m_clusterArn;
108  bool m_clusterArnHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace Kafka
113 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Http::URI
Definition: URI.h:32
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: GetCompatibleKafkaVersionsRequest.h:47
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::WithClusterArn
GetCompatibleKafkaVersionsRequest & WithClusterArn(const Aws::String &value)
Definition: GetCompatibleKafkaVersionsRequest.h:87
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: GetCompatibleKafkaVersionsRequest.h:63
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: GetCompatibleKafkaVersionsRequest.h:79
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: GetCompatibleKafkaVersionsRequest.h:71
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::WithClusterArn
GetCompatibleKafkaVersionsRequest & WithClusterArn(const char *value)
Definition: GetCompatibleKafkaVersionsRequest.h:103
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::GetCompatibleKafkaVersionsRequest
GetCompatibleKafkaVersionsRequest()
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: GetCompatibleKafkaVersionsRequest.h:55
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::WithClusterArn
GetCompatibleKafkaVersionsRequest & WithClusterArn(Aws::String &&value)
Definition: GetCompatibleKafkaVersionsRequest.h:95
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest
Definition: GetCompatibleKafkaVersionsRequest.h:26
Aws::Kafka::Model::GetCompatibleKafkaVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCompatibleKafkaVersionsRequest.h:34