AWS SDK for C++  1.9.161
AWS SDK for C++
UpdateRoutingProfileConcurrencyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Connect
17 {
18 namespace 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::String SerializePayload() const override;
35 
36 
41  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 
47  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
48 
53  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
54 
59  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
60 
65  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
66 
71  inline UpdateRoutingProfileConcurrencyRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
72 
77  inline UpdateRoutingProfileConcurrencyRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
78 
83  inline UpdateRoutingProfileConcurrencyRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
84 
85 
89  inline const Aws::String& GetRoutingProfileId() const{ return m_routingProfileId; }
90 
94  inline bool RoutingProfileIdHasBeenSet() const { return m_routingProfileIdHasBeenSet; }
95 
99  inline void SetRoutingProfileId(const Aws::String& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = value; }
100 
104  inline void SetRoutingProfileId(Aws::String&& value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId = std::move(value); }
105 
109  inline void SetRoutingProfileId(const char* value) { m_routingProfileIdHasBeenSet = true; m_routingProfileId.assign(value); }
110 
114  inline UpdateRoutingProfileConcurrencyRequest& WithRoutingProfileId(const Aws::String& value) { SetRoutingProfileId(value); return *this;}
115 
119  inline UpdateRoutingProfileConcurrencyRequest& WithRoutingProfileId(Aws::String&& value) { SetRoutingProfileId(std::move(value)); return *this;}
120 
124  inline UpdateRoutingProfileConcurrencyRequest& WithRoutingProfileId(const char* value) { SetRoutingProfileId(value); return *this;}
125 
126 
130  inline const Aws::Vector<MediaConcurrency>& GetMediaConcurrencies() const{ return m_mediaConcurrencies; }
131 
135  inline bool MediaConcurrenciesHasBeenSet() const { return m_mediaConcurrenciesHasBeenSet; }
136 
140  inline void SetMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = value; }
141 
145  inline void SetMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies = std::move(value); }
146 
150  inline UpdateRoutingProfileConcurrencyRequest& WithMediaConcurrencies(const Aws::Vector<MediaConcurrency>& value) { SetMediaConcurrencies(value); return *this;}
151 
155  inline UpdateRoutingProfileConcurrencyRequest& WithMediaConcurrencies(Aws::Vector<MediaConcurrency>&& value) { SetMediaConcurrencies(std::move(value)); return *this;}
156 
160  inline UpdateRoutingProfileConcurrencyRequest& AddMediaConcurrencies(const MediaConcurrency& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(value); return *this; }
161 
165  inline UpdateRoutingProfileConcurrencyRequest& AddMediaConcurrencies(MediaConcurrency&& value) { m_mediaConcurrenciesHasBeenSet = true; m_mediaConcurrencies.push_back(std::move(value)); return *this; }
166 
167  private:
168 
169  Aws::String m_instanceId;
170  bool m_instanceIdHasBeenSet;
171 
172  Aws::String m_routingProfileId;
173  bool m_routingProfileIdHasBeenSet;
174 
175  Aws::Vector<MediaConcurrency> m_mediaConcurrencies;
176  bool m_mediaConcurrenciesHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Connect
181 } // namespace Aws
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithRoutingProfileId
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(Aws::String &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:119
Aws::Connect::Model::MediaConcurrency
Definition: MediaConcurrency.h:34
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::AddMediaConcurrencies
UpdateRoutingProfileConcurrencyRequest & AddMediaConcurrencies(MediaConcurrency &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:165
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetMediaConcurrencies
void SetMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:140
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:53
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetRoutingProfileId
void SetRoutingProfileId(const char *value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:109
MediaConcurrency.h
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetInstanceId
void SetInstanceId(const char *value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:65
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithMediaConcurrencies
UpdateRoutingProfileConcurrencyRequest & WithMediaConcurrencies(const Aws::Vector< MediaConcurrency > &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:150
AWSVector.h
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithRoutingProfileId
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(const Aws::String &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:114
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::GetRoutingProfileId
const Aws::String & GetRoutingProfileId() const
Definition: UpdateRoutingProfileConcurrencyRequest.h:89
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithInstanceId
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(const char *value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:83
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetMediaConcurrencies
void SetMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:145
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithRoutingProfileId
UpdateRoutingProfileConcurrencyRequest & WithRoutingProfileId(const char *value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:124
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::GetMediaConcurrencies
const Aws::Vector< MediaConcurrency > & GetMediaConcurrencies() const
Definition: UpdateRoutingProfileConcurrencyRequest.h:130
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:59
Aws::Connect::ConnectRequest
Definition: ConnectRequest.h:17
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetRoutingProfileId
void SetRoutingProfileId(Aws::String &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:104
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithInstanceId
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(const Aws::String &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:71
AWSString.h
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithMediaConcurrencies
UpdateRoutingProfileConcurrencyRequest & WithMediaConcurrencies(Aws::Vector< MediaConcurrency > &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:155
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: UpdateRoutingProfileConcurrencyRequest.h:41
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: UpdateRoutingProfileConcurrencyRequest.h:47
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateRoutingProfileConcurrencyRequest.h:32
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest
Definition: UpdateRoutingProfileConcurrencyRequest.h:24
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::SetRoutingProfileId
void SetRoutingProfileId(const Aws::String &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::AddMediaConcurrencies
UpdateRoutingProfileConcurrencyRequest & AddMediaConcurrencies(const MediaConcurrency &value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:160
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::RoutingProfileIdHasBeenSet
bool RoutingProfileIdHasBeenSet() const
Definition: UpdateRoutingProfileConcurrencyRequest.h:94
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Connect_EXPORTS.h
ConnectRequest.h
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::UpdateRoutingProfileConcurrencyRequest
UpdateRoutingProfileConcurrencyRequest()
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::MediaConcurrenciesHasBeenSet
bool MediaConcurrenciesHasBeenSet() const
Definition: UpdateRoutingProfileConcurrencyRequest.h:135
Aws::Connect::Model::UpdateRoutingProfileConcurrencyRequest::WithInstanceId
UpdateRoutingProfileConcurrencyRequest & WithInstanceId(Aws::String &&value)
Definition: UpdateRoutingProfileConcurrencyRequest.h:77