7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/qconnect/QConnect_EXPORTS.h>
10#include <aws/qconnect/model/ContentDisposition.h>
44 m_contentDispositionHasBeenSet =
true;
45 m_contentDisposition = value;
60 template <
typename NameT = Aws::String>
62 m_nameHasBeenSet =
true;
63 m_name = std::forward<NameT>(value);
65 template <
typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
78 template <
typename UploadedTimeT = Aws::Utils::DateTime>
80 m_uploadedTimeHasBeenSet =
true;
81 m_uploadedTime = std::forward<UploadedTimeT>(value);
83 template <
typename UploadedTimeT = Aws::Utils::DateTime>
97 template <
typename UrlT = Aws::String>
99 m_urlHasBeenSet =
true;
100 m_url = std::forward<UrlT>(value);
102 template <
typename UrlT = Aws::String>
104 SetUrl(std::forward<UrlT>(value));
115 template <
typename UrlExpiryT = Aws::Utils::DateTime>
117 m_urlExpiryHasBeenSet =
true;
118 m_urlExpiry = std::forward<UrlExpiryT>(value);
120 template <
typename UrlExpiryT = Aws::Utils::DateTime>
133 template <
typename AttachmentIdT = Aws::String>
135 m_attachmentIdHasBeenSet =
true;
136 m_attachmentId = std::forward<AttachmentIdT>(value);
138 template <
typename AttachmentIdT = Aws::String>
156 bool m_contentDispositionHasBeenSet =
false;
157 bool m_nameHasBeenSet =
false;
158 bool m_uploadedTimeHasBeenSet =
false;
159 bool m_urlHasBeenSet =
false;
160 bool m_urlExpiryHasBeenSet =
false;
161 bool m_attachmentIdHasBeenSet =
false;
bool NameHasBeenSet() const
AWS_QCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MessageTemplateAttachment & WithName(NameT &&value)
bool UrlHasBeenSet() const
AWS_QCONNECT_API MessageTemplateAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetUrlExpiry(UrlExpiryT &&value)
void SetUploadedTime(UploadedTimeT &&value)
MessageTemplateAttachment & WithUrlExpiry(UrlExpiryT &&value)
AWS_QCONNECT_API MessageTemplateAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUrlExpiry() const
MessageTemplateAttachment & WithContentDisposition(ContentDisposition value)
bool UrlExpiryHasBeenSet() const
void SetContentDisposition(ContentDisposition value)
AWS_QCONNECT_API MessageTemplateAttachment()=default
const Aws::String & GetUrl() const
MessageTemplateAttachment & WithUploadedTime(UploadedTimeT &&value)
MessageTemplateAttachment & WithAttachmentId(AttachmentIdT &&value)
MessageTemplateAttachment & WithUrl(UrlT &&value)
const Aws::Utils::DateTime & GetUploadedTime() const
const Aws::String & GetName() const
ContentDisposition GetContentDisposition() const
void SetAttachmentId(AttachmentIdT &&value)
bool ContentDispositionHasBeenSet() const
void SetUrl(UrlT &&value)
bool AttachmentIdHasBeenSet() const
const Aws::String & GetAttachmentId() const
bool UploadedTimeHasBeenSet() const
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue