7#include <aws/support/Support_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/support/model/AttachmentDetails.h>
53 template<
typename CaseIdT = Aws::String>
54 void SetCaseId(CaseIdT&& value) { m_caseIdHasBeenSet =
true; m_caseId = std::forward<CaseIdT>(value); }
55 template<
typename CaseIdT = Aws::String>
66 template<
typename BodyT = Aws::String>
67 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
68 template<
typename BodyT = Aws::String>
82 template<
typename SubmittedByT = Aws::String>
83 void SetSubmittedBy(SubmittedByT&& value) { m_submittedByHasBeenSet =
true; m_submittedBy = std::forward<SubmittedByT>(value); }
84 template<
typename SubmittedByT = Aws::String>
94 template<
typename TimeCreatedT = Aws::String>
95 void SetTimeCreated(TimeCreatedT&& value) { m_timeCreatedHasBeenSet =
true; m_timeCreated = std::forward<TimeCreatedT>(value); }
96 template<
typename TimeCreatedT = Aws::String>
106 template<
typename AttachmentSetT = Aws::Vector<AttachmentDetails>>
107 void SetAttachmentSet(AttachmentSetT&& value) { m_attachmentSetHasBeenSet =
true; m_attachmentSet = std::forward<AttachmentSetT>(value); }
108 template<
typename AttachmentSetT = Aws::Vector<AttachmentDetails>>
110 template<
typename AttachmentSetT = AttachmentDetails>
111 Communication&
AddAttachmentSet(AttachmentSetT&& value) { m_attachmentSetHasBeenSet =
true; m_attachmentSet.emplace_back(std::forward<AttachmentSetT>(value));
return *
this; }
116 bool m_caseIdHasBeenSet =
false;
119 bool m_bodyHasBeenSet =
false;
122 bool m_submittedByHasBeenSet =
false;
125 bool m_timeCreatedHasBeenSet =
false;
128 bool m_attachmentSetHasBeenSet =
false;
bool AttachmentSetHasBeenSet() const
Communication & WithCaseId(CaseIdT &&value)
void SetBody(BodyT &&value)
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)
AWS_SUPPORT_API Aws::Utils::Json::JsonValue Jsonize() const
Communication & WithSubmittedBy(SubmittedByT &&value)
Communication & WithTimeCreated(TimeCreatedT &&value)
AWS_SUPPORT_API Communication()=default
Communication & AddAttachmentSet(AttachmentSetT &&value)
void SetSubmittedBy(SubmittedByT &&value)
Communication & WithAttachmentSet(AttachmentSetT &&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