AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteClusterResult.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafka/model/ClusterState.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Kafka
25{
26namespace Model
27{
29 {
30 public:
31 AWS_KAFKA_API DeleteClusterResult();
34
35
37
42 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
43 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
44 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
45 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
46 inline DeleteClusterResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
47 inline DeleteClusterResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
48 inline DeleteClusterResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
50
52
59 inline const ClusterState& GetState() const{ return m_state; }
60 inline void SetState(const ClusterState& value) { m_state = value; }
61 inline void SetState(ClusterState&& value) { m_state = std::move(value); }
62 inline DeleteClusterResult& WithState(const ClusterState& value) { SetState(value); return *this;}
63 inline DeleteClusterResult& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
65
67
68 inline const Aws::String& GetRequestId() const{ return m_requestId; }
69 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
70 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
71 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
72 inline DeleteClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
73 inline DeleteClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
74 inline DeleteClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
76 private:
77
78 Aws::String m_clusterArn;
79
80 ClusterState m_state;
81
82 Aws::String m_requestId;
83 };
84
85} // namespace Model
86} // namespace Kafka
87} // namespace Aws
void SetState(const ClusterState &value)
DeleteClusterResult & WithClusterArn(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const ClusterState & GetState() const
AWS_KAFKA_API DeleteClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteClusterResult & WithState(const ClusterState &value)
DeleteClusterResult & WithClusterArn(const char *value)
DeleteClusterResult & WithRequestId(const Aws::String &value)
DeleteClusterResult & WithClusterArn(Aws::String &&value)
const Aws::String & GetClusterArn() const
void SetClusterArn(const Aws::String &value)
AWS_KAFKA_API DeleteClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteClusterResult & WithState(ClusterState &&value)
DeleteClusterResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
DeleteClusterResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue