AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateClusterV2Result.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 <aws/kafka/model/ClusterType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Kafka
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KAFKA_API CreateClusterV2Result() = default;
35
36
38
43 inline const Aws::String& GetClusterArn() const { return m_clusterArn; }
44 template<typename ClusterArnT = Aws::String>
45 void SetClusterArn(ClusterArnT&& value) { m_clusterArnHasBeenSet = true; m_clusterArn = std::forward<ClusterArnT>(value); }
46 template<typename ClusterArnT = Aws::String>
47 CreateClusterV2Result& WithClusterArn(ClusterArnT&& value) { SetClusterArn(std::forward<ClusterArnT>(value)); return *this;}
49
51
56 inline const Aws::String& GetClusterName() const { return m_clusterName; }
57 template<typename ClusterNameT = Aws::String>
58 void SetClusterName(ClusterNameT&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::forward<ClusterNameT>(value); }
59 template<typename ClusterNameT = Aws::String>
60 CreateClusterV2Result& WithClusterName(ClusterNameT&& value) { SetClusterName(std::forward<ClusterNameT>(value)); return *this;}
62
64
71 inline ClusterState GetState() const { return m_state; }
72 inline void SetState(ClusterState value) { m_stateHasBeenSet = true; m_state = value; }
73 inline CreateClusterV2Result& WithState(ClusterState value) { SetState(value); return *this;}
75
77
83 inline ClusterType GetClusterType() const { return m_clusterType; }
84 inline void SetClusterType(ClusterType value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; }
85 inline CreateClusterV2Result& WithClusterType(ClusterType value) { SetClusterType(value); return *this;}
87
89
90 inline const Aws::String& GetRequestId() const { return m_requestId; }
91 template<typename RequestIdT = Aws::String>
92 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
93 template<typename RequestIdT = Aws::String>
94 CreateClusterV2Result& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
96 private:
97
98 Aws::String m_clusterArn;
99 bool m_clusterArnHasBeenSet = false;
100
101 Aws::String m_clusterName;
102 bool m_clusterNameHasBeenSet = false;
103
105 bool m_stateHasBeenSet = false;
106
107 ClusterType m_clusterType{ClusterType::NOT_SET};
108 bool m_clusterTypeHasBeenSet = false;
109
110 Aws::String m_requestId;
111 bool m_requestIdHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Kafka
116} // namespace Aws
CreateClusterV2Result & WithRequestId(RequestIdT &&value)
AWS_KAFKA_API CreateClusterV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateClusterV2Result & WithState(ClusterState value)
CreateClusterV2Result & WithClusterName(ClusterNameT &&value)
AWS_KAFKA_API CreateClusterV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API CreateClusterV2Result()=default
CreateClusterV2Result & WithClusterType(ClusterType value)
CreateClusterV2Result & WithClusterArn(ClusterArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue