AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReplicatorResult.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/ReplicatorState.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 CreateReplicatorResult();
34
35
37
40 inline const Aws::String& GetReplicatorArn() const{ return m_replicatorArn; }
41 inline void SetReplicatorArn(const Aws::String& value) { m_replicatorArn = value; }
42 inline void SetReplicatorArn(Aws::String&& value) { m_replicatorArn = std::move(value); }
43 inline void SetReplicatorArn(const char* value) { m_replicatorArn.assign(value); }
44 inline CreateReplicatorResult& WithReplicatorArn(const Aws::String& value) { SetReplicatorArn(value); return *this;}
45 inline CreateReplicatorResult& WithReplicatorArn(Aws::String&& value) { SetReplicatorArn(std::move(value)); return *this;}
46 inline CreateReplicatorResult& WithReplicatorArn(const char* value) { SetReplicatorArn(value); return *this;}
48
50
53 inline const Aws::String& GetReplicatorName() const{ return m_replicatorName; }
54 inline void SetReplicatorName(const Aws::String& value) { m_replicatorName = value; }
55 inline void SetReplicatorName(Aws::String&& value) { m_replicatorName = std::move(value); }
56 inline void SetReplicatorName(const char* value) { m_replicatorName.assign(value); }
57 inline CreateReplicatorResult& WithReplicatorName(const Aws::String& value) { SetReplicatorName(value); return *this;}
58 inline CreateReplicatorResult& WithReplicatorName(Aws::String&& value) { SetReplicatorName(std::move(value)); return *this;}
59 inline CreateReplicatorResult& WithReplicatorName(const char* value) { SetReplicatorName(value); return *this;}
61
63
66 inline const ReplicatorState& GetReplicatorState() const{ return m_replicatorState; }
67 inline void SetReplicatorState(const ReplicatorState& value) { m_replicatorState = value; }
68 inline void SetReplicatorState(ReplicatorState&& value) { m_replicatorState = std::move(value); }
70 inline CreateReplicatorResult& WithReplicatorState(ReplicatorState&& value) { SetReplicatorState(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateReplicatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateReplicatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateReplicatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_replicatorArn;
86
87 Aws::String m_replicatorName;
88
89 ReplicatorState m_replicatorState;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace Kafka
96} // namespace Aws
void SetReplicatorArn(const Aws::String &value)
CreateReplicatorResult & WithReplicatorArn(Aws::String &&value)
const ReplicatorState & GetReplicatorState() const
void SetReplicatorState(ReplicatorState &&value)
CreateReplicatorResult & WithReplicatorArn(const char *value)
void SetReplicatorState(const ReplicatorState &value)
CreateReplicatorResult & WithReplicatorArn(const Aws::String &value)
CreateReplicatorResult & WithReplicatorName(Aws::String &&value)
CreateReplicatorResult & WithReplicatorState(ReplicatorState &&value)
CreateReplicatorResult & WithRequestId(Aws::String &&value)
CreateReplicatorResult & WithReplicatorState(const ReplicatorState &value)
AWS_KAFKA_API CreateReplicatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicatorResult & WithReplicatorName(const char *value)
AWS_KAFKA_API CreateReplicatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateReplicatorResult & WithRequestId(const char *value)
CreateReplicatorResult & WithReplicatorName(const Aws::String &value)
void SetReplicatorName(const Aws::String &value)
CreateReplicatorResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue