7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connectparticipant/model/ArtifactStatus.h>
22namespace ConnectParticipant
51 template<
typename ContentTypeT = Aws::String>
52 void SetContentType(ContentTypeT&& value) { m_contentTypeHasBeenSet =
true; m_contentType = std::forward<ContentTypeT>(value); }
53 template<
typename ContentTypeT = Aws::String>
63 template<
typename AttachmentIdT = Aws::String>
64 void SetAttachmentId(AttachmentIdT&& value) { m_attachmentIdHasBeenSet =
true; m_attachmentId = std::forward<AttachmentIdT>(value); }
65 template<
typename AttachmentIdT = Aws::String>
75 template<
typename AttachmentNameT = Aws::String>
76 void SetAttachmentName(AttachmentNameT&& value) { m_attachmentNameHasBeenSet =
true; m_attachmentName = std::forward<AttachmentNameT>(value); }
77 template<
typename AttachmentNameT = Aws::String>
93 bool m_contentTypeHasBeenSet =
false;
96 bool m_attachmentIdHasBeenSet =
false;
99 bool m_attachmentNameHasBeenSet =
false;
102 bool m_statusHasBeenSet =
false;
void SetAttachmentName(AttachmentNameT &&value)
AttachmentItem & WithAttachmentName(AttachmentNameT &&value)
bool AttachmentNameHasBeenSet() const
AttachmentItem & WithAttachmentId(AttachmentIdT &&value)
bool AttachmentIdHasBeenSet() const
bool ContentTypeHasBeenSet() const
ArtifactStatus GetStatus() const
AWS_CONNECTPARTICIPANT_API AttachmentItem()=default
const Aws::String & GetAttachmentId() const
void SetContentType(ContentTypeT &&value)
bool StatusHasBeenSet() const
void SetStatus(ArtifactStatus value)
AWS_CONNECTPARTICIPANT_API AttachmentItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetContentType() const
AWS_CONNECTPARTICIPANT_API Aws::Utils::Json::JsonValue Jsonize() const
AttachmentItem & WithContentType(ContentTypeT &&value)
AttachmentItem & WithStatus(ArtifactStatus value)
AWS_CONNECTPARTICIPANT_API AttachmentItem(Aws::Utils::Json::JsonView jsonValue)
void SetAttachmentId(AttachmentIdT &&value)
const Aws::String & GetAttachmentName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue