AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename QuickConnectARNT = Aws::String>
50 void SetQuickConnectARN(QuickConnectARNT&& value) { m_quickConnectARNHasBeenSet = true; m_quickConnectARN = std::forward<QuickConnectARNT>(value); }
51 template<typename QuickConnectARNT = Aws::String>
52 QuickConnect& WithQuickConnectARN(QuickConnectARNT&& value) { SetQuickConnectARN(std::forward<QuickConnectARNT>(value)); return *this;}
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) { m_quickConnectIdHasBeenSet = true; m_quickConnectId = std::forward<QuickConnectIdT>(value); }
63 template<typename QuickConnectIdT = Aws::String>
64 QuickConnect& WithQuickConnectId(QuickConnectIdT&& value) { SetQuickConnectId(std::forward<QuickConnectIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetName() const { return m_name; }
72 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
73 template<typename NameT = Aws::String>
74 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
75 template<typename NameT = Aws::String>
76 QuickConnect& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetDescription() const { return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 template<typename DescriptionT = Aws::String>
86 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
87 template<typename DescriptionT = Aws::String>
88 QuickConnect& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
90
92
95 inline const QuickConnectConfig& GetQuickConnectConfig() const { return m_quickConnectConfig; }
96 inline bool QuickConnectConfigHasBeenSet() const { return m_quickConnectConfigHasBeenSet; }
97 template<typename QuickConnectConfigT = QuickConnectConfig>
98 void SetQuickConnectConfig(QuickConnectConfigT&& value) { m_quickConnectConfigHasBeenSet = true; m_quickConnectConfig = std::forward<QuickConnectConfigT>(value); }
99 template<typename QuickConnectConfigT = QuickConnectConfig>
100 QuickConnect& WithQuickConnectConfig(QuickConnectConfigT&& value) { SetQuickConnectConfig(std::forward<QuickConnectConfigT>(value)); return *this;}
102
104
108 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
109 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
110 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
112 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
113 QuickConnect& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
114 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
115 QuickConnect& AddTags(TagsKeyT&& key, TagsValueT&& value) {
116 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
117 }
119
121
124 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
125 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
126 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
127 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
128 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
129 QuickConnect& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
131
133
136 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
137 inline bool LastModifiedRegionHasBeenSet() const { return m_lastModifiedRegionHasBeenSet; }
138 template<typename LastModifiedRegionT = Aws::String>
139 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet = true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
140 template<typename LastModifiedRegionT = Aws::String>
141 QuickConnect& WithLastModifiedRegion(LastModifiedRegionT&& value) { SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value)); return *this;}
143 private:
144
145 Aws::String m_quickConnectARN;
146 bool m_quickConnectARNHasBeenSet = false;
147
148 Aws::String m_quickConnectId;
149 bool m_quickConnectIdHasBeenSet = false;
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 QuickConnectConfig m_quickConnectConfig;
158 bool m_quickConnectConfigHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastModifiedTime{};
164 bool m_lastModifiedTimeHasBeenSet = false;
165
166 Aws::String m_lastModifiedRegion;
167 bool m_lastModifiedRegionHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace Connect
172} // 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