AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteWhatsAppMessageMediaRequest.h
1
6#pragma once
7#include <aws/socialmessaging/SocialMessaging_EXPORTS.h>
8#include <aws/socialmessaging/SocialMessagingRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace SocialMessaging
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SOCIALMESSAGING_API DeleteWhatsAppMessageMediaRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteWhatsAppMessageMedia"; }
35
36 AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override;
37
38 AWS_SOCIALMESSAGING_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetMediaId() const{ return m_mediaId; }
48 inline bool MediaIdHasBeenSet() const { return m_mediaIdHasBeenSet; }
49 inline void SetMediaId(const Aws::String& value) { m_mediaIdHasBeenSet = true; m_mediaId = value; }
50 inline void SetMediaId(Aws::String&& value) { m_mediaIdHasBeenSet = true; m_mediaId = std::move(value); }
51 inline void SetMediaId(const char* value) { m_mediaIdHasBeenSet = true; m_mediaId.assign(value); }
52 inline DeleteWhatsAppMessageMediaRequest& WithMediaId(const Aws::String& value) { SetMediaId(value); return *this;}
53 inline DeleteWhatsAppMessageMediaRequest& WithMediaId(Aws::String&& value) { SetMediaId(std::move(value)); return *this;}
54 inline DeleteWhatsAppMessageMediaRequest& WithMediaId(const char* value) { SetMediaId(value); return *this;}
56
58
65 inline const Aws::String& GetOriginationPhoneNumberId() const{ return m_originationPhoneNumberId; }
66 inline bool OriginationPhoneNumberIdHasBeenSet() const { return m_originationPhoneNumberIdHasBeenSet; }
67 inline void SetOriginationPhoneNumberId(const Aws::String& value) { m_originationPhoneNumberIdHasBeenSet = true; m_originationPhoneNumberId = value; }
68 inline void SetOriginationPhoneNumberId(Aws::String&& value) { m_originationPhoneNumberIdHasBeenSet = true; m_originationPhoneNumberId = std::move(value); }
69 inline void SetOriginationPhoneNumberId(const char* value) { m_originationPhoneNumberIdHasBeenSet = true; m_originationPhoneNumberId.assign(value); }
74 private:
75
76 Aws::String m_mediaId;
77 bool m_mediaIdHasBeenSet = false;
78
79 Aws::String m_originationPhoneNumberId;
80 bool m_originationPhoneNumberIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SocialMessaging
85} // namespace Aws
DeleteWhatsAppMessageMediaRequest & WithMediaId(Aws::String &&value)
DeleteWhatsAppMessageMediaRequest & WithOriginationPhoneNumberId(const char *value)
DeleteWhatsAppMessageMediaRequest & WithMediaId(const Aws::String &value)
DeleteWhatsAppMessageMediaRequest & WithOriginationPhoneNumberId(const Aws::String &value)
AWS_SOCIALMESSAGING_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_SOCIALMESSAGING_API Aws::String SerializePayload() const override
DeleteWhatsAppMessageMediaRequest & WithMediaId(const char *value)
DeleteWhatsAppMessageMediaRequest & WithOriginationPhoneNumberId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String