AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
DescribeConfigurationResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mq/MQ_EXPORTS.h>
11#include <aws/mq/model/AuthenticationStrategy.h>
12#include <aws/mq/model/ConfigurationRevision.h>
13#include <aws/mq/model/EngineType.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 MQ {
27namespace Model {
29 public:
30 AWS_MQ_API DescribeConfigurationResult() = default;
33
35
38 inline const Aws::String& GetArn() const { return m_arn; }
39 template <typename ArnT = Aws::String>
40 void SetArn(ArnT&& value) {
41 m_arnHasBeenSet = true;
42 m_arn = std::forward<ArnT>(value);
43 }
44 template <typename ArnT = Aws::String>
46 SetArn(std::forward<ArnT>(value));
47 return *this;
48 }
50
52
56 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
58 m_authenticationStrategyHasBeenSet = true;
59 m_authenticationStrategy = value;
60 }
63 return *this;
64 }
66
68
71 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
72 template <typename CreatedT = Aws::Utils::DateTime>
73 void SetCreated(CreatedT&& value) {
74 m_createdHasBeenSet = true;
75 m_created = std::forward<CreatedT>(value);
76 }
77 template <typename CreatedT = Aws::Utils::DateTime>
79 SetCreated(std::forward<CreatedT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetDescription() const { return m_description; }
89 template <typename DescriptionT = Aws::String>
90 void SetDescription(DescriptionT&& value) {
91 m_descriptionHasBeenSet = true;
92 m_description = std::forward<DescriptionT>(value);
93 }
94 template <typename DescriptionT = Aws::String>
96 SetDescription(std::forward<DescriptionT>(value));
97 return *this;
98 }
100
102
106 inline EngineType GetEngineType() const { return m_engineType; }
107 inline void SetEngineType(EngineType value) {
108 m_engineTypeHasBeenSet = true;
109 m_engineType = value;
110 }
112 SetEngineType(value);
113 return *this;
114 }
116
118
127 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
128 template <typename EngineVersionT = Aws::String>
129 void SetEngineVersion(EngineVersionT&& value) {
130 m_engineVersionHasBeenSet = true;
131 m_engineVersion = std::forward<EngineVersionT>(value);
132 }
133 template <typename EngineVersionT = Aws::String>
135 SetEngineVersion(std::forward<EngineVersionT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetId() const { return m_id; }
145 template <typename IdT = Aws::String>
146 void SetId(IdT&& value) {
147 m_idHasBeenSet = true;
148 m_id = std::forward<IdT>(value);
149 }
150 template <typename IdT = Aws::String>
152 SetId(std::forward<IdT>(value));
153 return *this;
154 }
156
158
161 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
162 template <typename LatestRevisionT = ConfigurationRevision>
163 void SetLatestRevision(LatestRevisionT&& value) {
164 m_latestRevisionHasBeenSet = true;
165 m_latestRevision = std::forward<LatestRevisionT>(value);
166 }
167 template <typename LatestRevisionT = ConfigurationRevision>
169 SetLatestRevision(std::forward<LatestRevisionT>(value));
170 return *this;
171 }
173
175
180 inline const Aws::String& GetName() const { return m_name; }
181 template <typename NameT = Aws::String>
182 void SetName(NameT&& value) {
183 m_nameHasBeenSet = true;
184 m_name = std::forward<NameT>(value);
185 }
186 template <typename NameT = Aws::String>
188 SetName(std::forward<NameT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
198 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
199 void SetTags(TagsT&& value) {
200 m_tagsHasBeenSet = true;
201 m_tags = std::forward<TagsT>(value);
202 }
203 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
205 SetTags(std::forward<TagsT>(value));
206 return *this;
207 }
208 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
209 DescribeConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
210 m_tagsHasBeenSet = true;
211 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
212 return *this;
213 }
215
217
218 inline const Aws::String& GetRequestId() const { return m_requestId; }
219 template <typename RequestIdT = Aws::String>
220 void SetRequestId(RequestIdT&& value) {
221 m_requestIdHasBeenSet = true;
222 m_requestId = std::forward<RequestIdT>(value);
223 }
224 template <typename RequestIdT = Aws::String>
226 SetRequestId(std::forward<RequestIdT>(value));
227 return *this;
228 }
230 private:
231 Aws::String m_arn;
232
234
235 Aws::Utils::DateTime m_created{};
236
237 Aws::String m_description;
238
239 EngineType m_engineType{EngineType::NOT_SET};
240
241 Aws::String m_engineVersion;
242
243 Aws::String m_id;
244
245 ConfigurationRevision m_latestRevision;
246
247 Aws::String m_name;
248
250
251 Aws::String m_requestId;
252 bool m_arnHasBeenSet = false;
253 bool m_authenticationStrategyHasBeenSet = false;
254 bool m_createdHasBeenSet = false;
255 bool m_descriptionHasBeenSet = false;
256 bool m_engineTypeHasBeenSet = false;
257 bool m_engineVersionHasBeenSet = false;
258 bool m_idHasBeenSet = false;
259 bool m_latestRevisionHasBeenSet = false;
260 bool m_nameHasBeenSet = false;
261 bool m_tagsHasBeenSet = false;
262 bool m_requestIdHasBeenSet = false;
263};
264
265} // namespace Model
266} // namespace MQ
267} // namespace Aws
DescribeConfigurationResult & WithDescription(DescriptionT &&value)
DescribeConfigurationResult & WithAuthenticationStrategy(AuthenticationStrategy value)
DescribeConfigurationResult & WithEngineVersion(EngineVersionT &&value)
DescribeConfigurationResult & WithEngineType(EngineType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeConfigurationResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeConfigurationResult & WithCreated(CreatedT &&value)
AWS_MQ_API DescribeConfigurationResult()=default
const ConfigurationRevision & GetLatestRevision() const
DescribeConfigurationResult & WithLatestRevision(LatestRevisionT &&value)
DescribeConfigurationResult & WithId(IdT &&value)
AWS_MQ_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationResult & WithName(NameT &&value)
const Aws::Utils::DateTime & GetCreated() const
DescribeConfigurationResult & WithTags(TagsT &&value)
DescribeConfigurationResult & WithArn(ArnT &&value)
AWS_MQ_API DescribeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuthenticationStrategy(AuthenticationStrategy value)
DescribeConfigurationResult & WithRequestId(RequestIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue