AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 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); }
49 inline UpdateRoutingProfileConcurrencyRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline UpdateRoutingProfileConcurrencyRequest& 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 UpdateRoutingProfileConcurrencyRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
66
68
71 inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const{ return m_mediaConcurrencies; }
72 inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
73 inline void SetMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = value; }
74 inline void SetMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::move(value); }
77 inline UpdateRoutingProfileConcurrencyRequest& AddMediaConcurrencies(const MediaConcurrency& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(value); return *this; }
78 inline UpdateRoutingProfileConcurrencyRequest& AddMediaConcurrencies(MediaConcurrency&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_instanceId;
83 bool m_instanceIdHasBeenSet = false;
84
85 Aws::String m_routingProfileId;
86 bool m_routingProfileIdHasBeenSet = false;
87
88 Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
89 bool m_mediaConcurrenciesHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Connect
94} // namespace Aws
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(const char *value)
UpdateRoutingProfileConcurrencyRequest & AddMediaConcurrencies(const MediaConcurrency &value)
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(const Aws::String &value)
UpdateRoutingProfileConcurrencyRequest & WithMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(const Aws::String &value)
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(const char *value)
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(Aws::String &&value)
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateRoutingProfileConcurrencyRequest & WithMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
UpdateRoutingProfileConcurrencyRequest & AddMediaConcurrencies(MediaConcurrency &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector