AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WorkspaceSearchSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/Visibility.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
32 public:
33 AWS_CONNECT_API WorkspaceSearchSummary() = default;
36 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
44 template <typename IdT = Aws::String>
45 void SetId(IdT&& value) {
46 m_idHasBeenSet = true;
47 m_id = std::forward<IdT>(value);
48 }
49 template <typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetName() const { return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 template <typename NameT = Aws::String>
63 void SetName(NameT&& value) {
64 m_nameHasBeenSet = true;
65 m_name = std::forward<NameT>(value);
66 }
67 template <typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
70 return *this;
71 }
73
75
78 inline Visibility GetVisibility() const { return m_visibility; }
79 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
80 inline void SetVisibility(Visibility value) {
81 m_visibilityHasBeenSet = true;
82 m_visibility = value;
83 }
85 SetVisibility(value);
86 return *this;
87 }
89
91
94 inline const Aws::String& GetDescription() const { return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 template <typename DescriptionT = Aws::String>
97 void SetDescription(DescriptionT&& value) {
98 m_descriptionHasBeenSet = true;
99 m_description = std::forward<DescriptionT>(value);
100 }
101 template <typename DescriptionT = Aws::String>
103 SetDescription(std::forward<DescriptionT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetTitle() const { return m_title; }
113 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
114 template <typename TitleT = Aws::String>
115 void SetTitle(TitleT&& value) {
116 m_titleHasBeenSet = true;
117 m_title = std::forward<TitleT>(value);
118 }
119 template <typename TitleT = Aws::String>
121 SetTitle(std::forward<TitleT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetArn() const { return m_arn; }
131 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
132 template <typename ArnT = Aws::String>
133 void SetArn(ArnT&& value) {
134 m_arnHasBeenSet = true;
135 m_arn = std::forward<ArnT>(value);
136 }
137 template <typename ArnT = Aws::String>
139 SetArn(std::forward<ArnT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
149 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
150 template <typename CreatedAtT = Aws::Utils::DateTime>
151 void SetCreatedAt(CreatedAtT&& value) {
152 m_createdAtHasBeenSet = true;
153 m_createdAt = std::forward<CreatedAtT>(value);
154 }
155 template <typename CreatedAtT = Aws::Utils::DateTime>
157 SetCreatedAt(std::forward<CreatedAtT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
167 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
168 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 void SetTags(TagsT&& value) {
170 m_tagsHasBeenSet = true;
171 m_tags = std::forward<TagsT>(value);
172 }
173 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 SetTags(std::forward<TagsT>(value));
176 return *this;
177 }
178 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
179 WorkspaceSearchSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
180 m_tagsHasBeenSet = true;
181 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_id;
187
188 Aws::String m_name;
189
190 Visibility m_visibility{Visibility::NOT_SET};
191
192 Aws::String m_description;
193
194 Aws::String m_title;
195
196 Aws::String m_arn;
197
198 Aws::Utils::DateTime m_createdAt{};
199
201 bool m_idHasBeenSet = false;
202 bool m_nameHasBeenSet = false;
203 bool m_visibilityHasBeenSet = false;
204 bool m_descriptionHasBeenSet = false;
205 bool m_titleHasBeenSet = false;
206 bool m_arnHasBeenSet = false;
207 bool m_createdAtHasBeenSet = false;
208 bool m_tagsHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace Connect
213} // namespace Aws
WorkspaceSearchSummary & WithDescription(DescriptionT &&value)
WorkspaceSearchSummary & WithVisibility(Visibility value)
WorkspaceSearchSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_CONNECT_API WorkspaceSearchSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSearchSummary & WithTags(TagsT &&value)
AWS_CONNECT_API WorkspaceSearchSummary(Aws::Utils::Json::JsonView jsonValue)
WorkspaceSearchSummary & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
WorkspaceSearchSummary & WithName(NameT &&value)
WorkspaceSearchSummary & WithId(IdT &&value)
WorkspaceSearchSummary & WithTitle(TitleT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
WorkspaceSearchSummary & WithArn(ArnT &&value)
AWS_CONNECT_API WorkspaceSearchSummary()=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