AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline DescribeConfigurationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline DescribeConfigurationResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline DescribeConfigurationResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
58 inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
59 inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategy = value; }
60 inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategy = std::move(value); }
64
66
69 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
70 inline void SetCreated(const Aws::Utils::DateTime& value) { m_created = value; }
71 inline void SetCreated(Aws::Utils::DateTime&& value) { m_created = std::move(value); }
72 inline DescribeConfigurationResult& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
73 inline DescribeConfigurationResult& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline void SetDescription(const Aws::String& value) { m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_description.assign(value); }
84 inline DescribeConfigurationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline DescribeConfigurationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline DescribeConfigurationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
94 inline const EngineType& GetEngineType() const{ return m_engineType; }
95 inline void SetEngineType(const EngineType& value) { m_engineType = value; }
96 inline void SetEngineType(EngineType&& value) { m_engineType = std::move(value); }
97 inline DescribeConfigurationResult& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
98 inline DescribeConfigurationResult& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
100
102
111 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
112 inline void SetEngineVersion(const Aws::String& value) { m_engineVersion = value; }
113 inline void SetEngineVersion(Aws::String&& value) { m_engineVersion = std::move(value); }
114 inline void SetEngineVersion(const char* value) { m_engineVersion.assign(value); }
115 inline DescribeConfigurationResult& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
116 inline DescribeConfigurationResult& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
117 inline DescribeConfigurationResult& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
119
121
124 inline const Aws::String& GetId() const{ return m_id; }
125 inline void SetId(const Aws::String& value) { m_id = value; }
126 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
127 inline void SetId(const char* value) { m_id.assign(value); }
128 inline DescribeConfigurationResult& WithId(const Aws::String& value) { SetId(value); return *this;}
129 inline DescribeConfigurationResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
130 inline DescribeConfigurationResult& WithId(const char* value) { SetId(value); return *this;}
132
134
137 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
138 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevision = value; }
139 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevision = std::move(value); }
143
145
150 inline const Aws::String& GetName() const{ return m_name; }
151 inline void SetName(const Aws::String& value) { m_name = value; }
152 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
153 inline void SetName(const char* value) { m_name.assign(value); }
154 inline DescribeConfigurationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
155 inline DescribeConfigurationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
156 inline DescribeConfigurationResult& WithName(const char* value) { SetName(value); return *this;}
158
160
163 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
164 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
165 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
167 inline DescribeConfigurationResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
168 inline DescribeConfigurationResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
169 inline DescribeConfigurationResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
170 inline DescribeConfigurationResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
171 inline DescribeConfigurationResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
172 inline DescribeConfigurationResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
173 inline DescribeConfigurationResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
174 inline DescribeConfigurationResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
176
178
179 inline const Aws::String& GetRequestId() const{ return m_requestId; }
180 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
181 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
182 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
183 inline DescribeConfigurationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
184 inline DescribeConfigurationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
185 inline DescribeConfigurationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
187 private:
188
189 Aws::String m_arn;
190
191 AuthenticationStrategy m_authenticationStrategy;
192
193 Aws::Utils::DateTime m_created;
194
195 Aws::String m_description;
196
197 EngineType m_engineType;
198
199 Aws::String m_engineVersion;
200
201 Aws::String m_id;
202
203 ConfigurationRevision m_latestRevision;
204
205 Aws::String m_name;
206
208
209 Aws::String m_requestId;
210 };
211
212} // namespace Model
213} // namespace MQ
214} // namespace Aws
DescribeConfigurationResult & WithDescription(const Aws::String &value)
const AuthenticationStrategy & GetAuthenticationStrategy() const
DescribeConfigurationResult & WithRequestId(const Aws::String &value)
void SetCreated(const Aws::Utils::DateTime &value)
DescribeConfigurationResult & WithId(const Aws::String &value)
DescribeConfigurationResult & WithEngineVersion(const Aws::String &value)
DescribeConfigurationResult & WithEngineVersion(Aws::String &&value)
DescribeConfigurationResult & AddTags(const char *key, Aws::String &&value)
DescribeConfigurationResult & WithAuthenticationStrategy(const AuthenticationStrategy &value)
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
DescribeConfigurationResult & WithId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeConfigurationResult & WithName(const Aws::String &value)
DescribeConfigurationResult & WithArn(const char *value)
void SetLatestRevision(const ConfigurationRevision &value)
DescribeConfigurationResult & WithArn(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeConfigurationResult & WithName(Aws::String &&value)
DescribeConfigurationResult & AddTags(Aws::String &&key, const Aws::String &value)
const ConfigurationRevision & GetLatestRevision() const
void SetLatestRevision(ConfigurationRevision &&value)
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
DescribeConfigurationResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MQ_API DescribeConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationResult & WithDescription(Aws::String &&value)
DescribeConfigurationResult & WithName(const char *value)
const Aws::Utils::DateTime & GetCreated() const
DescribeConfigurationResult & WithAuthenticationStrategy(AuthenticationStrategy &&value)
DescribeConfigurationResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeConfigurationResult & AddTags(const char *key, const char *value)
DescribeConfigurationResult & WithEngineVersion(const char *value)
DescribeConfigurationResult & WithDescription(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeConfigurationResult & WithRequestId(const char *value)
DescribeConfigurationResult & WithEngineType(const EngineType &value)
DescribeConfigurationResult & WithCreated(const Aws::Utils::DateTime &value)
DescribeConfigurationResult & WithEngineType(EngineType &&value)
DescribeConfigurationResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeConfigurationResult & AddTags(Aws::String &&key, const char *value)
DescribeConfigurationResult & WithCreated(Aws::Utils::DateTime &&value)
AWS_MQ_API DescribeConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeConfigurationResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeConfigurationResult & WithRequestId(Aws::String &&value)
DescribeConfigurationResult & WithId(const char *value)
DescribeConfigurationResult & WithLatestRevision(const ConfigurationRevision &value)
DescribeConfigurationResult & WithArn(Aws::String &&value)
DescribeConfigurationResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeConfigurationResult & WithLatestRevision(ConfigurationRevision &&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