AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
43 inline const Aws::String& GetClusterArn() const{ return m_clusterArn; }
44 inline void SetClusterArn(const Aws::String& value) { m_clusterArn = value; }
45 inline void SetClusterArn(Aws::String&& value) { m_clusterArn = std::move(value); }
46 inline void SetClusterArn(const char* value) { m_clusterArn.assign(value); }
47 inline CreateClusterV2Result& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
48 inline CreateClusterV2Result& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
49 inline CreateClusterV2Result& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
51
53
58 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
59 inline void SetClusterName(const Aws::String& value) { m_clusterName = value; }
60 inline void SetClusterName(Aws::String&& value) { m_clusterName = std::move(value); }
61 inline void SetClusterName(const char* value) { m_clusterName.assign(value); }
62 inline CreateClusterV2Result& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
63 inline CreateClusterV2Result& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
64 inline CreateClusterV2Result& WithClusterName(const char* value) { SetClusterName(value); return *this;}
66
68
75 inline const ClusterState& GetState() const{ return m_state; }
76 inline void SetState(const ClusterState& value) { m_state = value; }
77 inline void SetState(ClusterState&& value) { m_state = std::move(value); }
78 inline CreateClusterV2Result& WithState(const ClusterState& value) { SetState(value); return *this;}
79 inline CreateClusterV2Result& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
81
83
89 inline const ClusterType& GetClusterType() const{ return m_clusterType; }
90 inline void SetClusterType(const ClusterType& value) { m_clusterType = value; }
91 inline void SetClusterType(ClusterType&& value) { m_clusterType = std::move(value); }
92 inline CreateClusterV2Result& WithClusterType(const ClusterType& value) { SetClusterType(value); return *this;}
93 inline CreateClusterV2Result& WithClusterType(ClusterType&& value) { SetClusterType(std::move(value)); return *this;}
95
97
98 inline const Aws::String& GetRequestId() const{ return m_requestId; }
99 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
100 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
101 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
102 inline CreateClusterV2Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
103 inline CreateClusterV2Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
104 inline CreateClusterV2Result& WithRequestId(const char* value) { SetRequestId(value); return *this;}
106 private:
107
108 Aws::String m_clusterArn;
109
110 Aws::String m_clusterName;
111
112 ClusterState m_state;
113
114 ClusterType m_clusterType;
115
116 Aws::String m_requestId;
117 };
118
119} // namespace Model
120} // namespace Kafka
121} // namespace Aws
CreateClusterV2Result & WithClusterType(ClusterType &&value)
CreateClusterV2Result & WithClusterName(const Aws::String &value)
void SetClusterType(const ClusterType &value)
CreateClusterV2Result & WithClusterType(const ClusterType &value)
CreateClusterV2Result & WithClusterArn(const Aws::String &value)
CreateClusterV2Result & WithRequestId(Aws::String &&value)
CreateClusterV2Result & WithClusterName(Aws::String &&value)
CreateClusterV2Result & WithClusterName(const char *value)
CreateClusterV2Result & WithRequestId(const Aws::String &value)
CreateClusterV2Result & WithState(ClusterState &&value)
CreateClusterV2Result & WithRequestId(const char *value)
AWS_KAFKA_API CreateClusterV2Result(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateClusterV2Result & WithState(const ClusterState &value)
void SetClusterArn(const Aws::String &value)
CreateClusterV2Result & WithClusterArn(const char *value)
AWS_KAFKA_API CreateClusterV2Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetState(const ClusterState &value)
void SetClusterName(const Aws::String &value)
CreateClusterV2Result & WithClusterArn(Aws::String &&value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue