AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateClusterResult.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 CreateClusterResult() = 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 CreateClusterResult& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
48
50
55 inline const Aws::String& GetClusterName() const { return m_clusterName; }
56 template<typename ClusterNameT = Aws::String>
57 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
58 template<typename ClusterNameT = Aws::String>
59 CreateClusterResult& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
61
63
70 inline ClusterState GetState() const { return m_state; }
71 inline void SetState(ClusterState value) { m_stateHasBeenSet = true; m_state = value; }
72 inline CreateClusterResult& WithState(ClusterState value) { SetState(value); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const { return m_requestId; }
78 template<typename RequestIdT = Aws::String>
79 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
80 template<typename RequestIdT = Aws::String>
81 CreateClusterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
83 private:
84
85 Aws::String m_clusterArn;
86 bool m_clusterArnHasBeenSet = false;
87
88 Aws::String m_clusterName;
89 bool m_clusterNameHasBeenSet = false;
90
92 bool m_stateHasBeenSet = false;
93
94 Aws::String m_requestId;
95 bool m_requestIdHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Kafka
100} // namespace Aws
const Aws::String & GetClusterName() const
void SetClusterName(ClusterNameT &&value)
CreateClusterResult & WithState(ClusterState value)
const Aws::String & GetRequestId() const
AWS_KAFKA_API CreateClusterResult()=default
AWS_KAFKA_API CreateClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateClusterResult & WithClusterArn(ClusterArnT &&value)
CreateClusterResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetClusterArn() const
AWS_KAFKA_API CreateClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateClusterResult & WithClusterName(ClusterNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue