AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
44 template<typename CreationTimeT = Aws::Utils::DateTime>
45 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
46 template<typename CreationTimeT = Aws::Utils::DateTime>
47 DescribeCustomPluginResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
49
51
54 inline const Aws::String& GetCustomPluginArn() const { return m_customPluginArn; }
55 template<typename CustomPluginArnT = Aws::String>
56 void SetCustomPluginArn(CustomPluginArnT&& value) { m_customPluginArnHasBeenSet = true; m_customPluginArn = std::forward<CustomPluginArnT>(value); }
57 template<typename CustomPluginArnT = Aws::String>
58 DescribeCustomPluginResult& WithCustomPluginArn(CustomPluginArnT&& value) { SetCustomPluginArn(std::forward<CustomPluginArnT>(value)); return *this;}
60
62
65 inline CustomPluginState GetCustomPluginState() const { return m_customPluginState; }
66 inline void SetCustomPluginState(CustomPluginState value) { m_customPluginStateHasBeenSet = true; m_customPluginState = value; }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 DescribeCustomPluginResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
86 inline const CustomPluginRevisionSummary& GetLatestRevision() const { return m_latestRevision; }
87 template<typename LatestRevisionT = CustomPluginRevisionSummary>
88 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
89 template<typename LatestRevisionT = CustomPluginRevisionSummary>
90 DescribeCustomPluginResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
92
94
97 inline const Aws::String& GetName() const { return m_name; }
98 template<typename NameT = Aws::String>
99 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
100 template<typename NameT = Aws::String>
101 DescribeCustomPluginResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
103
105
108 inline const StateDescription& GetStateDescription() const { return m_stateDescription; }
109 template<typename StateDescriptionT = StateDescription>
110 void SetStateDescription(StateDescriptionT&& value) { m_stateDescriptionHasBeenSet = true; m_stateDescription = std::forward<StateDescriptionT>(value); }
111 template<typename StateDescriptionT = StateDescription>
112 DescribeCustomPluginResult& WithStateDescription(StateDescriptionT&& value) { SetStateDescription(std::forward<StateDescriptionT>(value)); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template<typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
120 template<typename RequestIdT = Aws::String>
121 DescribeCustomPluginResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
123 private:
124
125 Aws::Utils::DateTime m_creationTime{};
126 bool m_creationTimeHasBeenSet = false;
127
128 Aws::String m_customPluginArn;
129 bool m_customPluginArnHasBeenSet = false;
130
132 bool m_customPluginStateHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 CustomPluginRevisionSummary m_latestRevision;
138 bool m_latestRevisionHasBeenSet = false;
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 StateDescription m_stateDescription;
144 bool m_stateDescriptionHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace KafkaConnect
152} // namespace Aws
DescribeCustomPluginResult & WithCustomPluginState(CustomPluginState value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult()=default
DescribeCustomPluginResult & WithStateDescription(StateDescriptionT &&value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomPluginResult & WithCreationTime(CreationTimeT &&value)
const CustomPluginRevisionSummary & GetLatestRevision() const
DescribeCustomPluginResult & WithLatestRevision(LatestRevisionT &&value)
DescribeCustomPluginResult & WithRequestId(RequestIdT &&value)
DescribeCustomPluginResult & WithName(NameT &&value)
DescribeCustomPluginResult & WithCustomPluginArn(CustomPluginArnT &&value)
AWS_KAFKACONNECT_API DescribeCustomPluginResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeCustomPluginResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue