AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
46 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
47 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
48 inline CreateParticipantRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline CreateParticipantRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline CreateParticipantRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
52
54
58 inline const Aws::String& GetContactId() const{ return m_contactId; }
59 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
60 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
61 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
62 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
63 inline CreateParticipantRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
64 inline CreateParticipantRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
65 inline CreateParticipantRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
67
69
76 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
77 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
78 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
79 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
80 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
81 inline CreateParticipantRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
82 inline CreateParticipantRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
83 inline CreateParticipantRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
85
87
92 inline const ParticipantDetailsToAdd& GetParticipantDetails() const{ return m_participantDetails; }
93 inline bool ParticipantDetailsHasBeenSet() const { return m_participantDetailsHasBeenSet; }
94 inline void SetParticipantDetails(const ParticipantDetailsToAdd& value) { m_participantDetailsHasBeenSet = true; m_participantDetails = value; }
95 inline void SetParticipantDetails(ParticipantDetailsToAdd&& value) { m_participantDetailsHasBeenSet = true; m_participantDetails = std::move(value); }
99 private:
100
101 Aws::String m_instanceId;
102 bool m_instanceIdHasBeenSet = false;
103
104 Aws::String m_contactId;
105 bool m_contactIdHasBeenSet = false;
106
107 Aws::String m_clientToken;
108 bool m_clientTokenHasBeenSet = false;
109
110 ParticipantDetailsToAdd m_participantDetails;
111 bool m_participantDetailsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Connect
116} // namespace Aws
CreateParticipantRequest & WithClientToken(const Aws::String &value)
CreateParticipantRequest & WithInstanceId(Aws::String &&value)
CreateParticipantRequest & WithParticipantDetails(ParticipantDetailsToAdd &&value)
CreateParticipantRequest & WithClientToken(Aws::String &&value)
AWS_CONNECT_API Aws::String SerializePayload() const override
CreateParticipantRequest & WithContactId(Aws::String &&value)
CreateParticipantRequest & WithInstanceId(const char *value)
void SetParticipantDetails(ParticipantDetailsToAdd &&value)
virtual const char * GetServiceRequestName() const override
CreateParticipantRequest & WithInstanceId(const Aws::String &value)
CreateParticipantRequest & WithParticipantDetails(const ParticipantDetailsToAdd &value)
CreateParticipantRequest & WithClientToken(const char *value)
void SetParticipantDetails(const ParticipantDetailsToAdd &value)
CreateParticipantRequest & WithContactId(const Aws::String &value)
CreateParticipantRequest & WithContactId(const char *value)
const ParticipantDetailsToAdd & GetParticipantDetails() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String