AWS SDK for C++

AWS SDK for C++ Version 1.11.683

Loading...
Searching...
No Matches
DeleteAttachmentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/qbusiness/QBusinessRequest.h>
9#include <aws/qbusiness/QBusiness_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace QBusiness {
18namespace Model {
19
23 public:
24 AWS_QBUSINESS_API DeleteAttachmentRequest() = default;
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 "DeleteAttachment"; }
31
32 AWS_QBUSINESS_API Aws::String SerializePayload() const override;
33
34 AWS_QBUSINESS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
41 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
42 template <typename ApplicationIdT = Aws::String>
44 m_applicationIdHasBeenSet = true;
45 m_applicationId = std::forward<ApplicationIdT>(value);
46 }
47 template <typename ApplicationIdT = Aws::String>
49 SetApplicationId(std::forward<ApplicationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetConversationId() const { return m_conversationId; }
59 inline bool ConversationIdHasBeenSet() const { return m_conversationIdHasBeenSet; }
60 template <typename ConversationIdT = Aws::String>
62 m_conversationIdHasBeenSet = true;
63 m_conversationId = std::forward<ConversationIdT>(value);
64 }
65 template <typename ConversationIdT = Aws::String>
67 SetConversationId(std::forward<ConversationIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetAttachmentId() const { return m_attachmentId; }
77 inline bool AttachmentIdHasBeenSet() const { return m_attachmentIdHasBeenSet; }
78 template <typename AttachmentIdT = Aws::String>
80 m_attachmentIdHasBeenSet = true;
81 m_attachmentId = std::forward<AttachmentIdT>(value);
82 }
83 template <typename AttachmentIdT = Aws::String>
85 SetAttachmentId(std::forward<AttachmentIdT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetUserId() const { return m_userId; }
95 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
96 template <typename UserIdT = Aws::String>
97 void SetUserId(UserIdT&& value) {
98 m_userIdHasBeenSet = true;
99 m_userId = std::forward<UserIdT>(value);
100 }
101 template <typename UserIdT = Aws::String>
103 SetUserId(std::forward<UserIdT>(value));
104 return *this;
105 }
107 private:
108 Aws::String m_applicationId;
109 bool m_applicationIdHasBeenSet = false;
110
111 Aws::String m_conversationId;
112 bool m_conversationIdHasBeenSet = false;
113
114 Aws::String m_attachmentId;
115 bool m_attachmentIdHasBeenSet = false;
116
117 Aws::String m_userId;
118 bool m_userIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace QBusiness
123} // 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