7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/qconnect/model/ContentDisposition.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
60 template<
typename NameT = Aws::String>
61 void SetName(
NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
62 template<
typename NameT = Aws::String>
72 template<
typename UploadedTimeT = Aws::Utils::DateTime>
74 template<
typename UploadedTimeT = Aws::Utils::DateTime>
85 template<
typename UrlT = Aws::String>
86 void SetUrl(
UrlT&& value) { m_urlHasBeenSet =
true; m_url = std::forward<UrlT>(value); }
87 template<
typename UrlT = Aws::String>
97 template<
typename UrlExpiryT = Aws::Utils::DateTime>
98 void SetUrlExpiry(
UrlExpiryT&& value) { m_urlExpiryHasBeenSet =
true; m_urlExpiry = std::forward<UrlExpiryT>(value); }
99 template<
typename UrlExpiryT = Aws::Utils::DateTime>
109 template<
typename AttachmentIdT = Aws::String>
111 template<
typename AttachmentIdT = Aws::String>
117 bool m_contentDispositionHasBeenSet =
false;
120 bool m_nameHasBeenSet =
false;
123 bool m_uploadedTimeHasBeenSet =
false;
126 bool m_urlHasBeenSet =
false;
129 bool m_urlExpiryHasBeenSet =
false;
132 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