AWS SDK for C++  1.9.154
AWS SDK for C++
StartChatContactResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Connect
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetContactId() const{ return m_contactId; }
39 
43  inline void SetContactId(const Aws::String& value) { m_contactId = value; }
44 
48  inline void SetContactId(Aws::String&& value) { m_contactId = std::move(value); }
49 
53  inline void SetContactId(const char* value) { m_contactId.assign(value); }
54 
58  inline StartChatContactResult& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
59 
63  inline StartChatContactResult& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
64 
68  inline StartChatContactResult& WithContactId(const char* value) { SetContactId(value); return *this;}
69 
70 
75  inline const Aws::String& GetParticipantId() const{ return m_participantId; }
76 
81  inline void SetParticipantId(const Aws::String& value) { m_participantId = value; }
82 
87  inline void SetParticipantId(Aws::String&& value) { m_participantId = std::move(value); }
88 
93  inline void SetParticipantId(const char* value) { m_participantId.assign(value); }
94 
99  inline StartChatContactResult& WithParticipantId(const Aws::String& value) { SetParticipantId(value); return *this;}
100 
105  inline StartChatContactResult& WithParticipantId(Aws::String&& value) { SetParticipantId(std::move(value)); return *this;}
106 
111  inline StartChatContactResult& WithParticipantId(const char* value) { SetParticipantId(value); return *this;}
112 
113 
119  inline const Aws::String& GetParticipantToken() const{ return m_participantToken; }
120 
126  inline void SetParticipantToken(const Aws::String& value) { m_participantToken = value; }
127 
133  inline void SetParticipantToken(Aws::String&& value) { m_participantToken = std::move(value); }
134 
140  inline void SetParticipantToken(const char* value) { m_participantToken.assign(value); }
141 
147  inline StartChatContactResult& WithParticipantToken(const Aws::String& value) { SetParticipantToken(value); return *this;}
148 
154  inline StartChatContactResult& WithParticipantToken(Aws::String&& value) { SetParticipantToken(std::move(value)); return *this;}
155 
161  inline StartChatContactResult& WithParticipantToken(const char* value) { SetParticipantToken(value); return *this;}
162 
163  private:
164 
165  Aws::String m_contactId;
166 
167  Aws::String m_participantId;
168 
169  Aws::String m_participantToken;
170  };
171 
172 } // namespace Model
173 } // namespace Connect
174 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Connect::Model::StartChatContactResult::GetParticipantId
const Aws::String & GetParticipantId() const
Definition: StartChatContactResult.h:75
Aws::Connect::Model::StartChatContactResult::SetContactId
void SetContactId(const char *value)
Definition: StartChatContactResult.h:53
Aws::Connect::Model::StartChatContactResult::SetParticipantId
void SetParticipantId(const char *value)
Definition: StartChatContactResult.h:93
Aws::Connect::Model::StartChatContactResult::GetContactId
const Aws::String & GetContactId() const
Definition: StartChatContactResult.h:38
Aws::Connect::Model::StartChatContactResult::SetParticipantToken
void SetParticipantToken(const char *value)
Definition: StartChatContactResult.h:140
Aws::Connect::Model::StartChatContactResult::WithContactId
StartChatContactResult & WithContactId(const char *value)
Definition: StartChatContactResult.h:68
Aws::Connect::Model::StartChatContactResult::WithParticipantToken
StartChatContactResult & WithParticipantToken(const char *value)
Definition: StartChatContactResult.h:161
Aws::Connect::Model::StartChatContactResult::SetContactId
void SetContactId(const Aws::String &value)
Definition: StartChatContactResult.h:43
Aws::Connect::Model::StartChatContactResult::WithParticipantToken
StartChatContactResult & WithParticipantToken(Aws::String &&value)
Definition: StartChatContactResult.h:154
Aws::Connect::Model::StartChatContactResult::GetParticipantToken
const Aws::String & GetParticipantToken() const
Definition: StartChatContactResult.h:119
Aws::Connect::Model::StartChatContactResult::SetParticipantToken
void SetParticipantToken(Aws::String &&value)
Definition: StartChatContactResult.h:133
Aws::Connect::Model::StartChatContactResult::WithParticipantId
StartChatContactResult & WithParticipantId(Aws::String &&value)
Definition: StartChatContactResult.h:105
Aws::Connect::Model::StartChatContactResult::SetParticipantId
void SetParticipantId(const Aws::String &value)
Definition: StartChatContactResult.h:81
Aws::Connect::Model::StartChatContactResult::WithParticipantId
StartChatContactResult & WithParticipantId(const Aws::String &value)
Definition: StartChatContactResult.h:99
Aws::Connect::Model::StartChatContactResult::SetContactId
void SetContactId(Aws::String &&value)
Definition: StartChatContactResult.h:48
Aws::Connect::Model::StartChatContactResult::WithParticipantToken
StartChatContactResult & WithParticipantToken(const Aws::String &value)
Definition: StartChatContactResult.h:147
Aws::Connect::Model::StartChatContactResult::SetParticipantToken
void SetParticipantToken(const Aws::String &value)
Definition: StartChatContactResult.h:126
AWSString.h
Aws::Connect::Model::StartChatContactResult
Definition: StartChatContactResult.h:28
Aws::Connect::Model::StartChatContactResult::SetParticipantId
void SetParticipantId(Aws::String &&value)
Definition: StartChatContactResult.h:87
Aws::Connect::Model::StartChatContactResult::StartChatContactResult
StartChatContactResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Connect::Model::StartChatContactResult::WithParticipantId
StartChatContactResult & WithParticipantId(const char *value)
Definition: StartChatContactResult.h:111
Aws::Connect::Model::StartChatContactResult::WithContactId
StartChatContactResult & WithContactId(Aws::String &&value)
Definition: StartChatContactResult.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_CONNECT_API
#define AWS_CONNECT_API
Definition: Connect_EXPORTS.h:28
Aws::Connect::Model::StartChatContactResult::WithContactId
StartChatContactResult & WithContactId(const Aws::String &value)
Definition: StartChatContactResult.h:58
Aws::Connect::Model::StartChatContactResult::StartChatContactResult
StartChatContactResult()
Connect_EXPORTS.h
Aws::Connect::Model::StartChatContactResult::operator=
StartChatContactResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)