AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
RemoveAttributesRequest.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/UpdateAttributesRequest.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Pinpoint {
16namespace Model {
17
21 public:
22 AWS_PINPOINT_API RemoveAttributesRequest() = 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 "RemoveAttributes"; }
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 RemoveAttributesRequest& WithApplicationId(ApplicationIdT&& value) {
46 SetApplicationId(std::forward<ApplicationIdT>(value));
47 return *this;
48 }
50
52
63 inline const Aws::String& GetAttributeType() const { return m_attributeType; }
64 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
65 template <typename AttributeTypeT = Aws::String>
66 void SetAttributeType(AttributeTypeT&& value) {
67 m_attributeTypeHasBeenSet = true;
68 m_attributeType = std::forward<AttributeTypeT>(value);
69 }
70 template <typename AttributeTypeT = Aws::String>
71 RemoveAttributesRequest& WithAttributeType(AttributeTypeT&& value) {
72 SetAttributeType(std::forward<AttributeTypeT>(value));
73 return *this;
74 }
76
78
79 inline const UpdateAttributesRequest& GetUpdateAttributesRequest() const { return m_updateAttributesRequest; }
80 inline bool UpdateAttributesRequestHasBeenSet() const { return m_updateAttributesRequestHasBeenSet; }
81 template <typename UpdateAttributesRequestT = UpdateAttributesRequest>
82 void SetUpdateAttributesRequest(UpdateAttributesRequestT&& value) {
83 m_updateAttributesRequestHasBeenSet = true;
84 m_updateAttributesRequest = std::forward<UpdateAttributesRequestT>(value);
85 }
86 template <typename UpdateAttributesRequestT = UpdateAttributesRequest>
87 RemoveAttributesRequest& WithUpdateAttributesRequest(UpdateAttributesRequestT&& value) {
88 SetUpdateAttributesRequest(std::forward<UpdateAttributesRequestT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_applicationId;
94
95 Aws::String m_attributeType;
96
97 UpdateAttributesRequest m_updateAttributesRequest;
98 bool m_applicationIdHasBeenSet = false;
99 bool m_attributeTypeHasBeenSet = false;
100 bool m_updateAttributesRequestHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Pinpoint
105} // namespace Aws
virtual const char * GetServiceRequestName() const override
const UpdateAttributesRequest & GetUpdateAttributesRequest() const
RemoveAttributesRequest & WithAttributeType(AttributeTypeT &&value)
AWS_PINPOINT_API RemoveAttributesRequest()=default
AWS_PINPOINT_API Aws::String SerializePayload() const override
RemoveAttributesRequest & WithUpdateAttributesRequest(UpdateAttributesRequestT &&value)
RemoveAttributesRequest & WithApplicationId(ApplicationIdT &&value)
void SetUpdateAttributesRequest(UpdateAttributesRequestT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String