AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeConfigurationResult.h
1
6#pragma once
7#include <aws/mq/MQ_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mq/model/AuthenticationStrategy.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mq/model/EngineType.h>
12#include <aws/mq/model/ConfigurationRevision.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MQ
29{
30namespace Model
31{
33 {
34 public:
35 AWS_MQ_API DescribeConfigurationResult() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 DescribeConfigurationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
56 inline AuthenticationStrategy GetAuthenticationStrategy() const { return m_authenticationStrategy; }
57 inline void SetAuthenticationStrategy(AuthenticationStrategy value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = value; }
60
62
65 inline const Aws::Utils::DateTime& GetCreated() const { return m_created; }
66 template<typename CreatedT = Aws::Utils::DateTime>
67 void SetCreated(CreatedT&& value) { m_createdHasBeenSet = true; m_created = std::forward<CreatedT>(value); }
68 template<typename CreatedT = Aws::Utils::DateTime>
69 DescribeConfigurationResult& WithCreated(CreatedT&& value) { SetCreated(std::forward<CreatedT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 DescribeConfigurationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
88 inline EngineType GetEngineType() const { return m_engineType; }
89 inline void SetEngineType(EngineType value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
92
94
103 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
104 template<typename EngineVersionT = Aws::String>
105 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
106 template<typename EngineVersionT = Aws::String>
107 DescribeConfigurationResult& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
109
111
114 inline const Aws::String& GetId() const { return m_id; }
115 template<typename IdT = Aws::String>
116 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
117 template<typename IdT = Aws::String>
118 DescribeConfigurationResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
120
122
125 inline const ConfigurationRevision& GetLatestRevision() const { return m_latestRevision; }
126 template<typename LatestRevisionT = ConfigurationRevision>
127 void SetLatestRevision(LatestRevisionT&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::forward<LatestRevisionT>(value); }
128 template<typename LatestRevisionT = ConfigurationRevision>
129 DescribeConfigurationResult& WithLatestRevision(LatestRevisionT&& value) { SetLatestRevision(std::forward<LatestRevisionT>(value)); return *this;}
131
133
138 inline const Aws::String& GetName() const { return m_name; }
139 template<typename NameT = Aws::String>
140 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
141 template<typename NameT = Aws::String>
142 DescribeConfigurationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
150 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
152 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
153 DescribeConfigurationResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
154 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
155 DescribeConfigurationResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
156 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
157 }
159
161
162 inline const Aws::String& GetRequestId() const { return m_requestId; }
163 template<typename RequestIdT = Aws::String>
164 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
165 template<typename RequestIdT = Aws::String>
166 DescribeConfigurationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
168 private:
169
170 Aws::String m_arn;
171 bool m_arnHasBeenSet = false;
172
174 bool m_authenticationStrategyHasBeenSet = false;
175
176 Aws::Utils::DateTime m_created{};
177 bool m_createdHasBeenSet = false;
178
179 Aws::String m_description;
180 bool m_descriptionHasBeenSet = false;
181
182 EngineType m_engineType{EngineType::NOT_SET};
183 bool m_engineTypeHasBeenSet = false;
184
185 Aws::String m_engineVersion;
186 bool m_engineVersionHasBeenSet = false;
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 ConfigurationRevision m_latestRevision;
192 bool m_latestRevisionHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
198 bool m_tagsHasBeenSet = false;
199
200 Aws::String m_requestId;
201 bool m_requestIdHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace MQ
206} // 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