AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 CreateClusterResult& WithClusterArn(const Aws::String& value) { SetClusterArn(value); return *this;}
47 inline CreateClusterResult& WithClusterArn(Aws::String&& value) { SetClusterArn(std::move(value)); return *this;}
48 inline CreateClusterResult& WithClusterArn(const char* value) { SetClusterArn(value); return *this;}
50
52
57 inline const Aws::String& GetClusterName() const{ return m_clusterName; }
58 inline void SetClusterName(const Aws::String& value) { m_clusterName = value; }
59 inline void SetClusterName(Aws::String&& value) { m_clusterName = std::move(value); }
60 inline void SetClusterName(const char* value) { m_clusterName.assign(value); }
61 inline CreateClusterResult& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;}
62 inline CreateClusterResult& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;}
63 inline CreateClusterResult& WithClusterName(const char* value) { SetClusterName(value); return *this;}
65
67
74 inline const ClusterState& GetState() const{ return m_state; }
75 inline void SetState(const ClusterState& value) { m_state = value; }
76 inline void SetState(ClusterState&& value) { m_state = std::move(value); }
77 inline CreateClusterResult& WithState(const ClusterState& value) { SetState(value); return *this;}
78 inline CreateClusterResult& WithState(ClusterState&& value) { SetState(std::move(value)); return *this;}
80
82
83 inline const Aws::String& GetRequestId() const{ return m_requestId; }
84 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
85 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
86 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
87 inline CreateClusterResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
88 inline CreateClusterResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
89 inline CreateClusterResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
91 private:
92
93 Aws::String m_clusterArn;
94
95 Aws::String m_clusterName;
96
97 ClusterState m_state;
98
99 Aws::String m_requestId;
100 };
101
102} // namespace Model
103} // namespace Kafka
104} // namespace Aws
CreateClusterResult & WithState(const ClusterState &value)
const ClusterState & GetState() const
const Aws::String & GetClusterName() const
CreateClusterResult & WithRequestId(const Aws::String &value)
CreateClusterResult & WithClusterName(const Aws::String &value)
void SetClusterName(const Aws::String &value)
const Aws::String & GetRequestId() const
void SetState(const ClusterState &value)
void SetRequestId(const Aws::String &value)
CreateClusterResult & WithState(ClusterState &&value)
CreateClusterResult & WithClusterArn(const char *value)
AWS_KAFKA_API CreateClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateClusterResult & WithClusterArn(Aws::String &&value)
CreateClusterResult & WithRequestId(Aws::String &&value)
CreateClusterResult & WithRequestId(const char *value)
CreateClusterResult & WithClusterName(const char *value)
CreateClusterResult & WithClusterName(Aws::String &&value)
const Aws::String & GetClusterArn() const
AWS_KAFKA_API CreateClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetClusterArn(const Aws::String &value)
CreateClusterResult & WithClusterArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue