AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteAttachmentRequest.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace QBusiness
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_QBUSINESS_API DeleteAttachmentRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteAttachment"; }
35
36 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
37
38 AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
46 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
47 template<typename ApplicationIdT = Aws::String>
48 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
49 template<typename ApplicationIdT = Aws::String>
50 DeleteAttachmentRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetConversationId() const { return m_conversationId; }
58 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
59 template<typename ConversationIdT = Aws::String>
60 void SetConversationId(ConversationIdT&& value) { m_conversationIdHasBeenSet = true; m_conversationId = std::forward<ConversationIdT>(value); }
61 template<typename ConversationIdT = Aws::String>
62 DeleteAttachmentRequest& WithConversationId(ConversationIdT&& value) { SetConversationId(std::forward<ConversationIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
70 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
71 template<typename AttachmentIdT = Aws::String>
72 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet = true; m_attachmentId = std::forward<AttachmentIdT>(value); }
73 template<typename AttachmentIdT = Aws::String>
74 DeleteAttachmentRequest& WithAttachmentId(AttachmentIdT&& value) { SetAttachmentId(std::forward<AttachmentIdT>(value)); return *this;}
76
78
81 inline const Aws::String& GetUserId() const { return m_userId; }
82 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
83 template<typename UserIdT = Aws::String>
84 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
85 template<typename UserIdT = Aws::String>
86 DeleteAttachmentRequest& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
88 private:
89
90 Aws::String m_applicationId;
91 bool m_applicationIdHasBeenSet = false;
92
93 Aws::String m_conversationId;
94 bool m_conversationIdHasBeenSet = false;
95
96 Aws::String m_attachmentId;
97 bool m_attachmentIdHasBeenSet = false;
98
99 Aws::String m_userId;
100 bool m_userIdHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QBusiness
105} // namespace Aws
AWS_QBUSINESS_API Aws::String SerializePayload() const override
DeleteAttachmentRequest & WithUserId(UserIdT &&value)
DeleteAttachmentRequest & WithAttachmentId(AttachmentIdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteAttachmentRequest & WithConversationId(ConversationIdT &&value)
AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAttachmentRequest & WithApplicationId(ApplicationIdT &&value)
AWS_QBUSINESS_API DeleteAttachmentRequest()=default
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String