AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateCustomPluginResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
9#include <aws/kafkaconnect/model/CustomPluginState.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace KafkaConnect {
23namespace Model {
25 public:
26 AWS_KAFKACONNECT_API CreateCustomPluginResult() = default;
29
31
34 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
35 template <typename CustomPluginArnT = Aws::String>
36 void SetCustomPluginArn(CustomPluginArnT&& value) {
37 m_customPluginArnHasBeenSet = true;
38 m_customPluginArn = std::forward<CustomPluginArnT>(value);
39 }
40 template <typename CustomPluginArnT = Aws::String>
41 CreateCustomPluginResult& WithCustomPluginArn(CustomPluginArnT&& value) {
42 SetCustomPluginArn(std::forward<CustomPluginArnT>(value));
43 return *this;
44 }
46
48
51 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
53 m_customPluginStateHasBeenSet = true;
54 m_customPluginState = value;
55 }
58 return *this;
59 }
61
63
66 inline const Aws::String& GetName() const { return m_name; }
67 template <typename NameT = Aws::String>
68 void SetName(NameT&& value) {
69 m_nameHasBeenSet = true;
70 m_name = std::forward<NameT>(value);
71 }
72 template <typename NameT = Aws::String>
74 SetName(std::forward<NameT>(value));
75 return *this;
76 }
78
80
83 inline long long GetRevision() const { return m_revision; }
84 inline void SetRevision(long long value) {
85 m_revisionHasBeenSet = true;
86 m_revision = value;
87 }
88 inline CreateCustomPluginResult& WithRevision(long long value) {
89 SetRevision(value);
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_customPluginArn;
110
112
113 Aws::String m_name;
114
115 long long m_revision{0};
116
117 Aws::String m_requestId;
118 bool m_customPluginArnHasBeenSet = false;
119 bool m_customPluginStateHasBeenSet = false;
120 bool m_nameHasBeenSet = false;
121 bool m_revisionHasBeenSet = false;
122 bool m_requestIdHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace KafkaConnect
127} // namespace Aws
AWS_KAFKACONNECT_API CreateCustomPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomPluginResult & WithCustomPluginState(CustomPluginState value)
CreateCustomPluginResult & WithRequestId(RequestIdT &&value)
CreateCustomPluginResult & WithCustomPluginArn(CustomPluginArnT &&value)
CreateCustomPluginResult & WithRevision(long long value)
CreateCustomPluginResult & WithName(NameT &&value)
AWS_KAFKACONNECT_API CreateCustomPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKACONNECT_API CreateCustomPluginResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue