AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateParticipantResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/ParticipantTokenCredentials.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Connect
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CONNECT_API CreateParticipantResult();
34
35
37
42 inline const ParticipantTokenCredentials& GetParticipantCredentials() const{ return m_participantCredentials; }
43 inline void SetParticipantCredentials(const ParticipantTokenCredentials& value) { m_participantCredentials = value; }
44 inline void SetParticipantCredentials(ParticipantTokenCredentials&& value) { m_participantCredentials = std::move(value); }
48
50
54 inline const Aws::String& GetParticipantId() const{ return m_participantId; }
55 inline void SetParticipantId(const Aws::String& value) { m_participantId = value; }
56 inline void SetParticipantId(Aws::String&& value) { m_participantId = std::move(value); }
57 inline void SetParticipantId(const char* value) { m_participantId.assign(value); }
58 inline CreateParticipantResult& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
59 inline CreateParticipantResult& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
60 inline CreateParticipantResult& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline CreateParticipantResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline CreateParticipantResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline CreateParticipantResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 ParticipantTokenCredentials m_participantCredentials;
76
77 Aws::String m_participantId;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace Connect
84} // namespace Aws
CreateParticipantResult & WithParticipantCredentials(const ParticipantTokenCredentials &value)
const ParticipantTokenCredentials & GetParticipantCredentials() const
AWS_CONNECT_API CreateParticipantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateParticipantResult & WithParticipantCredentials(ParticipantTokenCredentials &&value)
CreateParticipantResult & WithRequestId(Aws::String &&value)
AWS_CONNECT_API CreateParticipantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateParticipantResult & WithParticipantId(Aws::String &&value)
CreateParticipantResult & WithRequestId(const char *value)
CreateParticipantResult & WithRequestId(const Aws::String &value)
void SetParticipantCredentials(const ParticipantTokenCredentials &value)
void SetParticipantCredentials(ParticipantTokenCredentials &&value)
CreateParticipantResult & WithParticipantId(const char *value)
CreateParticipantResult & WithParticipantId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue