AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateRoutingProfileConcurrencyRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/MediaConcurrency.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Connect {
17namespace Model {
18
22 public:
23 AWS_CONNECT_API UpdateRoutingProfileConcurrencyRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateRoutingProfileConcurrency"; }
30
31 AWS_CONNECT_API Aws::String SerializePayload() const override;
32
34
39 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
40 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
41 template <typename InstanceIdT = Aws::String>
42 void SetInstanceId(InstanceIdT&& value) {
43 m_instanceIdHasBeenSet = true;
44 m_instanceId = std::forward<InstanceIdT>(value);
45 }
46 template <typename InstanceIdT = Aws::String>
48 SetInstanceId(std::forward<InstanceIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRoutingProfileId() const { return m_routingProfileId; }
58 inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
59 template <typename RoutingProfileIdT = Aws::String>
60 void SetRoutingProfileId(RoutingProfileIdT&& value) {
61 m_routingProfileIdHasBeenSet = true;
62 m_routingProfileId = std::forward<RoutingProfileIdT>(value);
63 }
64 template <typename RoutingProfileIdT = Aws::String>
66 SetRoutingProfileId(std::forward<RoutingProfileIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const { return m_mediaConcurrencies; }
76 inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
77 template <typename MediaConcurrenciesT = Aws::Vector<MediaConcurrency>>
78 void SetMediaConcurrencies(MediaConcurrenciesT&& value) {
79 m_mediaConcurrenciesHasBeenSet = true;
80 m_mediaConcurrencies = std::forward<MediaConcurrenciesT>(value);
81 }
82 template <typename MediaConcurrenciesT = Aws::Vector<MediaConcurrency>>
84 SetMediaConcurrencies(std::forward<MediaConcurrenciesT>(value));
85 return *this;
86 }
87 template <typename MediaConcurrenciesT = MediaConcurrency>
89 m_mediaConcurrenciesHasBeenSet = true;
90 m_mediaConcurrencies.emplace_back(std::forward<MediaConcurrenciesT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_instanceId;
96
97 Aws::String m_routingProfileId;
98
99 Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
100 bool m_instanceIdHasBeenSet = false;
101 bool m_routingProfileIdHasBeenSet = false;
102 bool m_mediaConcurrenciesHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace Connect
107} // 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