AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SendMessagesRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/MessageRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API SendMessagesRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "SendMessages"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
44 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
45 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
46 inline SendMessagesRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
47 inline SendMessagesRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline SendMessagesRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
53 inline const MessageRequest& GetMessageRequest() const{ return m_messageRequest; }
54 inline bool MessageRequestHasBeenSet() const { return m_messageRequestHasBeenSet; }
55 inline void SetMessageRequest(const MessageRequest& value) { m_messageRequestHasBeenSet = true; m_messageRequest = value; }
56 inline void SetMessageRequest(MessageRequest&& value) { m_messageRequestHasBeenSet = true; m_messageRequest = std::move(value); }
57 inline SendMessagesRequest& WithMessageRequest(const MessageRequest& value) { SetMessageRequest(value); return *this;}
58 inline SendMessagesRequest& WithMessageRequest(MessageRequest&& value) { SetMessageRequest(std::move(value)); return *this;}
60 private:
61
62 Aws::String m_applicationId;
63 bool m_applicationIdHasBeenSet = false;
64
65 MessageRequest m_messageRequest;
66 bool m_messageRequestHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Pinpoint
71} // namespace Aws
void SetApplicationId(const Aws::String &value)
SendMessagesRequest & WithApplicationId(const Aws::String &value)
const MessageRequest & GetMessageRequest() const
void SetMessageRequest(MessageRequest &&value)
SendMessagesRequest & WithMessageRequest(const MessageRequest &value)
SendMessagesRequest & WithApplicationId(Aws::String &&value)
SendMessagesRequest & WithApplicationId(const char *value)
void SetMessageRequest(const MessageRequest &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
SendMessagesRequest & WithMessageRequest(MessageRequest &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String