AWS SDK for C++  1.9.154
AWS SDK for C++
QuickConnect.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Connect
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetQuickConnectARN() const{ return m_quickConnectARN; }
46 
50  inline bool QuickConnectARNHasBeenSet() const { return m_quickConnectARNHasBeenSet; }
51 
55  inline void SetQuickConnectARN(const Aws::String& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = value; }
56 
60  inline void SetQuickConnectARN(Aws::String&& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = std::move(value); }
61 
65  inline void SetQuickConnectARN(const char* value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN.assign(value); }
66 
70  inline QuickConnect& WithQuickConnectARN(const Aws::String& value) { SetQuickConnectARN(value); return *this;}
71 
75  inline QuickConnect& WithQuickConnectARN(Aws::String&& value) { SetQuickConnectARN(std::move(value)); return *this;}
76 
80  inline QuickConnect& WithQuickConnectARN(const char* value) { SetQuickConnectARN(value); return *this;}
81 
82 
86  inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
87 
91  inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
92 
96  inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
97 
101  inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
102 
106  inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
107 
111  inline QuickConnect& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
112 
116  inline QuickConnect& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
117 
121  inline QuickConnect& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;}
122 
123 
127  inline const Aws::String& GetName() const{ return m_name; }
128 
132  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 
137  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
138 
142  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 
147  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
148 
152  inline QuickConnect& WithName(const Aws::String& value) { SetName(value); return *this;}
153 
157  inline QuickConnect& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 
162  inline QuickConnect& WithName(const char* value) { SetName(value); return *this;}
163 
164 
168  inline const Aws::String& GetDescription() const{ return m_description; }
169 
173  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
174 
178  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
179 
183  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
184 
188  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
189 
193  inline QuickConnect& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
194 
198  inline QuickConnect& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
199 
203  inline QuickConnect& WithDescription(const char* value) { SetDescription(value); return *this;}
204 
205 
209  inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; }
210 
214  inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
215 
219  inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; }
220 
224  inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); }
225 
229  inline QuickConnect& WithQuickConnectConfig(const QuickConnectConfig& value) { SetQuickConnectConfig(value); return *this;}
230 
234  inline QuickConnect& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;}
235 
236 
240  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
241 
245  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
246 
250  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
251 
255  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
256 
260  inline QuickConnect& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
261 
265  inline QuickConnect& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
266 
270  inline QuickConnect& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
271 
275  inline QuickConnect& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
276 
280  inline QuickConnect& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
281 
285  inline QuickConnect& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
286 
290  inline QuickConnect& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
291 
295  inline QuickConnect& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
296 
300  inline QuickConnect& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
301 
302  private:
303 
304  Aws::String m_quickConnectARN;
305  bool m_quickConnectARNHasBeenSet;
306 
307  Aws::String m_quickConnectId;
308  bool m_quickConnectIdHasBeenSet;
309 
310  Aws::String m_name;
311  bool m_nameHasBeenSet;
312 
313  Aws::String m_description;
314  bool m_descriptionHasBeenSet;
315 
316  QuickConnectConfig m_quickConnectConfig;
317  bool m_quickConnectConfigHasBeenSet;
318 
320  bool m_tagsHasBeenSet;
321  };
322 
323 } // namespace Model
324 } // namespace Connect
325 } // namespace Aws
Aws::Connect::Model::QuickConnect::WithTags
QuickConnect & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: QuickConnect.h:265
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(const char *key, Aws::String &&value)
Definition: QuickConnect.h:290
Aws::Connect::Model::QuickConnect::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: QuickConnect.h:240
Aws::Connect::Model::QuickConnect::SetName
void SetName(const Aws::String &value)
Definition: QuickConnect.h:137
Aws::Connect::Model::QuickConnect::QuickConnect
QuickConnect(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QuickConnect::WithQuickConnectConfig
QuickConnect & WithQuickConnectConfig(QuickConnectConfig &&value)
Definition: QuickConnect.h:234
Aws::Connect::Model::QuickConnect::SetQuickConnectId
void SetQuickConnectId(const Aws::String &value)
Definition: QuickConnect.h:96
Aws::Connect::Model::QuickConnect::WithQuickConnectConfig
QuickConnect & WithQuickConnectConfig(const QuickConnectConfig &value)
Definition: QuickConnect.h:229
Aws::Connect::Model::QuickConnect::GetQuickConnectId
const Aws::String & GetQuickConnectId() const
Definition: QuickConnect.h:86
Aws::Connect::Model::QuickConnect::SetQuickConnectARN
void SetQuickConnectARN(const Aws::String &value)
Definition: QuickConnect.h:55
Aws::Connect::Model::QuickConnect::SetDescription
void SetDescription(const Aws::String &value)
Definition: QuickConnect.h:178
Aws::Connect::Model::QuickConnect
Definition: QuickConnect.h:34
Aws::Connect::Model::QuickConnect::WithDescription
QuickConnect & WithDescription(Aws::String &&value)
Definition: QuickConnect.h:198
Aws::Connect::Model::QuickConnect::GetQuickConnectARN
const Aws::String & GetQuickConnectARN() const
Definition: QuickConnect.h:45
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(Aws::String &&key, Aws::String &&value)
Definition: QuickConnect.h:285
Aws::Connect::Model::QuickConnect::SetQuickConnectARN
void SetQuickConnectARN(Aws::String &&value)
Definition: QuickConnect.h:60
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(const char *key, const char *value)
Definition: QuickConnect.h:300
Aws::Connect::Model::QuickConnect::WithName
QuickConnect & WithName(Aws::String &&value)
Definition: QuickConnect.h:157
Aws::Connect::Model::QuickConnect::WithQuickConnectARN
QuickConnect & WithQuickConnectARN(Aws::String &&value)
Definition: QuickConnect.h:75
Aws::Connect::Model::QuickConnect::SetQuickConnectConfig
void SetQuickConnectConfig(const QuickConnectConfig &value)
Definition: QuickConnect.h:219
Aws::Connect::Model::QuickConnect::WithQuickConnectId
QuickConnect & WithQuickConnectId(const Aws::String &value)
Definition: QuickConnect.h:111
Aws::Connect::Model::QuickConnect::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
QuickConnectConfig.h
Aws::Connect::Model::QuickConnect::WithQuickConnectId
QuickConnect & WithQuickConnectId(const char *value)
Definition: QuickConnect.h:121
Aws::Connect::Model::QuickConnect::SetQuickConnectId
void SetQuickConnectId(Aws::String &&value)
Definition: QuickConnect.h:101
Aws::Connect::Model::QuickConnect::GetQuickConnectConfig
const QuickConnectConfig & GetQuickConnectConfig() const
Definition: QuickConnect.h:209
Aws::Connect::Model::QuickConnect::SetQuickConnectConfig
void SetQuickConnectConfig(QuickConnectConfig &&value)
Definition: QuickConnect.h:224
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(Aws::String &&key, const char *value)
Definition: QuickConnect.h:295
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Connect::Model::QuickConnect::WithDescription
QuickConnect & WithDescription(const char *value)
Definition: QuickConnect.h:203
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Connect::Model::QuickConnect::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: QuickConnect.h:250
Aws::Connect::Model::QuickConnect::QuickConnectConfigHasBeenSet
bool QuickConnectConfigHasBeenSet() const
Definition: QuickConnect.h:214
Aws::Connect::Model::QuickConnect::QuickConnectIdHasBeenSet
bool QuickConnectIdHasBeenSet() const
Definition: QuickConnect.h:91
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(const Aws::String &key, Aws::String &&value)
Definition: QuickConnect.h:280
Aws::Connect::Model::QuickConnect::WithTags
QuickConnect & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: QuickConnect.h:260
Aws::Connect::Model::QuickConnect::SetName
void SetName(const char *value)
Definition: QuickConnect.h:147
Aws::Connect::Model::QuickConnect::WithDescription
QuickConnect & WithDescription(const Aws::String &value)
Definition: QuickConnect.h:193
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::QuickConnect::WithName
QuickConnect & WithName(const char *value)
Definition: QuickConnect.h:162
Aws::Connect::Model::QuickConnectConfig
Definition: QuickConnectConfig.h:36
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(const Aws::String &key, const Aws::String &value)
Definition: QuickConnect.h:270
Aws::Connect::Model::QuickConnect::QuickConnectARNHasBeenSet
bool QuickConnectARNHasBeenSet() const
Definition: QuickConnect.h:50
Aws::Connect::Model::QuickConnect::SetDescription
void SetDescription(const char *value)
Definition: QuickConnect.h:188
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::QuickConnect::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: QuickConnect.h:245
Aws::Connect::Model::QuickConnect::operator=
QuickConnect & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Connect::Model::QuickConnect::WithQuickConnectId
QuickConnect & WithQuickConnectId(Aws::String &&value)
Definition: QuickConnect.h:116
Aws::Connect::Model::QuickConnect::SetQuickConnectId
void SetQuickConnectId(const char *value)
Definition: QuickConnect.h:106
Aws::Connect::Model::QuickConnect::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: QuickConnect.h:173
Aws::Connect::Model::QuickConnect::WithQuickConnectARN
QuickConnect & WithQuickConnectARN(const Aws::String &value)
Definition: QuickConnect.h:70
Aws::Connect::Model::QuickConnect::WithName
QuickConnect & WithName(const Aws::String &value)
Definition: QuickConnect.h:152
Aws::Connect::Model::QuickConnect::GetDescription
const Aws::String & GetDescription() const
Definition: QuickConnect.h:168
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::QuickConnect::NameHasBeenSet
bool NameHasBeenSet() const
Definition: QuickConnect.h:132
Aws::Connect::Model::QuickConnect::GetName
const Aws::String & GetName() const
Definition: QuickConnect.h:127
Aws::Connect::Model::QuickConnect::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: QuickConnect.h:255
Connect_EXPORTS.h
AWSMap.h
Aws::Connect::Model::QuickConnect::SetName
void SetName(Aws::String &&value)
Definition: QuickConnect.h:142
Aws::Connect::Model::QuickConnect::WithQuickConnectARN
QuickConnect & WithQuickConnectARN(const char *value)
Definition: QuickConnect.h:80
Aws::Connect::Model::QuickConnect::QuickConnect
QuickConnect()
Aws::Connect::Model::QuickConnect::SetQuickConnectARN
void SetQuickConnectARN(const char *value)
Definition: QuickConnect.h:65
Aws::Connect::Model::QuickConnect::AddTags
QuickConnect & AddTags(Aws::String &&key, const Aws::String &value)
Definition: QuickConnect.h:275
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Connect::Model::QuickConnect::SetDescription
void SetDescription(Aws::String &&value)
Definition: QuickConnect.h:183