AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateRoutingProfileConcurrencyRequest.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/MediaConcurrency.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API UpdateRoutingProfileConcurrencyRequest() = default;
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 "UpdateRoutingProfileConcurrency"; }
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 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 UpdateRoutingProfileConcurrencyRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetRoutingProfileId() const { return m_routingProfileId; }
56 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
57 template<typename RoutingProfileIdT = Aws::String>
58 void SetRoutingProfileId(RoutingProfileIdT&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::forward<RoutingProfileIdT>(value); }
59 template<typename RoutingProfileIdT = Aws::String>
60 UpdateRoutingProfileConcurrencyRequest& WithRoutingProfileId(RoutingProfileIdT&& value) { SetRoutingProfileId(std::forward<RoutingProfileIdT>(value)); return *this;}
62
64
67 inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const { return m_mediaConcurrencies; }
68 inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
69 template<typename MediaConcurrenciesT = Aws::Vector<MediaConcurrency>>
70 void SetMediaConcurrencies(MediaConcurrenciesT&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::forward<MediaConcurrenciesT>(value); }
71 template<typename MediaConcurrenciesT = Aws::Vector<MediaConcurrency>>
72 UpdateRoutingProfileConcurrencyRequest& WithMediaConcurrencies(MediaConcurrenciesT&& value) { SetMediaConcurrencies(std::forward<MediaConcurrenciesT>(value)); return *this;}
73 template<typename MediaConcurrenciesT = MediaConcurrency>
74 UpdateRoutingProfileConcurrencyRequest& AddMediaConcurrencies(MediaConcurrenciesT&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.emplace_back(std::forward<MediaConcurrenciesT>(value)); return *this; }
76 private:
77
78 Aws::String m_instanceId;
79 bool m_instanceIdHasBeenSet = false;
80
81 Aws::String m_routingProfileId;
82 bool m_routingProfileIdHasBeenSet = false;
83
84 Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
85 bool m_mediaConcurrenciesHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Connect
90} // namespace Aws
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(RoutingProfileIdT &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateRoutingProfileConcurrencyRequest & WithMediaConcurrencies(MediaConcurrenciesT &&value)
UpdateRoutingProfileConcurrencyRequest & AddMediaConcurrencies(MediaConcurrenciesT &&value)
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(InstanceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector