AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
RelatedItemUpdateContent.h
1
6#pragma once
7#include <aws/connectcases/ConnectCases_EXPORTS.h>
8#include <aws/connectcases/model/CommentUpdateContent.h>
9#include <aws/connectcases/model/CustomUpdateContent.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ConnectCases {
21namespace Model {
22
31 public:
32 AWS_CONNECTCASES_API RelatedItemUpdateContent() = default;
35 AWS_CONNECTCASES_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
39 inline const CommentUpdateContent& GetComment() const { return m_comment; }
40 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
41 template <typename CommentT = CommentUpdateContent>
42 void SetComment(CommentT&& value) {
43 m_commentHasBeenSet = true;
44 m_comment = std::forward<CommentT>(value);
45 }
46 template <typename CommentT = CommentUpdateContent>
48 SetComment(std::forward<CommentT>(value));
49 return *this;
50 }
52
54
55 inline const CustomUpdateContent& GetCustom() const { return m_custom; }
56 inline bool CustomHasBeenSet() const { return m_customHasBeenSet; }
57 template <typename CustomT = CustomUpdateContent>
58 void SetCustom(CustomT&& value) {
59 m_customHasBeenSet = true;
60 m_custom = std::forward<CustomT>(value);
61 }
62 template <typename CustomT = CustomUpdateContent>
64 SetCustom(std::forward<CustomT>(value));
65 return *this;
66 }
68 private:
69 CommentUpdateContent m_comment;
70
71 CustomUpdateContent m_custom;
72 bool m_commentHasBeenSet = false;
73 bool m_customHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ConnectCases
78} // namespace Aws
Aws::Utils::Json::JsonValue JsonValue