7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/OutboundCallerConfig.h>
10#include <aws/connect/model/OutboundEmailConfig.h>
11#include <aws/connect/model/QueueStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
39 AWS_CONNECT_API
Queue() =
default;
51 template<
typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
53 template<
typename NameT = Aws::String>
63 template<
typename QueueArnT = Aws::String>
64 void SetQueueArn(QueueArnT&& value) { m_queueArnHasBeenSet =
true; m_queueArn = std::forward<QueueArnT>(value); }
65 template<
typename QueueArnT = Aws::String>
75 template<
typename QueueIdT = Aws::String>
76 void SetQueueId(QueueIdT&& value) { m_queueIdHasBeenSet =
true; m_queueId = std::forward<QueueIdT>(value); }
77 template<
typename QueueIdT = Aws::String>
87 template<
typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
89 template<
typename DescriptionT = Aws::String>
99 template<
typename OutboundCallerConfigT = OutboundCallerConfig>
100 void SetOutboundCallerConfig(OutboundCallerConfigT&& value) { m_outboundCallerConfigHasBeenSet =
true; m_outboundCallerConfig = std::forward<OutboundCallerConfigT>(value); }
101 template<
typename OutboundCallerConfigT = OutboundCallerConfig>
111 template<
typename OutboundEmailConfigT = OutboundEmailConfig>
112 void SetOutboundEmailConfig(OutboundEmailConfigT&& value) { m_outboundEmailConfigHasBeenSet =
true; m_outboundEmailConfig = std::forward<OutboundEmailConfigT>(value); }
113 template<
typename OutboundEmailConfigT = OutboundEmailConfig>
123 template<
typename HoursOfOperationIdT = Aws::String>
124 void SetHoursOfOperationId(HoursOfOperationIdT&& value) { m_hoursOfOperationIdHasBeenSet =
true; m_hoursOfOperationId = std::forward<HoursOfOperationIdT>(value); }
125 template<
typename HoursOfOperationIdT = Aws::String>
136 inline void SetMaxContacts(
int value) { m_maxContactsHasBeenSet =
true; m_maxContacts = value; }
157 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
159 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
163 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
173 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
174 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
175 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
185 template<
typename LastModifiedRegionT = Aws::String>
186 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
187 template<
typename LastModifiedRegionT = Aws::String>
193 bool m_nameHasBeenSet =
false;
196 bool m_queueArnHasBeenSet =
false;
199 bool m_queueIdHasBeenSet =
false;
202 bool m_descriptionHasBeenSet =
false;
205 bool m_outboundCallerConfigHasBeenSet =
false;
208 bool m_outboundEmailConfigHasBeenSet =
false;
211 bool m_hoursOfOperationIdHasBeenSet =
false;
213 int m_maxContacts{0};
214 bool m_maxContactsHasBeenSet =
false;
217 bool m_statusHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
223 bool m_lastModifiedTimeHasBeenSet =
false;
226 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