AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
AttachmentInputEvent.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/AttachmentInput.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QBusiness {
20namespace Model {
21
29 public:
30 AWS_QBUSINESS_API AttachmentInputEvent() = default;
33 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
37 inline const AttachmentInput& GetAttachment() const { return m_attachment; }
38 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
39 template <typename AttachmentT = AttachmentInput>
40 void SetAttachment(AttachmentT&& value) {
41 m_attachmentHasBeenSet = true;
42 m_attachment = std::forward<AttachmentT>(value);
43 }
44 template <typename AttachmentT = AttachmentInput>
45 AttachmentInputEvent& WithAttachment(AttachmentT&& value) {
46 SetAttachment(std::forward<AttachmentT>(value));
47 return *this;
48 }
50 private:
51 AttachmentInput m_attachment;
52 bool m_attachmentHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace QBusiness
57} // namespace Aws
AWS_QBUSINESS_API AttachmentInputEvent(Aws::Utils::Json::JsonView jsonValue)
AttachmentInputEvent & WithAttachment(AttachmentT &&value)
AWS_QBUSINESS_API AttachmentInputEvent()=default
const AttachmentInput & GetAttachment() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QBUSINESS_API AttachmentInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue