7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/connect/model/AgentAvailabilityTimer.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/connect/model/MediaConcurrency.h>
53 template<
typename InstanceIdT = Aws::String>
54 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
55 template<
typename InstanceIdT = Aws::String>
65 template<
typename NameT = Aws::String>
66 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
67 template<
typename NameT = Aws::String>
77 template<
typename RoutingProfileArnT = Aws::String>
78 void SetRoutingProfileArn(RoutingProfileArnT&& value) { m_routingProfileArnHasBeenSet =
true; m_routingProfileArn = std::forward<RoutingProfileArnT>(value); }
79 template<
typename RoutingProfileArnT = Aws::String>
89 template<
typename RoutingProfileIdT = Aws::String>
90 void SetRoutingProfileId(RoutingProfileIdT&& value) { m_routingProfileIdHasBeenSet =
true; m_routingProfileId = std::forward<RoutingProfileIdT>(value); }
91 template<
typename RoutingProfileIdT = Aws::String>
101 template<
typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
103 template<
typename DescriptionT = Aws::String>
114 template<
typename MediaConcurrenciesT = Aws::Vector<MediaConcurrency>>
115 void SetMediaConcurrencies(MediaConcurrenciesT&& value) { m_mediaConcurrenciesHasBeenSet =
true; m_mediaConcurrencies = std::forward<MediaConcurrenciesT>(value); }
116 template<
typename MediaConcurrenciesT = Aws::Vector<MediaConcurrency>>
118 template<
typename MediaConcurrenciesT = MediaConcurrency>
119 RoutingProfile&
AddMediaConcurrencies(MediaConcurrenciesT&& value) { m_mediaConcurrenciesHasBeenSet =
true; m_mediaConcurrencies.emplace_back(std::forward<MediaConcurrenciesT>(value));
return *
this; }
128 template<
typename DefaultOutboundQueueIdT = Aws::String>
129 void SetDefaultOutboundQueueId(DefaultOutboundQueueIdT&& value) { m_defaultOutboundQueueIdHasBeenSet =
true; m_defaultOutboundQueueId = std::forward<DefaultOutboundQueueIdT>(value); }
130 template<
typename DefaultOutboundQueueIdT = Aws::String>
141 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
143 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
147 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
189 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
190 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
191 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
201 template<
typename LastModifiedRegionT = Aws::String>
202 void SetLastModifiedRegion(LastModifiedRegionT&& value) { m_lastModifiedRegionHasBeenSet =
true; m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value); }
203 template<
typename LastModifiedRegionT = Aws::String>
213 inline void SetIsDefault(
bool value) { m_isDefaultHasBeenSet =
true; m_isDefault = value; }
223 template<
typename AssociatedQueueIdsT = Aws::Vector<Aws::String>>
224 void SetAssociatedQueueIds(AssociatedQueueIdsT&& value) { m_associatedQueueIdsHasBeenSet =
true; m_associatedQueueIds = std::forward<AssociatedQueueIdsT>(value); }
225 template<
typename AssociatedQueueIdsT = Aws::Vector<Aws::String>>
227 template<
typename AssociatedQueueIdsT = Aws::String>
228 RoutingProfile&
AddAssociatedQueueIds(AssociatedQueueIdsT&& value) { m_associatedQueueIdsHasBeenSet =
true; m_associatedQueueIds.emplace_back(std::forward<AssociatedQueueIdsT>(value));
return *
this; }
233 bool m_instanceIdHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
239 bool m_routingProfileArnHasBeenSet =
false;
242 bool m_routingProfileIdHasBeenSet =
false;
245 bool m_descriptionHasBeenSet =
false;
248 bool m_mediaConcurrenciesHasBeenSet =
false;
251 bool m_defaultOutboundQueueIdHasBeenSet =
false;
254 bool m_tagsHasBeenSet =
false;
256 long long m_numberOfAssociatedQueues{0};
257 bool m_numberOfAssociatedQueuesHasBeenSet =
false;
259 long long m_numberOfAssociatedUsers{0};
260 bool m_numberOfAssociatedUsersHasBeenSet =
false;
263 bool m_agentAvailabilityTimerHasBeenSet =
false;
266 bool m_lastModifiedTimeHasBeenSet =
false;
269 bool m_lastModifiedRegionHasBeenSet =
false;
271 bool m_isDefault{
false};
272 bool m_isDefaultHasBeenSet =
false;
275 bool m_associatedQueueIdsHasBeenSet =
false;
RoutingProfile & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetName() const
void SetRoutingProfileId(RoutingProfileIdT &&value)
RoutingProfile & WithTags(TagsT &&value)
RoutingProfile & WithLastModifiedRegion(LastModifiedRegionT &&value)
const Aws::String & GetDefaultOutboundQueueId() const
RoutingProfile & WithDefaultOutboundQueueId(DefaultOutboundQueueIdT &&value)
AgentAvailabilityTimer GetAgentAvailabilityTimer() const
AWS_CONNECT_API RoutingProfile()=default
void SetInstanceId(InstanceIdT &&value)
const Aws::String & GetRoutingProfileArn() const
bool TagsHasBeenSet() const
long long GetNumberOfAssociatedUsers() const
void SetAgentAvailabilityTimer(AgentAvailabilityTimer value)
bool NumberOfAssociatedQueuesHasBeenSet() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
long long GetNumberOfAssociatedQueues() const
void SetIsDefault(bool value)
bool DefaultOutboundQueueIdHasBeenSet() const
RoutingProfile & AddAssociatedQueueIds(AssociatedQueueIdsT &&value)
const Aws::String & GetDescription() const
bool RoutingProfileArnHasBeenSet() const
RoutingProfile & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
RoutingProfile & WithInstanceId(InstanceIdT &&value)
const Aws::Vector< Aws::String > & GetAssociatedQueueIds() const
bool NumberOfAssociatedUsersHasBeenSet() const
bool LastModifiedRegionHasBeenSet() const
void SetNumberOfAssociatedUsers(long long value)
bool NameHasBeenSet() const
const Aws::String & GetRoutingProfileId() const
RoutingProfile & AddMediaConcurrencies(MediaConcurrenciesT &&value)
bool AgentAvailabilityTimerHasBeenSet() const
bool IsDefaultHasBeenSet() const
void SetRoutingProfileArn(RoutingProfileArnT &&value)
RoutingProfile & WithMediaConcurrencies(MediaConcurrenciesT &&value)
AWS_CONNECT_API RoutingProfile(Aws::Utils::Json::JsonView jsonValue)
RoutingProfile & WithRoutingProfileId(RoutingProfileIdT &&value)
const Aws::Vector< MediaConcurrency > & GetMediaConcurrencies() const
void SetDescription(DescriptionT &&value)
void SetName(NameT &&value)
RoutingProfile & WithAgentAvailabilityTimer(AgentAvailabilityTimer value)
bool DescriptionHasBeenSet() const
RoutingProfile & WithAssociatedQueueIds(AssociatedQueueIdsT &&value)
RoutingProfile & WithNumberOfAssociatedUsers(long long value)
RoutingProfile & WithIsDefault(bool value)
const Aws::String & GetInstanceId() const
RoutingProfile & WithRoutingProfileArn(RoutingProfileArnT &&value)
bool GetIsDefault() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
bool AssociatedQueueIdsHasBeenSet() const
void SetDefaultOutboundQueueId(DefaultOutboundQueueIdT &&value)
void SetAssociatedQueueIds(AssociatedQueueIdsT &&value)
const Aws::String & GetLastModifiedRegion() const
AWS_CONNECT_API RoutingProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RoutingProfileIdHasBeenSet() const
void SetMediaConcurrencies(MediaConcurrenciesT &&value)
bool InstanceIdHasBeenSet() const
RoutingProfile & WithName(NameT &&value)
RoutingProfile & WithNumberOfAssociatedQueues(long long value)
void SetNumberOfAssociatedQueues(long long value)
bool LastModifiedTimeHasBeenSet() const
bool MediaConcurrenciesHasBeenSet() const
RoutingProfile & WithLastModifiedTime(LastModifiedTimeT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue