AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteClusterRequest.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 "DeleteCluster"; }
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 DeleteClusterRequest& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
88 
95  inline DeleteClusterRequest& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
96 
103  inline DeleteClusterRequest& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
104 
105 
111  inline const Aws::String& GetCurrentVersion() const{ return m_currentVersion; }
112 
118  inline bool CurrentVersionHasBeenSet() const { return m_currentVersionHasBeenSet; }
119 
125  inline void SetCurrentVersion(const Aws::String& value) { m_currentVersionHasBeenSet = true; m_currentVersion = value; }
126 
132  inline void SetCurrentVersion(Aws::String&& value) { m_currentVersionHasBeenSet = true; m_currentVersion = std::move(value); }
133 
139  inline void SetCurrentVersion(const char* value) { m_currentVersionHasBeenSet = true; m_currentVersion.assign(value); }
140 
146  inline DeleteClusterRequest& WithCurrentVersion(const Aws::String& value) { SetCurrentVersion(value); return *this;}
147 
153  inline DeleteClusterRequest& WithCurrentVersion(Aws::String&& value) { SetCurrentVersion(std::move(value)); return *this;}
154 
160  inline DeleteClusterRequest& WithCurrentVersion(const char* value) { SetCurrentVersion(value); return *this;}
161 
162  private:
163 
164  Aws::String m_clusterArn;
165  bool m_clusterArnHasBeenSet;
166 
167  Aws::String m_currentVersion;
168  bool m_currentVersionHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace Kafka
173 } // namespace Aws
KafkaRequest.h
Aws::Kafka::KafkaRequest
Definition: KafkaRequest.h:17
Aws::Http::URI
Definition: URI.h:32
Aws::Kafka::Model::DeleteClusterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteClusterRequest.h:34
Aws::Kafka::Model::DeleteClusterRequest::CurrentVersionHasBeenSet
bool CurrentVersionHasBeenSet() const
Definition: DeleteClusterRequest.h:118
Aws::Kafka::Model::DeleteClusterRequest::DeleteClusterRequest
DeleteClusterRequest()
Aws::Kafka::Model::DeleteClusterRequest::WithCurrentVersion
DeleteClusterRequest & WithCurrentVersion(const Aws::String &value)
Definition: DeleteClusterRequest.h:146
Aws::Kafka::Model::DeleteClusterRequest::SetClusterArn
void SetClusterArn(const char *value)
Definition: DeleteClusterRequest.h:79
Aws::Kafka::Model::DeleteClusterRequest::SetCurrentVersion
void SetCurrentVersion(const char *value)
Definition: DeleteClusterRequest.h:139
Aws::Kafka::Model::DeleteClusterRequest::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: DeleteClusterRequest.h:71
Aws::Kafka::Model::DeleteClusterRequest::WithCurrentVersion
DeleteClusterRequest & WithCurrentVersion(const char *value)
Definition: DeleteClusterRequest.h:160
Aws::Kafka::Model::DeleteClusterRequest::WithCurrentVersion
DeleteClusterRequest & WithCurrentVersion(Aws::String &&value)
Definition: DeleteClusterRequest.h:153
Aws::Kafka::Model::DeleteClusterRequest
Definition: DeleteClusterRequest.h:26
Aws::Kafka::Model::DeleteClusterRequest::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: DeleteClusterRequest.h:63
Aws::Kafka::Model::DeleteClusterRequest::GetCurrentVersion
const Aws::String & GetCurrentVersion() const
Definition: DeleteClusterRequest.h:111
Aws::Kafka::Model::DeleteClusterRequest::SetCurrentVersion
void SetCurrentVersion(const Aws::String &value)
Definition: DeleteClusterRequest.h:125
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DeleteClusterRequest::WithClusterArn
DeleteClusterRequest & WithClusterArn(const Aws::String &value)
Definition: DeleteClusterRequest.h:87
Aws::Kafka::Model::DeleteClusterRequest::ClusterArnHasBeenSet
bool ClusterArnHasBeenSet() const
Definition: DeleteClusterRequest.h:55
Aws::Kafka::Model::DeleteClusterRequest::SetCurrentVersion
void SetCurrentVersion(Aws::String &&value)
Definition: DeleteClusterRequest.h:132
Aws::Kafka::Model::DeleteClusterRequest::WithClusterArn
DeleteClusterRequest & WithClusterArn(const char *value)
Definition: DeleteClusterRequest.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::DeleteClusterRequest::WithClusterArn
DeleteClusterRequest & WithClusterArn(Aws::String &&value)
Definition: DeleteClusterRequest.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::DeleteClusterRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Kafka::Model::DeleteClusterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Kafka::Model::DeleteClusterRequest::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: DeleteClusterRequest.h:47