AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/kafka/Kafka_EXPORTS.h>
11#include <aws/kafka/model/ConfigurationRevision.h>
12#include <aws/kafka/model/ConfigurationState.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 Kafka {
26namespace Model {
28 public:
29 AWS_KAFKA_API DescribeConfigurationResult() = default;
32
34
40 inline const Aws::String& GetArn() const { return m_arn; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
59 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
60 template <typename CreationTimeT = Aws::Utils::DateTime>
61 void SetCreationTime(CreationTimeT&& value) {
62 m_creationTimeHasBeenSet = true;
63 m_creationTime = std::forward<CreationTimeT>(value);
64 }
65 template <typename CreationTimeT = Aws::Utils::DateTime>
67 SetCreationTime(std::forward<CreationTimeT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetDescription() const { return m_description; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
98 inline const Aws::Vector<Aws::String>& GetKafkaVersions() const { return m_kafkaVersions; }
99 template <typename KafkaVersionsT = Aws::Vector<Aws::String>>
100 void SetKafkaVersions(KafkaVersionsT&& value) {
101 m_kafkaVersionsHasBeenSet = true;
102 m_kafkaVersions = std::forward<KafkaVersionsT>(value);
103 }
104 template <typename KafkaVersionsT = Aws::Vector<Aws::String>>
106 SetKafkaVersions(std::forward<KafkaVersionsT>(value));
107 return *this;
108 }
109 template <typename KafkaVersionsT = Aws::String>
111 m_kafkaVersionsHasBeenSet = true;
112 m_kafkaVersions.emplace_back(std::forward<KafkaVersionsT>(value));
113 return *this;
114 }
116
118
123 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
124 template <typename LatestRevisionT = ConfigurationRevision>
125 void SetLatestRevision(LatestRevisionT&& value) {
126 m_latestRevisionHasBeenSet = true;
127 m_latestRevision = std::forward<LatestRevisionT>(value);
128 }
129 template <typename LatestRevisionT = ConfigurationRevision>
131 SetLatestRevision(std::forward<LatestRevisionT>(value));
132 return *this;
133 }
135
137
142 inline const Aws::String& GetName() const { return m_name; }
143 template <typename NameT = Aws::String>
144 void SetName(NameT&& value) {
145 m_nameHasBeenSet = true;
146 m_name = std::forward<NameT>(value);
147 }
148 template <typename NameT = Aws::String>
150 SetName(std::forward<NameT>(value));
151 return *this;
152 }
154
156
162 inline ConfigurationState GetState() const { return m_state; }
163 inline void SetState(ConfigurationState value) {
164 m_stateHasBeenSet = true;
165 m_state = value;
166 }
168 SetState(value);
169 return *this;
170 }
172
174
175 inline const Aws::String& GetRequestId() const { return m_requestId; }
176 template <typename RequestIdT = Aws::String>
177 void SetRequestId(RequestIdT&& value) {
178 m_requestIdHasBeenSet = true;
179 m_requestId = std::forward<RequestIdT>(value);
180 }
181 template <typename RequestIdT = Aws::String>
183 SetRequestId(std::forward<RequestIdT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_arn;
189
190 Aws::Utils::DateTime m_creationTime{};
191
192 Aws::String m_description;
193
194 Aws::Vector<Aws::String> m_kafkaVersions;
195
196 ConfigurationRevision m_latestRevision;
197
198 Aws::String m_name;
199
201
202 Aws::String m_requestId;
203 bool m_arnHasBeenSet = false;
204 bool m_creationTimeHasBeenSet = false;
205 bool m_descriptionHasBeenSet = false;
206 bool m_kafkaVersionsHasBeenSet = false;
207 bool m_latestRevisionHasBeenSet = false;
208 bool m_nameHasBeenSet = false;
209 bool m_stateHasBeenSet = false;
210 bool m_requestIdHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace Kafka
215} // 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