AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateCustomPluginResult.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kafkaconnect/model/CustomPluginState.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 KafkaConnect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_KAFKACONNECT_API CreateCustomPluginResult() = default;
34
35
37
40 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
41 template<typename CustomPluginArnT = Aws::String>
42 void SetCustomPluginArn(CustomPluginArnT&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::forward<CustomPluginArnT>(value); }
43 template<typename CustomPluginArnT = Aws::String>
44 CreateCustomPluginResult& WithCustomPluginArn(CustomPluginArnT&& value) { SetCustomPluginArn(std::forward<CustomPluginArnT>(value)); return *this;}
46
48
51 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
52 inline void SetCustomPluginState(CustomPluginState value) { m_customPluginStateHasBeenSet = true; m_customPluginState = value; }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 template<typename NameT = Aws::String>
62 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
63 template<typename NameT = Aws::String>
64 CreateCustomPluginResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
66
68
71 inline long long GetRevision() const { return m_revision; }
72 inline void SetRevision(long long value) { m_revisionHasBeenSet = true; m_revision = value; }
73 inline CreateCustomPluginResult& WithRevision(long long value) { SetRevision(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 CreateCustomPluginResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_customPluginArn;
87 bool m_customPluginArnHasBeenSet = false;
88
90 bool m_customPluginStateHasBeenSet = false;
91
92 Aws::String m_name;
93 bool m_nameHasBeenSet = false;
94
95 long long m_revision{0};
96 bool m_revisionHasBeenSet = false;
97
98 Aws::String m_requestId;
99 bool m_requestIdHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace KafkaConnect
104} // 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