AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
DescribeConfigurationResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/kafka/Kafka_EXPORTS.h>
12#include <aws/kafka/model/ConfigurationRevision.h>
13#include <aws/kafka/model/ConfigurationState.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Kafka {
27namespace Model {
29 public:
30 AWS_KAFKA_API DescribeConfigurationResult() = default;
33
35
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
61 template <typename CreationTimeT = Aws::Utils::DateTime>
62 void SetCreationTime(CreationTimeT&& value) {
63 m_creationTimeHasBeenSet = true;
64 m_creationTime = std::forward<CreationTimeT>(value);
65 }
66 template <typename CreationTimeT = Aws::Utils::DateTime>
68 SetCreationTime(std::forward<CreationTimeT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetDescription() const { return m_description; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
99 inline const Aws::Vector<Aws::String>& GetKafkaVersions() const { return m_kafkaVersions; }
100 template <typename KafkaVersionsT = Aws::Vector<Aws::String>>
101 void SetKafkaVersions(KafkaVersionsT&& value) {
102 m_kafkaVersionsHasBeenSet = true;
103 m_kafkaVersions = std::forward<KafkaVersionsT>(value);
104 }
105 template <typename KafkaVersionsT = Aws::Vector<Aws::String>>
107 SetKafkaVersions(std::forward<KafkaVersionsT>(value));
108 return *this;
109 }
110 template <typename KafkaVersionsT = Aws::String>
112 m_kafkaVersionsHasBeenSet = true;
113 m_kafkaVersions.emplace_back(std::forward<KafkaVersionsT>(value));
114 return *this;
115 }
117
119
124 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
125 template <typename LatestRevisionT = ConfigurationRevision>
126 void SetLatestRevision(LatestRevisionT&& value) {
127 m_latestRevisionHasBeenSet = true;
128 m_latestRevision = std::forward<LatestRevisionT>(value);
129 }
130 template <typename LatestRevisionT = ConfigurationRevision>
132 SetLatestRevision(std::forward<LatestRevisionT>(value));
133 return *this;
134 }
136
138
143 inline const Aws::String& GetName() const { return m_name; }
144 template <typename NameT = Aws::String>
145 void SetName(NameT&& value) {
146 m_nameHasBeenSet = true;
147 m_name = std::forward<NameT>(value);
148 }
149 template <typename NameT = Aws::String>
151 SetName(std::forward<NameT>(value));
152 return *this;
153 }
155
157
163 inline ConfigurationState GetState() const { return m_state; }
164 inline void SetState(ConfigurationState value) {
165 m_stateHasBeenSet = true;
166 m_state = value;
167 }
169 SetState(value);
170 return *this;
171 }
173
175
176 inline const Aws::String& GetRequestId() const { return m_requestId; }
177 template <typename RequestIdT = Aws::String>
178 void SetRequestId(RequestIdT&& value) {
179 m_requestIdHasBeenSet = true;
180 m_requestId = std::forward<RequestIdT>(value);
181 }
182 template <typename RequestIdT = Aws::String>
184 SetRequestId(std::forward<RequestIdT>(value));
185 return *this;
186 }
188 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
189
190 private:
191 Aws::String m_arn;
192
193 Aws::Utils::DateTime m_creationTime{};
194
195 Aws::String m_description;
196
197 Aws::Vector<Aws::String> m_kafkaVersions;
198
199 ConfigurationRevision m_latestRevision;
200
201 Aws::String m_name;
202
204
205 Aws::String m_requestId;
206 Aws::Http::HttpResponseCode m_HttpResponseCode;
207 bool m_arnHasBeenSet = false;
208 bool m_creationTimeHasBeenSet = false;
209 bool m_descriptionHasBeenSet = false;
210 bool m_kafkaVersionsHasBeenSet = false;
211 bool m_latestRevisionHasBeenSet = false;
212 bool m_nameHasBeenSet = false;
213 bool m_stateHasBeenSet = false;
214 bool m_requestIdHasBeenSet = false;
215};
216
217} // namespace Model
218} // namespace Kafka
219} // namespace Aws
DescribeConfigurationResult & AddKafkaVersions(KafkaVersionsT &&value)
DescribeConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
DescribeConfigurationResult & WithKafkaVersions(KafkaVersionsT &&value)
DescribeConfigurationResult & WithRequestId(RequestIdT &&value)
DescribeConfigurationResult & WithArn(ArnT &&value)
const Aws::Vector< Aws::String > & GetKafkaVersions() const
AWS_KAFKA_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KAFKA_API DescribeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const ConfigurationRevision & GetLatestRevision() const
DescribeConfigurationResult & WithDescription(DescriptionT &&value)
DescribeConfigurationResult & WithName(NameT &&value)
AWS_KAFKA_API DescribeConfigurationResult()=default
DescribeConfigurationResult & WithCreationTime(CreationTimeT &&value)
DescribeConfigurationResult & WithState(ConfigurationState value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue