AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
UpdateApnsChannelRequest.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/APNSChannelRequest.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Pinpoint {
16namespace Model {
17
21 public:
22 AWS_PINPOINT_API UpdateApnsChannelRequest() = 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 "UpdateApnsChannel"; }
29
30 AWS_PINPOINT_API Aws::String SerializePayload() const override;
31
33
34 inline const APNSChannelRequest& GetAPNSChannelRequest() const { return m_aPNSChannelRequest; }
35 inline bool APNSChannelRequestHasBeenSet() const { return m_aPNSChannelRequestHasBeenSet; }
36 template <typename APNSChannelRequestT = APNSChannelRequest>
37 void SetAPNSChannelRequest(APNSChannelRequestT&& value) {
38 m_aPNSChannelRequestHasBeenSet = true;
39 m_aPNSChannelRequest = std::forward<APNSChannelRequestT>(value);
40 }
41 template <typename APNSChannelRequestT = APNSChannelRequest>
42 UpdateApnsChannelRequest& WithAPNSChannelRequest(APNSChannelRequestT&& value) {
43 SetAPNSChannelRequest(std::forward<APNSChannelRequestT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
54 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
55 template <typename ApplicationIdT = Aws::String>
56 void SetApplicationId(ApplicationIdT&& value) {
57 m_applicationIdHasBeenSet = true;
58 m_applicationId = std::forward<ApplicationIdT>(value);
59 }
60 template <typename ApplicationIdT = Aws::String>
62 SetApplicationId(std::forward<ApplicationIdT>(value));
63 return *this;
64 }
66 private:
67 APNSChannelRequest m_aPNSChannelRequest;
68 bool m_aPNSChannelRequestHasBeenSet = false;
69
70 Aws::String m_applicationId;
71 bool m_applicationIdHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace Pinpoint
76} // namespace Aws
UpdateApnsChannelRequest & WithAPNSChannelRequest(APNSChannelRequestT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
void SetAPNSChannelRequest(APNSChannelRequestT &&value)
virtual const char * GetServiceRequestName() const override
AWS_PINPOINT_API UpdateApnsChannelRequest()=default
UpdateApnsChannelRequest & WithApplicationId(ApplicationIdT &&value)
const APNSChannelRequest & GetAPNSChannelRequest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String