AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Configuration.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{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MQ
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_MQ_API Configuration();
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
54 inline Configuration& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline Configuration& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline Configuration& WithArn(const char* value) { SetArn(value); return *this;}
58
60
64 inline const AuthenticationStrategy& GetAuthenticationStrategy() const{ return m_authenticationStrategy; }
65 inline bool AuthenticationStrategyHasBeenSet() const { return m_authenticationStrategyHasBeenSet; }
66 inline void SetAuthenticationStrategy(const AuthenticationStrategy& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = value; }
67 inline void SetAuthenticationStrategy(AuthenticationStrategy&& value) { m_authenticationStrategyHasBeenSet = true; m_authenticationStrategy = std::move(value); }
71
73
76 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
77 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
78 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
79 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
80 inline Configuration& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
81 inline Configuration& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
83
85
88 inline const Aws::String& GetDescription() const{ return m_description; }
89 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
90 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
91 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
92 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
93 inline Configuration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
94 inline Configuration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
95 inline Configuration& WithDescription(const char* value) { SetDescription(value); return *this;}
97
99
103 inline const EngineType& GetEngineType() const{ return m_engineType; }
104 inline bool EngineTypeHasBeenSet() const { return m_engineTypeHasBeenSet; }
105 inline void SetEngineType(const EngineType& value) { m_engineTypeHasBeenSet = true; m_engineType = value; }
106 inline void SetEngineType(EngineType&& value) { m_engineTypeHasBeenSet = true; m_engineType = std::move(value); }
107 inline Configuration& WithEngineType(const EngineType& value) { SetEngineType(value); return *this;}
108 inline Configuration& WithEngineType(EngineType&& value) { SetEngineType(std::move(value)); return *this;}
110
112
121 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
122 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
123 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
124 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
125 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
126 inline Configuration& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
127 inline Configuration& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
128 inline Configuration& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
130
132
135 inline const Aws::String& GetId() const{ return m_id; }
136 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
137 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
138 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
139 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
140 inline Configuration& WithId(const Aws::String& value) { SetId(value); return *this;}
141 inline Configuration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
142 inline Configuration& WithId(const char* value) { SetId(value); return *this;}
144
146
149 inline const ConfigurationRevision& GetLatestRevision() const{ return m_latestRevision; }
150 inline bool LatestRevisionHasBeenSet() const { return m_latestRevisionHasBeenSet; }
151 inline void SetLatestRevision(const ConfigurationRevision& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = value; }
152 inline void SetLatestRevision(ConfigurationRevision&& value) { m_latestRevisionHasBeenSet = true; m_latestRevision = std::move(value); }
153 inline Configuration& WithLatestRevision(const ConfigurationRevision& value) { SetLatestRevision(value); return *this;}
154 inline Configuration& WithLatestRevision(ConfigurationRevision&& value) { SetLatestRevision(std::move(value)); return *this;}
156
158
163 inline const Aws::String& GetName() const{ return m_name; }
164 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
165 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
166 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
167 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
168 inline Configuration& WithName(const Aws::String& value) { SetName(value); return *this;}
169 inline Configuration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
170 inline Configuration& WithName(const char* value) { SetName(value); return *this;}
172
174
177 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
178 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
179 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
180 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
181 inline Configuration& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
182 inline Configuration& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
183 inline Configuration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
184 inline Configuration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
185 inline Configuration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
186 inline Configuration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
187 inline Configuration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
188 inline Configuration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
189 inline Configuration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
191 private:
192
193 Aws::String m_arn;
194 bool m_arnHasBeenSet = false;
195
196 AuthenticationStrategy m_authenticationStrategy;
197 bool m_authenticationStrategyHasBeenSet = false;
198
199 Aws::Utils::DateTime m_created;
200 bool m_createdHasBeenSet = false;
201
202 Aws::String m_description;
203 bool m_descriptionHasBeenSet = false;
204
205 EngineType m_engineType;
206 bool m_engineTypeHasBeenSet = false;
207
208 Aws::String m_engineVersion;
209 bool m_engineVersionHasBeenSet = false;
210
211 Aws::String m_id;
212 bool m_idHasBeenSet = false;
213
214 ConfigurationRevision m_latestRevision;
215 bool m_latestRevisionHasBeenSet = false;
216
217 Aws::String m_name;
218 bool m_nameHasBeenSet = false;
219
221 bool m_tagsHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace MQ
226} // namespace Aws
Configuration & WithAuthenticationStrategy(AuthenticationStrategy &&value)
void SetLatestRevision(ConfigurationRevision &&value)
Configuration & WithArn(Aws::String &&value)
void SetEngineType(EngineType &&value)
Configuration & WithName(Aws::String &&value)
Configuration & WithDescription(Aws::String &&value)
Configuration & WithAuthenticationStrategy(const AuthenticationStrategy &value)
AWS_MQ_API Configuration(Aws::Utils::Json::JsonView jsonValue)
Configuration & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetName() const
void SetId(const Aws::String &value)
Configuration & WithArn(const Aws::String &value)
Configuration & AddTags(const char *key, Aws::String &&value)
void SetId(const char *value)
Configuration & WithId(Aws::String &&value)
Configuration & WithDescription(const char *value)
Configuration & WithCreated(const Aws::Utils::DateTime &value)
void SetArn(Aws::String &&value)
void SetDescription(const char *value)
Configuration & WithLatestRevision(const ConfigurationRevision &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetId() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Configuration & AddTags(Aws::String &&key, Aws::String &&value)
void SetCreated(const Aws::Utils::DateTime &value)
AWS_MQ_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
Configuration & AddTags(Aws::String &&key, const Aws::String &value)
void SetAuthenticationStrategy(const AuthenticationStrategy &value)
void SetEngineType(const EngineType &value)
Configuration & AddTags(Aws::String &&key, const char *value)
const Aws::String & GetDescription() const
const EngineType & GetEngineType() const
Configuration & WithDescription(const Aws::String &value)
void SetName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreated() const
Configuration & AddTags(const Aws::String &key, const Aws::String &value)
Configuration & WithEngineType(EngineType &&value)
void SetDescription(Aws::String &&value)
Configuration & AddTags(const char *key, const char *value)
Configuration & WithEngineType(const EngineType &value)
bool AuthenticationStrategyHasBeenSet() const
void SetId(Aws::String &&value)
void SetEngineVersion(Aws::String &&value)
void SetAuthenticationStrategy(AuthenticationStrategy &&value)
void SetArn(const Aws::String &value)
Configuration & WithArn(const char *value)
Configuration & WithId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Configuration & WithEngineVersion(Aws::String &&value)
void SetLatestRevision(const ConfigurationRevision &value)
Configuration & WithEngineVersion(const Aws::String &value)
Configuration & AddTags(const Aws::String &key, Aws::String &&value)
Configuration & WithLatestRevision(ConfigurationRevision &&value)
const ConfigurationRevision & GetLatestRevision() const
Configuration & WithId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetEngineVersion(const char *value)
void SetName(const char *value)
Configuration & WithName(const char *value)
const Aws::String & GetArn() const
Configuration & WithCreated(Aws::Utils::DateTime &&value)
const Aws::String & GetEngineVersion() const
void SetCreated(Aws::Utils::DateTime &&value)
Configuration & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_MQ_API Aws::Utils::Json::JsonValue Jsonize() const
Configuration & WithEngineVersion(const char *value)
void SetName(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
const AuthenticationStrategy & GetAuthenticationStrategy() const
void SetArn(const char *value)
Configuration & WithName(const Aws::String &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