AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetCustomPluginArn() const{ return m_customPluginArn; }
41 inline void SetCustomPluginArn(const Aws::String& value) { m_customPluginArn = value; }
42 inline void SetCustomPluginArn(Aws::String&& value) { m_customPluginArn = std::move(value); }
43 inline void SetCustomPluginArn(const char* value) { m_customPluginArn.assign(value); }
44 inline CreateCustomPluginResult& WithCustomPluginArn(const Aws::String& value) { SetCustomPluginArn(value); return *this;}
45 inline CreateCustomPluginResult& WithCustomPluginArn(Aws::String&& value) { SetCustomPluginArn(std::move(value)); return *this;}
46 inline CreateCustomPluginResult& WithCustomPluginArn(const char* value) { SetCustomPluginArn(value); return *this;}
48
50
53 inline const CustomPluginState& GetCustomPluginState() const{ return m_customPluginState; }
54 inline void SetCustomPluginState(const CustomPluginState& value) { m_customPluginState = value; }
55 inline void SetCustomPluginState(CustomPluginState&& value) { m_customPluginState = std::move(value); }
57 inline CreateCustomPluginResult& WithCustomPluginState(CustomPluginState&& value) { SetCustomPluginState(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetName() const{ return m_name; }
65 inline void SetName(const Aws::String& value) { m_name = value; }
66 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
67 inline void SetName(const char* value) { m_name.assign(value); }
68 inline CreateCustomPluginResult& WithName(const Aws::String& value) { SetName(value); return *this;}
69 inline CreateCustomPluginResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
70 inline CreateCustomPluginResult& WithName(const char* value) { SetName(value); return *this;}
72
74
77 inline long long GetRevision() const{ return m_revision; }
78 inline void SetRevision(long long value) { m_revision = value; }
79 inline CreateCustomPluginResult& WithRevision(long long value) { SetRevision(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline CreateCustomPluginResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline CreateCustomPluginResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline CreateCustomPluginResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_customPluginArn;
95
96 CustomPluginState m_customPluginState;
97
98 Aws::String m_name;
99
100 long long m_revision;
101
102 Aws::String m_requestId;
103 };
104
105} // namespace Model
106} // namespace KafkaConnect
107} // namespace Aws
AWS_KAFKACONNECT_API CreateCustomPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomPluginResult & WithCustomPluginArn(const Aws::String &value)
CreateCustomPluginResult & WithCustomPluginState(const CustomPluginState &value)
CreateCustomPluginResult & WithName(const char *value)
CreateCustomPluginResult & WithRequestId(const Aws::String &value)
CreateCustomPluginResult & WithName(const Aws::String &value)
void SetCustomPluginState(const CustomPluginState &value)
CreateCustomPluginResult & WithName(Aws::String &&value)
CreateCustomPluginResult & WithCustomPluginArn(const char *value)
CreateCustomPluginResult & WithRevision(long long value)
CreateCustomPluginResult & WithRequestId(Aws::String &&value)
CreateCustomPluginResult & WithCustomPluginArn(Aws::String &&value)
CreateCustomPluginResult & WithCustomPluginState(CustomPluginState &&value)
AWS_KAFKACONNECT_API CreateCustomPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCustomPluginResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue