7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/socialmessaging/SocialMessagingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/socialmessaging/model/S3PresignedUrl.h>
11#include <aws/socialmessaging/model/S3File.h>
16namespace SocialMessaging
49 inline void SetOriginationPhoneNumberId(
const char* value) { m_originationPhoneNumberIdHasBeenSet =
true; m_originationPhoneNumberId.assign(value); }
74 inline void SetSourceS3File(
S3File&& value) { m_sourceS3FileHasBeenSet =
true; m_sourceS3File = std::move(value); }
81 bool m_originationPhoneNumberIdHasBeenSet =
false;
84 bool m_sourceS3PresignedUrlHasBeenSet =
false;
87 bool m_sourceS3FileHasBeenSet =
false;
PostWhatsAppMessageMediaRequest & WithSourceS3PresignedUrl(S3PresignedUrl &&value)
PostWhatsAppMessageMediaRequest & WithSourceS3File(const S3File &value)
void SetSourceS3File(S3File &&value)
PostWhatsAppMessageMediaRequest & WithOriginationPhoneNumberId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_SOCIALMESSAGING_API PostWhatsAppMessageMediaRequest()
const S3PresignedUrl & GetSourceS3PresignedUrl() const
void SetOriginationPhoneNumberId(Aws::String &&value)
const Aws::String & GetOriginationPhoneNumberId() const
bool SourceS3PresignedUrlHasBeenSet() const
bool OriginationPhoneNumberIdHasBeenSet() const
void SetSourceS3PresignedUrl(S3PresignedUrl &&value)
void SetOriginationPhoneNumberId(const Aws::String &value)
AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override
PostWhatsAppMessageMediaRequest & WithOriginationPhoneNumberId(const Aws::String &value)
void SetSourceS3File(const S3File &value)
void SetSourceS3PresignedUrl(const S3PresignedUrl &value)
void SetOriginationPhoneNumberId(const char *value)
PostWhatsAppMessageMediaRequest & WithOriginationPhoneNumberId(const char *value)
PostWhatsAppMessageMediaRequest & WithSourceS3File(S3File &&value)
PostWhatsAppMessageMediaRequest & WithSourceS3PresignedUrl(const S3PresignedUrl &value)
const S3File & GetSourceS3File() const
bool SourceS3FileHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String