7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/OutboundCallerConfig.h>
9#include <aws/connect/model/OutboundEmailConfig.h>
10#include <aws/connect/model/QueueStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
34 AWS_CONNECT_API
Queue() =
default;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename QueueArnT = Aws::String>
65 m_queueArnHasBeenSet =
true;
66 m_queueArn = std::forward<QueueArnT>(value);
68 template <
typename QueueArnT = Aws::String>
81 template <
typename QueueIdT = Aws::String>
83 m_queueIdHasBeenSet =
true;
84 m_queueId = std::forward<QueueIdT>(value);
86 template <
typename QueueIdT = Aws::String>
99 template <
typename DescriptionT = Aws::String>
101 m_descriptionHasBeenSet =
true;
102 m_description = std::forward<DescriptionT>(value);
104 template <
typename DescriptionT = Aws::String>
117 template <
typename OutboundCallerConfigT = OutboundCallerConfig>
119 m_outboundCallerConfigHasBeenSet =
true;
120 m_outboundCallerConfig = std::forward<OutboundCallerConfigT>(value);
122 template <
typename OutboundCallerConfigT = OutboundCallerConfig>
135 template <
typename OutboundEmailConfigT = OutboundEmailConfig>
137 m_outboundEmailConfigHasBeenSet =
true;
138 m_outboundEmailConfig = std::forward<OutboundEmailConfigT>(value);
140 template <
typename OutboundEmailConfigT = OutboundEmailConfig>
153 template <
typename HoursOfOperationIdT = Aws::String>
155 m_hoursOfOperationIdHasBeenSet =
true;
156 m_hoursOfOperationId = std::forward<HoursOfOperationIdT>(value);
158 template <
typename HoursOfOperationIdT = Aws::String>
173 m_maxContactsHasBeenSet =
true;
174 m_maxContacts = value;
189 m_statusHasBeenSet =
true;
205 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
207 m_tagsHasBeenSet =
true;
208 m_tags = std::forward<TagsT>(value);
210 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
212 SetTags(std::forward<TagsT>(value));
215 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
217 m_tagsHasBeenSet =
true;
218 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
229 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
231 m_lastModifiedTimeHasBeenSet =
true;
232 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
234 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
247 template <
typename LastModifiedRegionT = Aws::String>
249 m_lastModifiedRegionHasBeenSet =
true;
250 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
252 template <
typename LastModifiedRegionT = Aws::String>
273 int m_maxContacts{0};
282 bool m_nameHasBeenSet =
false;
283 bool m_queueArnHasBeenSet =
false;
284 bool m_queueIdHasBeenSet =
false;
285 bool m_descriptionHasBeenSet =
false;
286 bool m_outboundCallerConfigHasBeenSet =
false;
287 bool m_outboundEmailConfigHasBeenSet =
false;
288 bool m_hoursOfOperationIdHasBeenSet =
false;
289 bool m_maxContactsHasBeenSet =
false;
290 bool m_statusHasBeenSet =
false;
291 bool m_tagsHasBeenSet =
false;
292 bool m_lastModifiedTimeHasBeenSet =
false;
293 bool m_lastModifiedRegionHasBeenSet =
false;
bool QueueArnHasBeenSet() const
bool StatusHasBeenSet() const
bool HoursOfOperationIdHasBeenSet() const
bool QueueIdHasBeenSet() const
void SetName(NameT &&value)
void SetQueueId(QueueIdT &&value)
const Aws::String & GetLastModifiedRegion() const
void SetStatus(QueueStatus value)
Queue & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
Queue & WithLastModifiedRegion(LastModifiedRegionT &&value)
Queue & WithQueueArn(QueueArnT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Queue & WithOutboundEmailConfig(OutboundEmailConfigT &&value)
Queue & WithHoursOfOperationId(HoursOfOperationIdT &&value)
void SetOutboundEmailConfig(OutboundEmailConfigT &&value)
void SetMaxContacts(int value)
int GetMaxContacts() const
Queue & WithMaxContacts(int value)
const Aws::String & GetHoursOfOperationId() const
Queue & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool OutboundCallerConfigHasBeenSet() const
QueueStatus GetStatus() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
Queue & WithStatus(QueueStatus value)
void SetHoursOfOperationId(HoursOfOperationIdT &&value)
const OutboundEmailConfig & GetOutboundEmailConfig() const
AWS_CONNECT_API Queue & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
bool LastModifiedTimeHasBeenSet() const
void SetQueueArn(QueueArnT &&value)
bool TagsHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetQueueArn() const
AWS_CONNECT_API Queue()=default
Queue & WithQueueId(QueueIdT &&value)
bool OutboundEmailConfigHasBeenSet() const
Queue & WithName(NameT &&value)
const Aws::String & GetQueueId() const
void SetOutboundCallerConfig(OutboundCallerConfigT &&value)
void SetTags(TagsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
Queue & WithTags(TagsT &&value)
AWS_CONNECT_API Queue(Aws::Utils::Json::JsonView jsonValue)
bool LastModifiedRegionHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool MaxContactsHasBeenSet() const
Queue & WithOutboundCallerConfig(OutboundCallerConfigT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
Queue & WithLastModifiedTime(LastModifiedTimeT &&value)
const OutboundCallerConfig & GetOutboundCallerConfig() const
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