AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
DescribeWorkerConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kafkaconnect/KafkaConnect_EXPORTS.h>
11#include <aws/kafkaconnect/model/WorkerConfigurationRevisionDescription.h>
12#include <aws/kafkaconnect/model/WorkerConfigurationState.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace KafkaConnect {
26namespace Model {
28 public:
29 AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult() = default;
32
34
37 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
38 template <typename CreationTimeT = Aws::Utils::DateTime>
39 void SetCreationTime(CreationTimeT&& value) {
40 m_creationTimeHasBeenSet = true;
41 m_creationTime = std::forward<CreationTimeT>(value);
42 }
43 template <typename CreationTimeT = Aws::Utils::DateTime>
45 SetCreationTime(std::forward<CreationTimeT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template <typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) {
57 m_descriptionHasBeenSet = true;
58 m_description = std::forward<DescriptionT>(value);
59 }
60 template <typename DescriptionT = Aws::String>
62 SetDescription(std::forward<DescriptionT>(value));
63 return *this;
64 }
66
68
71 inline const WorkerConfigurationRevisionDescription& GetLatestRevision() const { return m_latestRevision; }
72 template <typename LatestRevisionT = WorkerConfigurationRevisionDescription>
73 void SetLatestRevision(LatestRevisionT&& value) {
74 m_latestRevisionHasBeenSet = true;
75 m_latestRevision = std::forward<LatestRevisionT>(value);
76 }
77 template <typename LatestRevisionT = WorkerConfigurationRevisionDescription>
79 SetLatestRevision(std::forward<LatestRevisionT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetName() const { return m_name; }
89 template <typename NameT = Aws::String>
90 void SetName(NameT&& value) {
91 m_nameHasBeenSet = true;
92 m_name = std::forward<NameT>(value);
93 }
94 template <typename NameT = Aws::String>
96 SetName(std::forward<NameT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetWorkerConfigurationArn() const { return m_workerConfigurationArn; }
106 template <typename WorkerConfigurationArnT = Aws::String>
107 void SetWorkerConfigurationArn(WorkerConfigurationArnT&& value) {
108 m_workerConfigurationArnHasBeenSet = true;
109 m_workerConfigurationArn = std::forward<WorkerConfigurationArnT>(value);
110 }
111 template <typename WorkerConfigurationArnT = Aws::String>
113 SetWorkerConfigurationArn(std::forward<WorkerConfigurationArnT>(value));
114 return *this;
115 }
117
119
122 inline WorkerConfigurationState GetWorkerConfigurationState() const { return m_workerConfigurationState; }
124 m_workerConfigurationStateHasBeenSet = true;
125 m_workerConfigurationState = value;
126 }
129 return *this;
130 }
132
134
135 inline const Aws::String& GetRequestId() const { return m_requestId; }
136 template <typename RequestIdT = Aws::String>
137 void SetRequestId(RequestIdT&& value) {
138 m_requestIdHasBeenSet = true;
139 m_requestId = std::forward<RequestIdT>(value);
140 }
141 template <typename RequestIdT = Aws::String>
143 SetRequestId(std::forward<RequestIdT>(value));
144 return *this;
145 }
147 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
148
149 private:
150 Aws::Utils::DateTime m_creationTime{};
151
152 Aws::String m_description;
153
154 WorkerConfigurationRevisionDescription m_latestRevision;
155
156 Aws::String m_name;
157
158 Aws::String m_workerConfigurationArn;
159
161
162 Aws::String m_requestId;
163 Aws::Http::HttpResponseCode m_HttpResponseCode;
164 bool m_creationTimeHasBeenSet = false;
165 bool m_descriptionHasBeenSet = false;
166 bool m_latestRevisionHasBeenSet = false;
167 bool m_nameHasBeenSet = false;
168 bool m_workerConfigurationArnHasBeenSet = false;
169 bool m_workerConfigurationStateHasBeenSet = false;
170 bool m_requestIdHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace KafkaConnect
175} // namespace Aws
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeWorkerConfigurationResult & WithWorkerConfigurationArn(WorkerConfigurationArnT &&value)
const WorkerConfigurationRevisionDescription & GetLatestRevision() const
DescribeWorkerConfigurationResult & WithCreationTime(CreationTimeT &&value)
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKACONNECT_API DescribeWorkerConfigurationResult()=default
DescribeWorkerConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeWorkerConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
DescribeWorkerConfigurationResult & WithWorkerConfigurationState(WorkerConfigurationState value)
DescribeWorkerConfigurationResult & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue