AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
StopContactStreamingRequest.h
1
6#pragma once
7#include <aws/connect/ConnectRequest.h>
8#include <aws/connect/Connect_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Connect {
15namespace Model {
16
20 public:
21 AWS_CONNECT_API StopContactStreamingRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "StopContactStreaming"; }
28
29 AWS_CONNECT_API Aws::String SerializePayload() const override;
30
32
37 inline const Aws::String& GetInstanceId() const { return m_instanceId; }
38 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
39 template <typename InstanceIdT = Aws::String>
40 void SetInstanceId(InstanceIdT&& value) {
41 m_instanceIdHasBeenSet = true;
42 m_instanceId = std::forward<InstanceIdT>(value);
43 }
44 template <typename InstanceIdT = Aws::String>
46 SetInstanceId(std::forward<InstanceIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetContactId() const { return m_contactId; }
57 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
58 template <typename ContactIdT = Aws::String>
59 void SetContactId(ContactIdT&& value) {
60 m_contactIdHasBeenSet = true;
61 m_contactId = std::forward<ContactIdT>(value);
62 }
63 template <typename ContactIdT = Aws::String>
65 SetContactId(std::forward<ContactIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetStreamingId() const { return m_streamingId; }
75 inline bool StreamingIdHasBeenSet() const { return m_streamingIdHasBeenSet; }
76 template <typename StreamingIdT = Aws::String>
77 void SetStreamingId(StreamingIdT&& value) {
78 m_streamingIdHasBeenSet = true;
79 m_streamingId = std::forward<StreamingIdT>(value);
80 }
81 template <typename StreamingIdT = Aws::String>
83 SetStreamingId(std::forward<StreamingIdT>(value));
84 return *this;
85 }
87 private:
88 Aws::String m_instanceId;
89 bool m_instanceIdHasBeenSet = false;
90
91 Aws::String m_contactId;
92 bool m_contactIdHasBeenSet = false;
93
94 Aws::String m_streamingId;
95 bool m_streamingIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Connect
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_CONNECT_API Aws::String SerializePayload() const override
StopContactStreamingRequest & WithContactId(ContactIdT &&value)
StopContactStreamingRequest & WithInstanceId(InstanceIdT &&value)
StopContactStreamingRequest & WithStreamingId(StreamingIdT &&value)
AWS_CONNECT_API StopContactStreamingRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String