AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 <aws/connectcases/model/SlaContent.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ConnectCases
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_CONNECTCASES_API RelatedItemContent() = default;
39 AWS_CONNECTCASES_API RelatedItemContent(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const CommentContent& GetComment() const { return m_comment; }
49 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
50 template<typename CommentT = CommentContent>
51 void SetComment(CommentT&& value) { m_commentHasBeenSet = true; m_comment = std::forward<CommentT>(value); }
52 template<typename CommentT = CommentContent>
53 RelatedItemContent& WithComment(CommentT&& value) { SetComment(std::forward<CommentT>(value)); return *this;}
55
57
60 inline const ContactContent& GetContact() const { return m_contact; }
61 inline bool ContactHasBeenSet() const { return m_contactHasBeenSet; }
62 template<typename ContactT = ContactContent>
63 void SetContact(ContactT&& value) { m_contactHasBeenSet = true; m_contact = std::forward<ContactT>(value); }
64 template<typename ContactT = ContactContent>
65 RelatedItemContent& WithContact(ContactT&& value) { SetContact(std::forward<ContactT>(value)); return *this;}
67
69
72 inline const FileContent& GetFile() const { return m_file; }
73 inline bool FileHasBeenSet() const { return m_fileHasBeenSet; }
74 template<typename FileT = FileContent>
75 void SetFile(FileT&& value) { m_fileHasBeenSet = true; m_file = std::forward<FileT>(value); }
76 template<typename FileT = FileContent>
77 RelatedItemContent& WithFile(FileT&& value) { SetFile(std::forward<FileT>(value)); return *this;}
79
81
84 inline const SlaContent& GetSla() const { return m_sla; }
85 inline bool SlaHasBeenSet() const { return m_slaHasBeenSet; }
86 template<typename SlaT = SlaContent>
87 void SetSla(SlaT&& value) { m_slaHasBeenSet = true; m_sla = std::forward<SlaT>(value); }
88 template<typename SlaT = SlaContent>
89 RelatedItemContent& WithSla(SlaT&& value) { SetSla(std::forward<SlaT>(value)); return *this;}
91 private:
92
93 CommentContent m_comment;
94 bool m_commentHasBeenSet = false;
95
96 ContactContent m_contact;
97 bool m_contactHasBeenSet = false;
98
99 FileContent m_file;
100 bool m_fileHasBeenSet = false;
101
102 SlaContent m_sla;
103 bool m_slaHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace ConnectCases
108} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue