AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
UpdateSmsChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/SMSChannelRequest.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Pinpoint {
16namespace Model {
17
21 public:
22 AWS_PINPOINT_API UpdateSmsChannelRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSmsChannel"; }
29
30 AWS_PINPOINT_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
38 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
39 template <typename ApplicationIdT = Aws::String>
40 void SetApplicationId(ApplicationIdT&& value) {
41 m_applicationIdHasBeenSet = true;
42 m_applicationId = std::forward<ApplicationIdT>(value);
43 }
44 template <typename ApplicationIdT = Aws::String>
45 UpdateSmsChannelRequest& WithApplicationId(ApplicationIdT&& value) {
46 SetApplicationId(std::forward<ApplicationIdT>(value));
47 return *this;
48 }
50
52
53 inline const SMSChannelRequest& GetSMSChannelRequest() const { return m_sMSChannelRequest; }
54 inline bool SMSChannelRequestHasBeenSet() const { return m_sMSChannelRequestHasBeenSet; }
55 template <typename SMSChannelRequestT = SMSChannelRequest>
56 void SetSMSChannelRequest(SMSChannelRequestT&& value) {
57 m_sMSChannelRequestHasBeenSet = true;
58 m_sMSChannelRequest = std::forward<SMSChannelRequestT>(value);
59 }
60 template <typename SMSChannelRequestT = SMSChannelRequest>
61 UpdateSmsChannelRequest& WithSMSChannelRequest(SMSChannelRequestT&& value) {
62 SetSMSChannelRequest(std::forward<SMSChannelRequestT>(value));
63 return *this;
64 }
66 private:
67 Aws::String m_applicationId;
68 bool m_applicationIdHasBeenSet = false;
69
70 SMSChannelRequest m_sMSChannelRequest;
71 bool m_sMSChannelRequestHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Pinpoint
76} // namespace Aws
UpdateSmsChannelRequest & WithApplicationId(ApplicationIdT &&value)
UpdateSmsChannelRequest & WithSMSChannelRequest(SMSChannelRequestT &&value)
virtual const char * GetServiceRequestName() const override
AWS_PINPOINT_API UpdateSmsChannelRequest()=default
void SetSMSChannelRequest(SMSChannelRequestT &&value)
const SMSChannelRequest & GetSMSChannelRequest() const
AWS_PINPOINT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String