AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelatedItemContent.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/CommentContent.h>
9#include <aws/connectcases/model/ContactContent.h>
10#include <aws/connectcases/model/FileContent.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ConnectCases
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CONNECTCASES_API RelatedItemContent();
38 AWS_CONNECTCASES_API RelatedItemContent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const CommentContent& GetComment() const{ return m_comment; }
48 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
49 inline void SetComment(const CommentContent& value) { m_commentHasBeenSet = true; m_comment = value; }
50 inline void SetComment(CommentContent&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
51 inline RelatedItemContent& WithComment(const CommentContent& value) { SetComment(value); return *this;}
52 inline RelatedItemContent& WithComment(CommentContent&& value) { SetComment(std::move(value)); return *this;}
54
56
59 inline const ContactContent& GetContact() const{ return m_contact; }
60 inline bool ContactHasBeenSet() const { return m_contactHasBeenSet; }
61 inline void SetContact(const ContactContent& value) { m_contactHasBeenSet = true; m_contact = value; }
62 inline void SetContact(ContactContent&& value) { m_contactHasBeenSet = true; m_contact = std::move(value); }
63 inline RelatedItemContent& WithContact(const ContactContent& value) { SetContact(value); return *this;}
64 inline RelatedItemContent& WithContact(ContactContent&& value) { SetContact(std::move(value)); return *this;}
66
68
71 inline const FileContent& GetFile() const{ return m_file; }
72 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
73 inline void SetFile(const FileContent& value) { m_fileHasBeenSet = true; m_file = value; }
74 inline void SetFile(FileContent&& value) { m_fileHasBeenSet = true; m_file = std::move(value); }
75 inline RelatedItemContent& WithFile(const FileContent& value) { SetFile(value); return *this;}
76 inline RelatedItemContent& WithFile(FileContent&& value) { SetFile(std::move(value)); return *this;}
78 private:
79
80 CommentContent m_comment;
81 bool m_commentHasBeenSet = false;
82
83 ContactContent m_contact;
84 bool m_contactHasBeenSet = false;
85
86 FileContent m_file;
87 bool m_fileHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace ConnectCases
92} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue