AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QBUSINESS_API AttachmentInputEvent();
38 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
43 inline const AttachmentInput& GetAttachment() const{ return m_attachment; }
44 inline bool AttachmentHasBeenSet() const { return m_attachmentHasBeenSet; }
45 inline void SetAttachment(const AttachmentInput& value) { m_attachmentHasBeenSet = true; m_attachment = value; }
46 inline void SetAttachment(AttachmentInput&& value) { m_attachmentHasBeenSet = true; m_attachment = std::move(value); }
47 inline AttachmentInputEvent& WithAttachment(const AttachmentInput& value) { SetAttachment(value); return *this;}
48 inline AttachmentInputEvent& WithAttachment(AttachmentInput&& value) { SetAttachment(std::move(value)); return *this;}
50 private:
51
52 AttachmentInput m_attachment;
53 bool m_attachmentHasBeenSet = false;
54 };
55
56} // namespace Model
57} // namespace QBusiness
58} // namespace Aws
AWS_QBUSINESS_API AttachmentInputEvent(Aws::Utils::Json::JsonView jsonValue)
void SetAttachment(const AttachmentInput &value)
AttachmentInputEvent & WithAttachment(const AttachmentInput &value)
const AttachmentInput & GetAttachment() const
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
AttachmentInputEvent & WithAttachment(AttachmentInput &&value)
AWS_QBUSINESS_API AttachmentInputEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue