AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateParticipantRoleConfigRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/connect/model/UpdateParticipantRoleConfigChannelInfo.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Connect {
16namespace Model {
17
21 public:
22 AWS_CONNECT_API UpdateParticipantRoleConfigRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateParticipantRoleConfig"; }
29
30 AWS_CONNECT_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
39 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
40 template <typename InstanceIdT = Aws::String>
41 void SetInstanceId(InstanceIdT&& value) {
42 m_instanceIdHasBeenSet = true;
43 m_instanceId = std::forward<InstanceIdT>(value);
44 }
45 template <typename InstanceIdT = Aws::String>
47 SetInstanceId(std::forward<InstanceIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetContactId() const { return m_contactId; }
57 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
58 template <typename ContactIdT = Aws::String>
59 void SetContactId(ContactIdT&& value) {
60 m_contactIdHasBeenSet = true;
61 m_contactId = std::forward<ContactIdT>(value);
62 }
63 template <typename ContactIdT = Aws::String>
65 SetContactId(std::forward<ContactIdT>(value));
66 return *this;
67 }
69
71
74 inline const UpdateParticipantRoleConfigChannelInfo& GetChannelConfiguration() const { return m_channelConfiguration; }
75 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
76 template <typename ChannelConfigurationT = UpdateParticipantRoleConfigChannelInfo>
77 void SetChannelConfiguration(ChannelConfigurationT&& value) {
78 m_channelConfigurationHasBeenSet = true;
79 m_channelConfiguration = std::forward<ChannelConfigurationT>(value);
80 }
81 template <typename ChannelConfigurationT = UpdateParticipantRoleConfigChannelInfo>
83 SetChannelConfiguration(std::forward<ChannelConfigurationT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_instanceId;
89
90 Aws::String m_contactId;
91
92 UpdateParticipantRoleConfigChannelInfo m_channelConfiguration;
93 bool m_instanceIdHasBeenSet = false;
94 bool m_contactIdHasBeenSet = false;
95 bool m_channelConfigurationHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
const UpdateParticipantRoleConfigChannelInfo & GetChannelConfiguration() const
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateParticipantRoleConfigRequest & WithInstanceId(InstanceIdT &&value)
UpdateParticipantRoleConfigRequest & WithChannelConfiguration(ChannelConfigurationT &&value)
UpdateParticipantRoleConfigRequest & WithContactId(ContactIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String