AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAdmChannelRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/pinpoint/model/ADMChannelRequest.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 UpdateAdmChannelRequest();
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 "UpdateAdmChannel"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
38 inline const ADMChannelRequest& GetADMChannelRequest() const{ return m_aDMChannelRequest; }
39 inline bool ADMChannelRequestHasBeenSet() const { return m_aDMChannelRequestHasBeenSet; }
40 inline void SetADMChannelRequest(const ADMChannelRequest& value) { m_aDMChannelRequestHasBeenSet = true; m_aDMChannelRequest = value; }
41 inline void SetADMChannelRequest(ADMChannelRequest&& value) { m_aDMChannelRequestHasBeenSet = true; m_aDMChannelRequest = std::move(value); }
43 inline UpdateAdmChannelRequest& WithADMChannelRequest(ADMChannelRequest&& value) { SetADMChannelRequest(std::move(value)); return *this;}
45
47
51 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
52 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
53 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
54 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
55 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
56 inline UpdateAdmChannelRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
57 inline UpdateAdmChannelRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
58 inline UpdateAdmChannelRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
60 private:
61
62 ADMChannelRequest m_aDMChannelRequest;
63 bool m_aDMChannelRequestHasBeenSet = false;
64
65 Aws::String m_applicationId;
66 bool m_applicationIdHasBeenSet = false;
67 };
68
69} // namespace Model
70} // namespace Pinpoint
71} // namespace Aws
UpdateAdmChannelRequest & WithApplicationId(const Aws::String &value)
void SetADMChannelRequest(const ADMChannelRequest &value)
UpdateAdmChannelRequest & WithADMChannelRequest(ADMChannelRequest &&value)
virtual const char * GetServiceRequestName() const override
AWS_PINPOINT_API Aws::String SerializePayload() const override
UpdateAdmChannelRequest & WithApplicationId(Aws::String &&value)
UpdateAdmChannelRequest & WithADMChannelRequest(const ADMChannelRequest &value)
const ADMChannelRequest & GetADMChannelRequest() const
UpdateAdmChannelRequest & WithApplicationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String