AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeCustomPluginResult.h
1
6#pragma once
7#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafkaconnect/model/CustomPluginState.h>
11#include <aws/kafkaconnect/model/CustomPluginRevisionSummary.h>
12#include <aws/kafkaconnect/model/StateDescription.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace KafkaConnect
28{
29namespace Model
30{
32 {
33 public:
34 AWS_KAFKACONNECT_API DescribeCustomPluginResult();
37
38
40
43 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
44 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
45 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
47 inline DescribeCustomPluginResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetCustomPluginArn() const{ return m_customPluginArn; }
55 inline void SetCustomPluginArn(const Aws::String& value) { m_customPluginArn = value; }
56 inline void SetCustomPluginArn(Aws::String&& value) { m_customPluginArn = std::move(value); }
57 inline void SetCustomPluginArn(const char* value) { m_customPluginArn.assign(value); }
59 inline DescribeCustomPluginResult& WithCustomPluginArn(Aws::String&& value) { SetCustomPluginArn(std::move(value)); return *this;}
60 inline DescribeCustomPluginResult& WithCustomPluginArn(const char* value) { SetCustomPluginArn(value); return *this;}
62
64
67 inline const CustomPluginState& GetCustomPluginState() const{ return m_customPluginState; }
68 inline void SetCustomPluginState(const CustomPluginState& value) { m_customPluginState = value; }
69 inline void SetCustomPluginState(CustomPluginState&& value) { m_customPluginState = std::move(value); }
73
75
78 inline const Aws::String& GetDescription() const{ return m_description; }
79 inline void SetDescription(const Aws::String& value) { m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_description.assign(value); }
82 inline DescribeCustomPluginResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline DescribeCustomPluginResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline DescribeCustomPluginResult& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
92 inline const CustomPluginRevisionSummary& GetLatestRevision() const{ return m_latestRevision; }
93 inline void SetLatestRevision(const CustomPluginRevisionSummary& value) { m_latestRevision = value; }
94 inline void SetLatestRevision(CustomPluginRevisionSummary&& value) { m_latestRevision = std::move(value); }
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline void SetName(const Aws::String& value) { m_name = value; }
105 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
106 inline void SetName(const char* value) { m_name.assign(value); }
107 inline DescribeCustomPluginResult& WithName(const Aws::String& value) { SetName(value); return *this;}
108 inline DescribeCustomPluginResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
109 inline DescribeCustomPluginResult& WithName(const char* value) { SetName(value); return *this;}
111
113
116 inline const StateDescription& GetStateDescription() const{ return m_stateDescription; }
117 inline void SetStateDescription(const StateDescription& value) { m_stateDescription = value; }
118 inline void SetStateDescription(StateDescription&& value) { m_stateDescription = std::move(value); }
120 inline DescribeCustomPluginResult& WithStateDescription(StateDescription&& value) { SetStateDescription(std::move(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const{ return m_requestId; }
126 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
127 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
128 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
129 inline DescribeCustomPluginResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
130 inline DescribeCustomPluginResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 inline DescribeCustomPluginResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
133 private:
134
135 Aws::Utils::DateTime m_creationTime;
136
137 Aws::String m_customPluginArn;
138
139 CustomPluginState m_customPluginState;
140
141 Aws::String m_description;
142
143 CustomPluginRevisionSummary m_latestRevision;
144
145 Aws::String m_name;
146
147 StateDescription m_stateDescription;
148
149 Aws::String m_requestId;
150 };
151
152} // namespace Model
153} // namespace KafkaConnect
154} // namespace Aws
DescribeCustomPluginResult & WithRequestId(const char *value)
DescribeCustomPluginResult & WithLatestRevision(CustomPluginRevisionSummary &&value)
DescribeCustomPluginResult & WithCustomPluginState(const CustomPluginState &value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const CustomPluginRevisionSummary & GetLatestRevision() const
DescribeCustomPluginResult & WithStateDescription(StateDescription &&value)
DescribeCustomPluginResult & WithCustomPluginState(CustomPluginState &&value)
DescribeCustomPluginResult & WithDescription(Aws::String &&value)
DescribeCustomPluginResult & WithDescription(const Aws::String &value)
DescribeCustomPluginResult & WithCustomPluginArn(const Aws::String &value)
void SetLatestRevision(const CustomPluginRevisionSummary &value)
void SetLatestRevision(CustomPluginRevisionSummary &&value)
DescribeCustomPluginResult & WithName(Aws::String &&value)
DescribeCustomPluginResult & WithStateDescription(const StateDescription &value)
DescribeCustomPluginResult & WithRequestId(Aws::String &&value)
DescribeCustomPluginResult & WithCustomPluginArn(const char *value)
DescribeCustomPluginResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeCustomPluginResult & WithRequestId(const Aws::String &value)
DescribeCustomPluginResult & WithName(const Aws::String &value)
DescribeCustomPluginResult & WithLatestRevision(const CustomPluginRevisionSummary &value)
DescribeCustomPluginResult & WithName(const char *value)
DescribeCustomPluginResult & WithCustomPluginArn(Aws::String &&value)
DescribeCustomPluginResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomPluginResult & WithDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue