AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRoutingProfileQueuesRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/RoutingProfileQueueConfig.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoutingProfileQueues"; }
33
34 AWS_CONNECT_API Aws::String SerializePayload() const override;
35
36
38
43 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
44 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
45 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline UpdateRoutingProfileQueuesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline UpdateRoutingProfileQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline UpdateRoutingProfileQueuesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
57 inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
58 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
59 inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
60 inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
61 inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
64 inline UpdateRoutingProfileQueuesRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
66
68
73 inline const Aws::Vector<RoutingProfileQueueConfig>& GetQueueConfigs() const{ return m_queueConfigs; }
74 inline bool QueueConfigsHasBeenSet() const { return m_queueConfigsHasBeenSet; }
75 inline void SetQueueConfigs(const Aws::Vector<RoutingProfileQueueConfig>& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = value; }
76 inline void SetQueueConfigs(Aws::Vector<RoutingProfileQueueConfig>&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs = std::move(value); }
79 inline UpdateRoutingProfileQueuesRequest& AddQueueConfigs(const RoutingProfileQueueConfig& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(value); return *this; }
80 inline UpdateRoutingProfileQueuesRequest& AddQueueConfigs(RoutingProfileQueueConfig&& value) { m_queueConfigsHasBeenSet = true; m_queueConfigs.push_back(std::move(value)); return *this; }
82 private:
83
84 Aws::String m_instanceId;
85 bool m_instanceIdHasBeenSet = false;
86
87 Aws::String m_routingProfileId;
88 bool m_routingProfileIdHasBeenSet = false;
89
91 bool m_queueConfigsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Connect
96} // namespace Aws
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(const Aws::String &value)
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(const char *value)
const Aws::Vector< RoutingProfileQueueConfig > & GetQueueConfigs() const
UpdateRoutingProfileQueuesRequest & WithQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
UpdateRoutingProfileQueuesRequest & WithInstanceId(const Aws::String &value)
void SetQueueConfigs(Aws::Vector< RoutingProfileQueueConfig > &&value)
UpdateRoutingProfileQueuesRequest & WithRoutingProfileId(Aws::String &&value)
UpdateRoutingProfileQueuesRequest & WithQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
UpdateRoutingProfileQueuesRequest & AddQueueConfigs(const RoutingProfileQueueConfig &value)
UpdateRoutingProfileQueuesRequest & WithInstanceId(Aws::String &&value)
UpdateRoutingProfileQueuesRequest & AddQueueConfigs(RoutingProfileQueueConfig &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateRoutingProfileQueuesRequest & WithInstanceId(const char *value)
void SetQueueConfigs(const Aws::Vector< RoutingProfileQueueConfig > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector