AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteMessageRequest.h
1
6#pragma once
7#include <aws/ivschat/Ivschat_EXPORTS.h>
8#include <aws/ivschat/IvschatRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ivschat
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_IVSCHAT_API DeleteMessageRequest();
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 "DeleteMessage"; }
31
32 AWS_IVSCHAT_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetRoomIdentifier() const{ return m_roomIdentifier; }
41 inline bool RoomIdentifierHasBeenSet() const { return m_roomIdentifierHasBeenSet; }
42 inline void SetRoomIdentifier(const Aws::String& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = value; }
43 inline void SetRoomIdentifier(Aws::String&& value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier = std::move(value); }
44 inline void SetRoomIdentifier(const char* value) { m_roomIdentifierHasBeenSet = true; m_roomIdentifier.assign(value); }
45 inline DeleteMessageRequest& WithRoomIdentifier(const Aws::String& value) { SetRoomIdentifier(value); return *this;}
46 inline DeleteMessageRequest& WithRoomIdentifier(Aws::String&& value) { SetRoomIdentifier(std::move(value)); return *this;}
47 inline DeleteMessageRequest& WithRoomIdentifier(const char* value) { SetRoomIdentifier(value); return *this;}
49
51
57 inline const Aws::String& GetId() const{ return m_id; }
58 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
59 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
60 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
61 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
62 inline DeleteMessageRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
63 inline DeleteMessageRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
64 inline DeleteMessageRequest& WithId(const char* value) { SetId(value); return *this;}
66
68
71 inline const Aws::String& GetReason() const{ return m_reason; }
72 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
73 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
74 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
75 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
76 inline DeleteMessageRequest& WithReason(const Aws::String& value) { SetReason(value); return *this;}
77 inline DeleteMessageRequest& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
78 inline DeleteMessageRequest& WithReason(const char* value) { SetReason(value); return *this;}
80 private:
81
82 Aws::String m_roomIdentifier;
83 bool m_roomIdentifierHasBeenSet = false;
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 Aws::String m_reason;
89 bool m_reasonHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace ivschat
94} // namespace Aws
DeleteMessageRequest & WithId(const Aws::String &value)
DeleteMessageRequest & WithReason(const char *value)
void SetRoomIdentifier(const Aws::String &value)
DeleteMessageRequest & WithReason(const Aws::String &value)
DeleteMessageRequest & WithId(Aws::String &&value)
DeleteMessageRequest & WithId(const char *value)
DeleteMessageRequest & WithRoomIdentifier(const char *value)
DeleteMessageRequest & WithReason(Aws::String &&value)
DeleteMessageRequest & WithRoomIdentifier(Aws::String &&value)
AWS_IVSCHAT_API Aws::String SerializePayload() const override
DeleteMessageRequest & WithRoomIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String