AWS SDK for C++  1.9.106
AWS SDK for C++
DeleteClusterResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Kafka
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
42 
48  inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
49 
55  inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
56 
62  inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
63 
69  inline DeleteClusterResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
70 
76  inline DeleteClusterResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
77 
83  inline DeleteClusterResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
84 
85 
93  inline const ClusterState& GetState() const{ return m_state; }
94 
102  inline void SetState(const ClusterState& value) { m_state = value; }
103 
111  inline void SetState(ClusterState&& value) { m_state = std::move(value); }
112 
120  inline DeleteClusterResult& WithState(const ClusterState& value) { SetState(value); return *this;}
121 
129  inline DeleteClusterResult& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
130 
131  private:
132 
133  Aws::String m_clusterArn;
134 
135  ClusterState m_state;
136  };
137 
138 } // namespace Model
139 } // namespace Kafka
140 } // namespace Aws
Aws::Kafka::Model::DeleteClusterResult::SetClusterArn
void SetClusterArn(const Aws::String &value)
Definition: DeleteClusterResult.h:48
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Kafka::Model::ClusterState
ClusterState
Definition: ClusterState.h:17
Aws::Kafka::Model::DeleteClusterResult::SetClusterArn
void SetClusterArn(const char *value)
Definition: DeleteClusterResult.h:62
Aws::Kafka::Model::DeleteClusterResult::WithState
DeleteClusterResult & WithState(const ClusterState &value)
Definition: DeleteClusterResult.h:120
Aws::Kafka::Model::DeleteClusterResult::DeleteClusterResult
DeleteClusterResult()
Aws::Kafka::Model::DeleteClusterResult::WithState
DeleteClusterResult & WithState(ClusterState &&value)
Definition: DeleteClusterResult.h:129
Aws::Kafka::Model::DeleteClusterResult::DeleteClusterResult
DeleteClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DeleteClusterResult::WithClusterArn
DeleteClusterResult & WithClusterArn(const char *value)
Definition: DeleteClusterResult.h:83
Aws::Kafka::Model::DeleteClusterResult::SetState
void SetState(const ClusterState &value)
Definition: DeleteClusterResult.h:102
AWSString.h
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::DeleteClusterResult::operator=
DeleteClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Kafka::Model::DeleteClusterResult::GetClusterArn
const Aws::String & GetClusterArn() const
Definition: DeleteClusterResult.h:41
Aws::Kafka::Model::DeleteClusterResult::SetClusterArn
void SetClusterArn(Aws::String &&value)
Definition: DeleteClusterResult.h:55
ClusterState.h
Aws::Kafka::Model::DeleteClusterResult::WithClusterArn
DeleteClusterResult & WithClusterArn(Aws::String &&value)
Definition: DeleteClusterResult.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::DeleteClusterResult::SetState
void SetState(ClusterState &&value)
Definition: DeleteClusterResult.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Kafka_EXPORTS.h
Aws::Kafka::Model::DeleteClusterResult::GetState
const ClusterState & GetState() const
Definition: DeleteClusterResult.h:93
Aws::Kafka::Model::DeleteClusterResult
Definition: DeleteClusterResult.h:29
Aws::Kafka::Model::DeleteClusterResult::WithClusterArn
DeleteClusterResult & WithClusterArn(const Aws::String &value)
Definition: DeleteClusterResult.h:69