AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateApnsVoipSandboxChannelRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/model/APNSVoipSandboxChannelRequest.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API UpdateApnsVoipSandboxChannelRequest() = default;
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 "UpdateApnsVoipSandboxChannel"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
38 inline const APNSVoipSandboxChannelRequest& GetAPNSVoipSandboxChannelRequest() const { return m_aPNSVoipSandboxChannelRequest; }
39 inline bool APNSVoipSandboxChannelRequestHasBeenSet() const { return m_aPNSVoipSandboxChannelRequestHasBeenSet; }
40 template<typename APNSVoipSandboxChannelRequestT = APNSVoipSandboxChannelRequest>
41 void SetAPNSVoipSandboxChannelRequest(APNSVoipSandboxChannelRequestT&& value) { m_aPNSVoipSandboxChannelRequestHasBeenSet = true; m_aPNSVoipSandboxChannelRequest = std::forward<APNSVoipSandboxChannelRequestT>(value); }
42 template<typename APNSVoipSandboxChannelRequestT = APNSVoipSandboxChannelRequest>
43 UpdateApnsVoipSandboxChannelRequest& WithAPNSVoipSandboxChannelRequest(APNSVoipSandboxChannelRequestT&& value) { SetAPNSVoipSandboxChannelRequest(std::forward<APNSVoipSandboxChannelRequestT>(value)); return *this;}
45
47
51 inline const Aws::String& GetApplicationId() const { return m_applicationId; }
52 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
53 template<typename ApplicationIdT = Aws::String>
54 void SetApplicationId(ApplicationIdT&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::forward<ApplicationIdT>(value); }
55 template<typename ApplicationIdT = Aws::String>
56 UpdateApnsVoipSandboxChannelRequest& WithApplicationId(ApplicationIdT&& value) { SetApplicationId(std::forward<ApplicationIdT>(value)); return *this;}
58 private:
59
60 APNSVoipSandboxChannelRequest m_aPNSVoipSandboxChannelRequest;
61 bool m_aPNSVoipSandboxChannelRequestHasBeenSet = false;
62
63 Aws::String m_applicationId;
64 bool m_applicationIdHasBeenSet = false;
65 };
66
67} // namespace Model
68} // namespace Pinpoint
69} // namespace Aws
UpdateApnsVoipSandboxChannelRequest & WithAPNSVoipSandboxChannelRequest(APNSVoipSandboxChannelRequestT &&value)
UpdateApnsVoipSandboxChannelRequest & WithApplicationId(ApplicationIdT &&value)
void SetAPNSVoipSandboxChannelRequest(APNSVoipSandboxChannelRequestT &&value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
const APNSVoipSandboxChannelRequest & GetAPNSVoipSandboxChannelRequest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String