AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartContactStreamingRequest.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/ChatStreamingConfiguration.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:
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 "StartContactStreaming"; }
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 StartContactStreamingRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
49 inline StartContactStreamingRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
50 inline StartContactStreamingRequest& 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 StartContactStreamingRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
64 inline StartContactStreamingRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
65 inline StartContactStreamingRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
67
69
72 inline const ChatStreamingConfiguration& GetChatStreamingConfiguration() const{ return m_chatStreamingConfiguration; }
73 inline bool ChatStreamingConfigurationHasBeenSet() const { return m_chatStreamingConfigurationHasBeenSet; }
74 inline void SetChatStreamingConfiguration(const ChatStreamingConfiguration& value) { m_chatStreamingConfigurationHasBeenSet = true; m_chatStreamingConfiguration = value; }
75 inline void SetChatStreamingConfiguration(ChatStreamingConfiguration&& value) { m_chatStreamingConfigurationHasBeenSet = true; m_chatStreamingConfiguration = std::move(value); }
79
81
88 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
89 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
90 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
91 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
92 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
93 inline StartContactStreamingRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
94 inline StartContactStreamingRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
95 inline StartContactStreamingRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
97 private:
98
99 Aws::String m_instanceId;
100 bool m_instanceIdHasBeenSet = false;
101
102 Aws::String m_contactId;
103 bool m_contactIdHasBeenSet = false;
104
105 ChatStreamingConfiguration m_chatStreamingConfiguration;
106 bool m_chatStreamingConfigurationHasBeenSet = false;
107
108 Aws::String m_clientToken;
109 bool m_clientTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Connect
114} // namespace Aws
StartContactStreamingRequest & WithInstanceId(const char *value)
StartContactStreamingRequest & WithClientToken(const Aws::String &value)
StartContactStreamingRequest & WithInstanceId(const Aws::String &value)
StartContactStreamingRequest & WithClientToken(Aws::String &&value)
StartContactStreamingRequest & WithContactId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
StartContactStreamingRequest & WithChatStreamingConfiguration(ChatStreamingConfiguration &&value)
StartContactStreamingRequest & WithChatStreamingConfiguration(const ChatStreamingConfiguration &value)
StartContactStreamingRequest & WithContactId(const char *value)
void SetChatStreamingConfiguration(ChatStreamingConfiguration &&value)
StartContactStreamingRequest & WithContactId(Aws::String &&value)
void SetChatStreamingConfiguration(const ChatStreamingConfiguration &value)
const ChatStreamingConfiguration & GetChatStreamingConfiguration() const
AWS_CONNECT_API Aws::String SerializePayload() const override
StartContactStreamingRequest & WithClientToken(const char *value)
StartContactStreamingRequest & WithInstanceId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String