AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopContactStreamingRequest.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 <utility>
11
12namespace Aws
13{
14namespace Connect
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CONNECT_API StopContactStreamingRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StopContactStreaming"; }
31
32 AWS_CONNECT_API Aws::String SerializePayload() const override;
33
34
36
41 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
42 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
43 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
44 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
45 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
46 inline StopContactStreamingRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
47 inline StopContactStreamingRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
48 inline StopContactStreamingRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
50
52
56 inline const Aws::String& GetContactId() const{ return m_contactId; }
57 inline bool ContactIdHasBeenSet() const { return m_contactIdHasBeenSet; }
58 inline void SetContactId(const Aws::String& value) { m_contactIdHasBeenSet = true; m_contactId = value; }
59 inline void SetContactId(Aws::String&& value) { m_contactIdHasBeenSet = true; m_contactId = std::move(value); }
60 inline void SetContactId(const char* value) { m_contactIdHasBeenSet = true; m_contactId.assign(value); }
61 inline StopContactStreamingRequest& WithContactId(const Aws::String& value) { SetContactId(value); return *this;}
62 inline StopContactStreamingRequest& WithContactId(Aws::String&& value) { SetContactId(std::move(value)); return *this;}
63 inline StopContactStreamingRequest& WithContactId(const char* value) { SetContactId(value); return *this;}
65
67
70 inline const Aws::String& GetStreamingId() const{ return m_streamingId; }
71 inline bool StreamingIdHasBeenSet() const { return m_streamingIdHasBeenSet; }
72 inline void SetStreamingId(const Aws::String& value) { m_streamingIdHasBeenSet = true; m_streamingId = value; }
73 inline void SetStreamingId(Aws::String&& value) { m_streamingIdHasBeenSet = true; m_streamingId = std::move(value); }
74 inline void SetStreamingId(const char* value) { m_streamingIdHasBeenSet = true; m_streamingId.assign(value); }
75 inline StopContactStreamingRequest& WithStreamingId(const Aws::String& value) { SetStreamingId(value); return *this;}
76 inline StopContactStreamingRequest& WithStreamingId(Aws::String&& value) { SetStreamingId(std::move(value)); return *this;}
77 inline StopContactStreamingRequest& WithStreamingId(const char* value) { SetStreamingId(value); return *this;}
79 private:
80
81 Aws::String m_instanceId;
82 bool m_instanceIdHasBeenSet = false;
83
84 Aws::String m_contactId;
85 bool m_contactIdHasBeenSet = false;
86
87 Aws::String m_streamingId;
88 bool m_streamingIdHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace Connect
93} // namespace Aws
virtual const char * GetServiceRequestName() const override
StopContactStreamingRequest & WithContactId(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
StopContactStreamingRequest & WithStreamingId(const Aws::String &value)
StopContactStreamingRequest & WithInstanceId(const Aws::String &value)
StopContactStreamingRequest & WithStreamingId(const char *value)
StopContactStreamingRequest & WithInstanceId(Aws::String &&value)
StopContactStreamingRequest & WithInstanceId(const char *value)
StopContactStreamingRequest & WithContactId(Aws::String &&value)
StopContactStreamingRequest & WithStreamingId(Aws::String &&value)
StopContactStreamingRequest & WithContactId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String