AWS SDK for C++  1.9.105
AWS SDK for C++
DescribeClusterOperationRequest.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 "DescribeClusterOperation"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
41  inline const Aws::String& GetClusterOperationArn() const{ return m_clusterOperationArn; }
42 
49  inline bool ClusterOperationArnHasBeenSet() const { return m_clusterOperationArnHasBeenSet; }
50 
57  inline void SetClusterOperationArn(const Aws::String& value) { m_clusterOperationArnHasBeenSet = true; m_clusterOperationArn = value; }
58 
65  inline void SetClusterOperationArn(Aws::String&& value) { m_clusterOperationArnHasBeenSet = true; m_clusterOperationArn = std::move(value); }
66 
73  inline void SetClusterOperationArn(const char* value) { m_clusterOperationArnHasBeenSet = true; m_clusterOperationArn.assign(value); }
74 
81  inline DescribeClusterOperationRequest& WithClusterOperationArn(const Aws::String& value) { SetClusterOperationArn(value); return *this;}
82 
89  inline DescribeClusterOperationRequest& WithClusterOperationArn(Aws::String&& value) { SetClusterOperationArn(std::move(value)); return *this;}
90 
97  inline DescribeClusterOperationRequest& WithClusterOperationArn(const char* value) { SetClusterOperationArn(value); return *this;}
98 
99  private:
100 
101  Aws::String m_clusterOperationArn;
102  bool m_clusterOperationArnHasBeenSet;
103  };
104 
105 } // namespace Model
106 } // namespace Kafka
107 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Kafka::Model::DescribeClusterOperationRequest::SetClusterOperationArn
void SetClusterOperationArn(const Aws::String &value)
Definition: DescribeClusterOperationRequest.h:57
Aws::Kafka::Model::DescribeClusterOperationRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeClusterOperationRequest.h:30
Aws::Kafka::Model::DescribeClusterOperationRequest::GetClusterOperationArn
const Aws::String & GetClusterOperationArn() const
Definition: DescribeClusterOperationRequest.h:41
Aws::Kafka::Model::DescribeClusterOperationRequest::SetClusterOperationArn
void SetClusterOperationArn(const char *value)
Definition: DescribeClusterOperationRequest.h:73
Aws::Kafka::Model::DescribeClusterOperationRequest::WithClusterOperationArn
DescribeClusterOperationRequest & WithClusterOperationArn(const Aws::String &value)
Definition: DescribeClusterOperationRequest.h:81
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DescribeClusterOperationRequest::ClusterOperationArnHasBeenSet
bool ClusterOperationArnHasBeenSet() const
Definition: DescribeClusterOperationRequest.h:49
Aws::Kafka::Model::DescribeClusterOperationRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::DescribeClusterOperationRequest
Definition: DescribeClusterOperationRequest.h:22
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::DescribeClusterOperationRequest::WithClusterOperationArn
DescribeClusterOperationRequest & WithClusterOperationArn(const char *value)
Definition: DescribeClusterOperationRequest.h:97
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::DescribeClusterOperationRequest::SetClusterOperationArn
void SetClusterOperationArn(Aws::String &&value)
Definition: DescribeClusterOperationRequest.h:65
Aws::Kafka::Model::DescribeClusterOperationRequest::DescribeClusterOperationRequest
DescribeClusterOperationRequest()
Aws::Kafka::Model::DescribeClusterOperationRequest::WithClusterOperationArn
DescribeClusterOperationRequest & WithClusterOperationArn(Aws::String &&value)
Definition: DescribeClusterOperationRequest.h:89