7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/support/Support_EXPORTS.h>
10#include <aws/support/model/AttachmentDetails.h>
47 template <
typename CaseIdT = Aws::String>
49 m_caseIdHasBeenSet =
true;
50 m_caseId = std::forward<CaseIdT>(value);
52 template <
typename CaseIdT = Aws::String>
66 template <
typename BodyT = Aws::String>
68 m_bodyHasBeenSet =
true;
69 m_body = std::forward<BodyT>(value);
71 template <
typename BodyT = Aws::String>
73 SetBody(std::forward<BodyT>(value));
88 template <
typename SubmittedByT = Aws::String>
90 m_submittedByHasBeenSet =
true;
91 m_submittedBy = std::forward<SubmittedByT>(value);
93 template <
typename SubmittedByT = Aws::String>
106 template <
typename TimeCreatedT = Aws::String>
108 m_timeCreatedHasBeenSet =
true;
109 m_timeCreated = std::forward<TimeCreatedT>(value);
111 template <
typename TimeCreatedT = Aws::String>
130 template <
typename AttachmentsT = Aws::Vector<AttachmentDetails>>
132 m_attachmentsHasBeenSet =
true;
133 m_attachments = std::forward<AttachmentsT>(value);
135 template <
typename AttachmentsT = Aws::Vector<AttachmentDetails>>
140 template <
typename AttachmentsT = AttachmentDetails>
142 m_attachmentsHasBeenSet =
true;
143 m_attachments.emplace_back(std::forward<AttachmentsT>(value));
157 template <
typename AttachmentSetT = Aws::Vector<AttachmentDetails>>
159 m_attachmentSetHasBeenSet =
true;
160 m_attachmentSet = std::forward<AttachmentSetT>(value);
162 template <
typename AttachmentSetT = Aws::Vector<AttachmentDetails>>
167 template <
typename AttachmentSetT = AttachmentDetails>
169 m_attachmentSetHasBeenSet =
true;
170 m_attachmentSet.emplace_back(std::forward<AttachmentSetT>(value));
186 bool m_caseIdHasBeenSet =
false;
187 bool m_bodyHasBeenSet =
false;
188 bool m_submittedByHasBeenSet =
false;
189 bool m_timeCreatedHasBeenSet =
false;
190 bool m_attachmentsHasBeenSet =
false;
191 bool m_attachmentSetHasBeenSet =
false;
const Aws::Vector< AttachmentDetails > & GetAttachments() const
bool AttachmentSetHasBeenSet() const
Communication & WithCaseId(CaseIdT &&value)
void SetBody(BodyT &&value)
bool AttachmentsHasBeenSet() const
const Aws::String & GetBody() const
bool TimeCreatedHasBeenSet() const
const Aws::String & GetSubmittedBy() const
bool BodyHasBeenSet() const
void SetTimeCreated(TimeCreatedT &&value)
bool CaseIdHasBeenSet() const
void SetCaseId(CaseIdT &&value)
Communication & AddAttachments(AttachmentsT &&value)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
Communication & WithSubmittedBy(SubmittedByT &&value)
Communication & WithTimeCreated(TimeCreatedT &&value)
Communication & WithAttachments(AttachmentsT &&value)
AWS_SUPPORT_API Communication()=default
Communication & AddAttachmentSet(AttachmentSetT &&value)
void SetSubmittedBy(SubmittedByT &&value)
Communication & WithAttachmentSet(AttachmentSetT &&value)
void SetAttachments(AttachmentsT &&value)
Communication & WithBody(BodyT &&value)
AWS_SUPPORT_API Communication(Aws::Utils::Json::JsonView jsonValue)
AWS_SUPPORT_API Communication & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTimeCreated() const
void SetAttachmentSet(AttachmentSetT &&value)
const Aws::Vector< AttachmentDetails > & GetAttachmentSet() const
bool SubmittedByHasBeenSet() const
const Aws::String & GetCaseId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue