AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
42 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
43 template<typename ClusterArnT = Aws::String>
44 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
45 template<typename ClusterArnT = Aws::String>
46 DeleteClusterResult& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
48
50
57 inline ClusterState GetState() const { return m_state; }
58 inline void SetState(ClusterState value) { m_stateHasBeenSet = true; m_state = value; }
59 inline DeleteClusterResult& WithState(ClusterState value) { SetState(value); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template<typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
67 template<typename RequestIdT = Aws::String>
68 DeleteClusterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
70 private:
71
72 Aws::String m_clusterArn;
73 bool m_clusterArnHasBeenSet = false;
74
76 bool m_stateHasBeenSet = false;
77
78 Aws::String m_requestId;
79 bool m_requestIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace Kafka
84} // namespace Aws
AWS_KAFKA_API DeleteClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API DeleteClusterResult()=default
const Aws::String & GetClusterArn() const
AWS_KAFKA_API DeleteClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteClusterResult & WithRequestId(RequestIdT &&value)
DeleteClusterResult & WithState(ClusterState value)
const Aws::String & GetRequestId() const
DeleteClusterResult & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue