7#include <aws/connectparticipant/ConnectParticipant_EXPORTS.h>
8#include <aws/connectparticipant/ConnectParticipantRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/UUID.h>
15namespace ConnectParticipant
49 inline void SetContentType(
const char* value) { m_contentTypeHasBeenSet =
true; m_contentType.assign(value); }
61 inline void SetAttachmentSizeInBytes(
long long value) { m_attachmentSizeInBytesHasBeenSet =
true; m_attachmentSizeInBytes = value; }
73 inline void SetAttachmentName(
const char* value) { m_attachmentNameHasBeenSet =
true; m_attachmentName.assign(value); }
91 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
105 inline void SetConnectionToken(
const char* value) { m_connectionTokenHasBeenSet =
true; m_connectionToken.assign(value); }
113 bool m_contentTypeHasBeenSet =
false;
115 long long m_attachmentSizeInBytes;
116 bool m_attachmentSizeInBytesHasBeenSet =
false;
119 bool m_attachmentNameHasBeenSet =
false;
122 bool m_clientTokenHasBeenSet =
false;
125 bool m_connectionTokenHasBeenSet =
false;
void SetAttachmentSizeInBytes(long long value)
const Aws::String & GetAttachmentName() const
StartAttachmentUploadRequest & WithAttachmentSizeInBytes(long long value)
void SetConnectionToken(Aws::String &&value)
StartAttachmentUploadRequest & WithAttachmentName(Aws::String &&value)
AWS_CONNECTPARTICIPANT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
StartAttachmentUploadRequest & WithConnectionToken(Aws::String &&value)
StartAttachmentUploadRequest & WithContentType(const char *value)
StartAttachmentUploadRequest & WithAttachmentName(const char *value)
const Aws::String & GetClientToken() const
bool ClientTokenHasBeenSet() const
long long GetAttachmentSizeInBytes() const
StartAttachmentUploadRequest & WithContentType(Aws::String &&value)
void SetContentType(Aws::String &&value)
AWS_CONNECTPARTICIPANT_API StartAttachmentUploadRequest()
const Aws::String & GetContentType() const
StartAttachmentUploadRequest & WithClientToken(Aws::String &&value)
StartAttachmentUploadRequest & WithAttachmentName(const Aws::String &value)
void SetContentType(const Aws::String &value)
const Aws::String & GetConnectionToken() const
void SetClientToken(const Aws::String &value)
AWS_CONNECTPARTICIPANT_API Aws::String SerializePayload() const override
void SetAttachmentName(const char *value)
StartAttachmentUploadRequest & WithConnectionToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool AttachmentNameHasBeenSet() const
StartAttachmentUploadRequest & WithContentType(const Aws::String &value)
StartAttachmentUploadRequest & WithClientToken(const Aws::String &value)
bool ConnectionTokenHasBeenSet() const
void SetContentType(const char *value)
void SetConnectionToken(const Aws::String &value)
void SetClientToken(Aws::String &&value)
bool AttachmentSizeInBytesHasBeenSet() const
bool ContentTypeHasBeenSet() const
void SetAttachmentName(const Aws::String &value)
void SetAttachmentName(Aws::String &&value)
StartAttachmentUploadRequest & WithClientToken(const char *value)
void SetConnectionToken(const char *value)
void SetClientToken(const char *value)
StartAttachmentUploadRequest & WithConnectionToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String