AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
34
35
37
42 inline const ParticipantTokenCredentials& GetParticipantCredentials() const { return m_participantCredentials; }
43 template<typename ParticipantCredentialsT = ParticipantTokenCredentials>
44 void SetParticipantCredentials(ParticipantCredentialsT&& value) { m_participantCredentialsHasBeenSet = true; m_participantCredentials = std::forward<ParticipantCredentialsT>(value); }
45 template<typename ParticipantCredentialsT = ParticipantTokenCredentials>
46 CreateParticipantResult& WithParticipantCredentials(ParticipantCredentialsT&& value) { SetParticipantCredentials(std::forward<ParticipantCredentialsT>(value)); return *this;}
48
50
54 inline const Aws::String& GetParticipantId() const { return m_participantId; }
55 template<typename ParticipantIdT = Aws::String>
56 void SetParticipantId(ParticipantIdT&& value) { m_participantIdHasBeenSet = true; m_participantId = std::forward<ParticipantIdT>(value); }
57 template<typename ParticipantIdT = Aws::String>
58 CreateParticipantResult& WithParticipantId(ParticipantIdT&& value) { SetParticipantId(std::forward<ParticipantIdT>(value)); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template<typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
66 template<typename RequestIdT = Aws::String>
67 CreateParticipantResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
69 private:
70
71 ParticipantTokenCredentials m_participantCredentials;
72 bool m_participantCredentialsHasBeenSet = false;
73
74 Aws::String m_participantId;
75 bool m_participantIdHasBeenSet = false;
76
77 Aws::String m_requestId;
78 bool m_requestIdHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Connect
83} // namespace Aws
CreateParticipantResult & WithRequestId(RequestIdT &&value)
CreateParticipantResult & WithParticipantCredentials(ParticipantCredentialsT &&value)
const ParticipantTokenCredentials & GetParticipantCredentials() const
AWS_CONNECT_API CreateParticipantResult()=default
AWS_CONNECT_API CreateParticipantResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateParticipantResult & WithParticipantId(ParticipantIdT &&value)
AWS_CONNECT_API CreateParticipantResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetParticipantCredentials(ParticipantCredentialsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue