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
UpdateParticipantRoleConfigRequest.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/connect/model/UpdateParticipantRoleConfigChannelInfo.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Connect
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CONNECT_API UpdateParticipantRoleConfigRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateParticipantRoleConfig"; }
32
33 AWS_CONNECT_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
43 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
44 template<typename InstanceIdT = Aws::String>
45 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
46 template<typename InstanceIdT = Aws::String>
47 UpdateParticipantRoleConfigRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetContactId() const { return m_contactId; }
55 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
56 template<typename ContactIdT = Aws::String>
57 void SetContactId(ContactIdT&& value) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
58 template<typename ContactIdT = Aws::String>
59 UpdateParticipantRoleConfigRequest& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
61
63
66 inline const UpdateParticipantRoleConfigChannelInfo& GetChannelConfiguration() const { return m_channelConfiguration; }
67 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
68 template<typename ChannelConfigurationT = UpdateParticipantRoleConfigChannelInfo>
69 void SetChannelConfiguration(ChannelConfigurationT&& value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration = std::forward<ChannelConfigurationT>(value); }
70 template<typename ChannelConfigurationT = UpdateParticipantRoleConfigChannelInfo>
71 UpdateParticipantRoleConfigRequest& WithChannelConfiguration(ChannelConfigurationT&& value) { SetChannelConfiguration(std::forward<ChannelConfigurationT>(value)); return *this;}
73 private:
74
75 Aws::String m_instanceId;
76 bool m_instanceIdHasBeenSet = false;
77
78 Aws::String m_contactId;
79 bool m_contactIdHasBeenSet = false;
80
81 UpdateParticipantRoleConfigChannelInfo m_channelConfiguration;
82 bool m_channelConfigurationHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Connect
87} // 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