AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
QuickConnect.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/QuickConnectConfig.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect {
23namespace Model {
24
31 public:
32 AWS_CONNECT_API QuickConnect() = default;
33 AWS_CONNECT_API QuickConnect(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetQuickConnectARN() const { return m_quickConnectARN; }
42 inline bool QuickConnectARNHasBeenSet() const { return m_quickConnectARNHasBeenSet; }
43 template <typename QuickConnectARNT = Aws::String>
44 void SetQuickConnectARN(QuickConnectARNT&& value) {
45 m_quickConnectARNHasBeenSet = true;
46 m_quickConnectARN = std::forward<QuickConnectARNT>(value);
47 }
48 template <typename QuickConnectARNT = Aws::String>
49 QuickConnect& WithQuickConnectARN(QuickConnectARNT&& value) {
50 SetQuickConnectARN(std::forward<QuickConnectARNT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetQuickConnectId() const { return m_quickConnectId; }
60 inline bool QuickConnectIdHasBeenSet() const { return m_quickConnectIdHasBeenSet; }
61 template <typename QuickConnectIdT = Aws::String>
62 void SetQuickConnectId(QuickConnectIdT&& value) {
63 m_quickConnectIdHasBeenSet = true;
64 m_quickConnectId = std::forward<QuickConnectIdT>(value);
65 }
66 template <typename QuickConnectIdT = Aws::String>
67 QuickConnect& WithQuickConnectId(QuickConnectIdT&& value) {
68 SetQuickConnectId(std::forward<QuickConnectIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
79 template <typename NameT = Aws::String>
80 void SetName(NameT&& value) {
81 m_nameHasBeenSet = true;
82 m_name = std::forward<NameT>(value);
83 }
84 template <typename NameT = Aws::String>
85 QuickConnect& WithName(NameT&& value) {
86 SetName(std::forward<NameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetDescription() const { return m_description; }
96 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
97 template <typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) {
99 m_descriptionHasBeenSet = true;
100 m_description = std::forward<DescriptionT>(value);
101 }
102 template <typename DescriptionT = Aws::String>
103 QuickConnect& WithDescription(DescriptionT&& value) {
104 SetDescription(std::forward<DescriptionT>(value));
105 return *this;
106 }
108
110
113 inline const QuickConnectConfig& GetQuickConnectConfig() const { return m_quickConnectConfig; }
114 inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
115 template <typename QuickConnectConfigT = QuickConnectConfig>
116 void SetQuickConnectConfig(QuickConnectConfigT&& value) {
117 m_quickConnectConfigHasBeenSet = true;
118 m_quickConnectConfig = std::forward<QuickConnectConfigT>(value);
119 }
120 template <typename QuickConnectConfigT = QuickConnectConfig>
121 QuickConnect& WithQuickConnectConfig(QuickConnectConfigT&& value) {
122 SetQuickConnectConfig(std::forward<QuickConnectConfigT>(value));
123 return *this;
124 }
126
128
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) {
136 m_tagsHasBeenSet = true;
137 m_tags = std::forward<TagsT>(value);
138 }
139 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 QuickConnect& WithTags(TagsT&& value) {
141 SetTags(std::forward<TagsT>(value));
142 return *this;
143 }
144 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
145 QuickConnect& AddTags(TagsKeyT&& key, TagsValueT&& value) {
146 m_tagsHasBeenSet = true;
147 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
157 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
158 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
159 void SetLastModifiedTime(LastModifiedTimeT&& value) {
160 m_lastModifiedTimeHasBeenSet = true;
161 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
162 }
163 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
164 QuickConnect& WithLastModifiedTime(LastModifiedTimeT&& value) {
165 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
166 return *this;
167 }
169
171
174 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
175 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
176 template <typename LastModifiedRegionT = Aws::String>
177 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
178 m_lastModifiedRegionHasBeenSet = true;
179 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
180 }
181 template <typename LastModifiedRegionT = Aws::String>
182 QuickConnect& WithLastModifiedRegion(LastModifiedRegionT&& value) {
183 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_quickConnectARN;
189
190 Aws::String m_quickConnectId;
191
192 Aws::String m_name;
193
194 Aws::String m_description;
195
196 QuickConnectConfig m_quickConnectConfig;
197
199
200 Aws::Utils::DateTime m_lastModifiedTime{};
201
202 Aws::String m_lastModifiedRegion;
203 bool m_quickConnectARNHasBeenSet = false;
204 bool m_quickConnectIdHasBeenSet = false;
205 bool m_nameHasBeenSet = false;
206 bool m_descriptionHasBeenSet = false;
207 bool m_quickConnectConfigHasBeenSet = false;
208 bool m_tagsHasBeenSet = false;
209 bool m_lastModifiedTimeHasBeenSet = false;
210 bool m_lastModifiedRegionHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace Connect
215} // namespace Aws
QuickConnect & WithLastModifiedRegion(LastModifiedRegionT &&value)
QuickConnect & WithQuickConnectARN(QuickConnectARNT &&value)
const Aws::String & GetDescription() const
QuickConnect & WithDescription(DescriptionT &&value)
AWS_CONNECT_API QuickConnect & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastModifiedRegion(LastModifiedRegionT &&value)
QuickConnect & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_CONNECT_API QuickConnect(Aws::Utils::Json::JsonView jsonValue)
void SetQuickConnectConfig(QuickConnectConfigT &&value)
QuickConnect & WithQuickConnectConfig(QuickConnectConfigT &&value)
const QuickConnectConfig & GetQuickConnectConfig() const
QuickConnect & WithName(NameT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetQuickConnectId() const
const Aws::String & GetName() const
void SetQuickConnectARN(QuickConnectARNT &&value)
QuickConnect & WithQuickConnectId(QuickConnectIdT &&value)
const Aws::String & GetLastModifiedRegion() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
QuickConnect & WithTags(TagsT &&value)
void SetQuickConnectId(QuickConnectIdT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetQuickConnectARN() const
QuickConnect & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CONNECT_API QuickConnect()=default
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