AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
45 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
46 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
47 inline UpdateParticipantRoleConfigRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
48 inline UpdateParticipantRoleConfigRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
49 inline UpdateParticipantRoleConfigRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
51
53
56 inline const Aws::String& GetContactId() const{ return m_contactId; }
57 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
58 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
59 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
60 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
61 inline UpdateParticipantRoleConfigRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
62 inline UpdateParticipantRoleConfigRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
63 inline UpdateParticipantRoleConfigRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
65
67
70 inline const UpdateParticipantRoleConfigChannelInfo& GetChannelConfiguration() const{ return m_channelConfiguration; }
71 inline bool ChannelConfigurationHasBeenSet() const { return m_channelConfigurationHasBeenSet; }
72 inline void SetChannelConfiguration(const UpdateParticipantRoleConfigChannelInfo& value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration = value; }
73 inline void SetChannelConfiguration(UpdateParticipantRoleConfigChannelInfo&& value) { m_channelConfigurationHasBeenSet = true; m_channelConfiguration = std::move(value); }
77 private:
78
79 Aws::String m_instanceId;
80 bool m_instanceIdHasBeenSet = false;
81
82 Aws::String m_contactId;
83 bool m_contactIdHasBeenSet = false;
84
85 UpdateParticipantRoleConfigChannelInfo m_channelConfiguration;
86 bool m_channelConfigurationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Connect
91} // namespace Aws
void SetChannelConfiguration(UpdateParticipantRoleConfigChannelInfo &&value)
const UpdateParticipantRoleConfigChannelInfo & GetChannelConfiguration() const
UpdateParticipantRoleConfigRequest & WithInstanceId(Aws::String &&value)
void SetChannelConfiguration(const UpdateParticipantRoleConfigChannelInfo &value)
UpdateParticipantRoleConfigRequest & WithChannelConfiguration(UpdateParticipantRoleConfigChannelInfo &&value)
UpdateParticipantRoleConfigRequest & WithContactId(Aws::String &&value)
UpdateParticipantRoleConfigRequest & WithInstanceId(const char *value)
AWS_CONNECT_API Aws::String SerializePayload() const override
UpdateParticipantRoleConfigRequest & WithContactId(const Aws::String &value)
UpdateParticipantRoleConfigRequest & WithInstanceId(const Aws::String &value)
UpdateParticipantRoleConfigRequest & WithChannelConfiguration(const UpdateParticipantRoleConfigChannelInfo &value)
UpdateParticipantRoleConfigRequest & WithContactId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String