AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuickConnect.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/QuickConnectConfig.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_CONNECT_API QuickConnect();
38 AWS_CONNECT_API QuickConnect(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetQuickConnectARN() const{ return m_quickConnectARN; }
48 inline bool QuickConnectARNHasBeenSet() const { return m_quickConnectARNHasBeenSet; }
49 inline void SetQuickConnectARN(const Aws::String& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = value; }
50 inline void SetQuickConnectARN(Aws::String&& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = std::move(value); }
51 inline void SetQuickConnectARN(const char* value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN.assign(value); }
52 inline QuickConnect& WithQuickConnectARN(const Aws::String& value) { SetQuickConnectARN(value); return *this;}
53 inline QuickConnect& WithQuickConnectARN(Aws::String&& value) { SetQuickConnectARN(std::move(value)); return *this;}
54 inline QuickConnect& WithQuickConnectARN(const char* value) { SetQuickConnectARN(value); return *this;}
56
58
61 inline const Aws::String& GetQuickConnectId() const{ return m_quickConnectId; }
62 inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
63 inline void SetQuickConnectId(const Aws::String& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = value; }
64 inline void SetQuickConnectId(Aws::String&& value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::move(value); }
65 inline void SetQuickConnectId(const char* value) { m_quickConnectIdHasBeenSet = true; m_quickConnectId.assign(value); }
66 inline QuickConnect& WithQuickConnectId(const Aws::String& value) { SetQuickConnectId(value); return *this;}
67 inline QuickConnect& WithQuickConnectId(Aws::String&& value) { SetQuickConnectId(std::move(value)); return *this;}
68 inline QuickConnect& WithQuickConnectId(const char* value) { SetQuickConnectId(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline QuickConnect& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline QuickConnect& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline QuickConnect& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline QuickConnect& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline QuickConnect& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline QuickConnect& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const QuickConnectConfig& GetQuickConnectConfig() const{ return m_quickConnectConfig; }
104 inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
105 inline void SetQuickConnectConfig(const QuickConnectConfig& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = value; }
106 inline void SetQuickConnectConfig(QuickConnectConfig&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::move(value); }
108 inline QuickConnect& WithQuickConnectConfig(QuickConnectConfig&& value) { SetQuickConnectConfig(std::move(value)); return *this;}
110
112
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
119 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline QuickConnect& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
121 inline QuickConnect& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
122 inline QuickConnect& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
123 inline QuickConnect& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
124 inline QuickConnect& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
125 inline QuickConnect& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
126 inline QuickConnect& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
127 inline QuickConnect& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline QuickConnect& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
130
132
135 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
136 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
137 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
138 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
139 inline QuickConnect& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
140 inline QuickConnect& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
142
144
147 inline const Aws::String& GetLastModifiedRegion() const{ return m_lastModifiedRegion; }
148 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
149 inline void SetLastModifiedRegion(const Aws::String& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = value; }
150 inline void SetLastModifiedRegion(Aws::String&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::move(value); }
151 inline void SetLastModifiedRegion(const char* value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion.assign(value); }
152 inline QuickConnect& WithLastModifiedRegion(const Aws::String& value) { SetLastModifiedRegion(value); return *this;}
153 inline QuickConnect& WithLastModifiedRegion(Aws::String&& value) { SetLastModifiedRegion(std::move(value)); return *this;}
154 inline QuickConnect& WithLastModifiedRegion(const char* value) { SetLastModifiedRegion(value); return *this;}
156 private:
157
158 Aws::String m_quickConnectARN;
159 bool m_quickConnectARNHasBeenSet = false;
160
161 Aws::String m_quickConnectId;
162 bool m_quickConnectIdHasBeenSet = false;
163
164 Aws::String m_name;
165 bool m_nameHasBeenSet = false;
166
167 Aws::String m_description;
168 bool m_descriptionHasBeenSet = false;
169
170 QuickConnectConfig m_quickConnectConfig;
171 bool m_quickConnectConfigHasBeenSet = false;
172
174 bool m_tagsHasBeenSet = false;
175
176 Aws::Utils::DateTime m_lastModifiedTime;
177 bool m_lastModifiedTimeHasBeenSet = false;
178
179 Aws::String m_lastModifiedRegion;
180 bool m_lastModifiedRegionHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace Connect
185} // namespace Aws
void SetQuickConnectARN(Aws::String &&value)
QuickConnect & WithLastModifiedRegion(Aws::String &&value)
QuickConnect & WithQuickConnectARN(const Aws::String &value)
const Aws::String & GetDescription() const
AWS_CONNECT_API QuickConnect & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(Aws::String &&value)
void SetQuickConnectId(const Aws::String &value)
QuickConnect & WithQuickConnectId(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
QuickConnect & WithLastModifiedRegion(const Aws::String &value)
QuickConnect & WithQuickConnectId(const Aws::String &value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
QuickConnect & WithQuickConnectARN(Aws::String &&value)
AWS_CONNECT_API QuickConnect(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
QuickConnect & AddTags(Aws::String &&key, const Aws::String &value)
void SetName(Aws::String &&value)
void SetLastModifiedRegion(const Aws::String &value)
QuickConnect & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetQuickConnectId(const char *value)
QuickConnect & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetName(const Aws::String &value)
const QuickConnectConfig & GetQuickConnectConfig() const
QuickConnect & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
QuickConnect & WithDescription(const char *value)
void SetQuickConnectConfig(const QuickConnectConfig &value)
QuickConnect & WithLastModifiedTime(Aws::Utils::DateTime &&value)
QuickConnect & WithName(const char *value)
void SetQuickConnectId(Aws::String &&value)
QuickConnect & WithDescription(Aws::String &&value)
QuickConnect & WithQuickConnectConfig(QuickConnectConfig &&value)
const Aws::String & GetQuickConnectId() const
void SetQuickConnectConfig(QuickConnectConfig &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
QuickConnect & WithQuickConnectConfig(const QuickConnectConfig &value)
QuickConnect & WithLastModifiedTime(const Aws::Utils::DateTime &value)
const Aws::String & GetName() const
QuickConnect & AddTags(Aws::String &&key, Aws::String &&value)
QuickConnect & AddTags(const Aws::String &key, const Aws::String &value)
QuickConnect & WithName(Aws::String &&value)
const Aws::String & GetLastModifiedRegion() const
QuickConnect & AddTags(const char *key, const char *value)
QuickConnect & WithLastModifiedRegion(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QuickConnect & WithName(const Aws::String &value)
QuickConnect & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetQuickConnectARN() const
void SetLastModifiedRegion(Aws::String &&value)
void SetDescription(const Aws::String &value)
QuickConnect & WithQuickConnectId(Aws::String &&value)
void SetQuickConnectARN(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
QuickConnect & WithDescription(const Aws::String &value)
void SetLastModifiedRegion(const char *value)
void SetName(const char *value)
void SetQuickConnectARN(const char *value)
QuickConnect & AddTags(Aws::String &&key, const char *value)
QuickConnect & WithQuickConnectARN(const char *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