AWS SDK for C++

AWS SDK for C++ Version 1.11.553

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
CreateParticipantRequest.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/ParticipantDetailsToAdd.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Connect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CONNECT_API CreateParticipantRequest() = default;
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 "CreateParticipant"; }
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 template<typename InstanceIdT = Aws::String>
46 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::forward<InstanceIdT>(value); }
47 template<typename InstanceIdT = Aws::String>
48 CreateParticipantRequest& WithInstanceId(InstanceIdT&& value) { SetInstanceId(std::forward<InstanceIdT>(value)); return *this;}
50
52
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) { m_contactIdHasBeenSet = true; m_contactId = std::forward<ContactIdT>(value); }
60 template<typename ContactIdT = Aws::String>
61 CreateParticipantRequest& WithContactId(ContactIdT&& value) { SetContactId(std::forward<ContactIdT>(value)); return *this;}
63
65
72 inline const Aws::String& GetClientToken() const { return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 template<typename ClientTokenT = Aws::String>
75 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
76 template<typename ClientTokenT = Aws::String>
77 CreateParticipantRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
79
81
86 inline const ParticipantDetailsToAdd& GetParticipantDetails() const { return m_participantDetails; }
87 inline bool ParticipantDetailsHasBeenSet() const { return m_participantDetailsHasBeenSet; }
88 template<typename ParticipantDetailsT = ParticipantDetailsToAdd>
89 void SetParticipantDetails(ParticipantDetailsT&& value) { m_participantDetailsHasBeenSet = true; m_participantDetails = std::forward<ParticipantDetailsT>(value); }
90 template<typename ParticipantDetailsT = ParticipantDetailsToAdd>
91 CreateParticipantRequest& WithParticipantDetails(ParticipantDetailsT&& value) { SetParticipantDetails(std::forward<ParticipantDetailsT>(value)); return *this;}
93 private:
94
95 Aws::String m_instanceId;
96 bool m_instanceIdHasBeenSet = false;
97
98 Aws::String m_contactId;
99 bool m_contactIdHasBeenSet = false;
100
101 Aws::String m_clientToken;
102 bool m_clientTokenHasBeenSet = false;
103
104 ParticipantDetailsToAdd m_participantDetails;
105 bool m_participantDetailsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace Connect
110} // namespace Aws
AWS_CONNECT_API CreateParticipantRequest()=default
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateParticipantRequest & WithClientToken(ClientTokenT &&value)
CreateParticipantRequest & WithContactId(ContactIdT &&value)
virtual const char * GetServiceRequestName() const override
CreateParticipantRequest & WithInstanceId(InstanceIdT &&value)
const ParticipantDetailsToAdd & GetParticipantDetails() const
CreateParticipantRequest & WithParticipantDetails(ParticipantDetailsT &&value)
void SetParticipantDetails(ParticipantDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String