AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoveAttributesRequest.h
1
6#pragma once
7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/PinpointRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/pinpoint/model/UpdateAttributesRequest.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Pinpoint
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_PINPOINT_API RemoveAttributesRequest();
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 "RemoveAttributes"; }
32
33 AWS_PINPOINT_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetApplicationId() const{ return m_applicationId; }
42 inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; }
43 inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; }
44 inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); }
45 inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); }
46 inline RemoveAttributesRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;}
47 inline RemoveAttributesRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;}
48 inline RemoveAttributesRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;}
50
52
63 inline const Aws::String& GetAttributeType() const{ return m_attributeType; }
64 inline bool AttributeTypeHasBeenSet() const { return m_attributeTypeHasBeenSet; }
65 inline void SetAttributeType(const Aws::String& value) { m_attributeTypeHasBeenSet = true; m_attributeType = value; }
66 inline void SetAttributeType(Aws::String&& value) { m_attributeTypeHasBeenSet = true; m_attributeType = std::move(value); }
67 inline void SetAttributeType(const char* value) { m_attributeTypeHasBeenSet = true; m_attributeType.assign(value); }
68 inline RemoveAttributesRequest& WithAttributeType(const Aws::String& value) { SetAttributeType(value); return *this;}
69 inline RemoveAttributesRequest& WithAttributeType(Aws::String&& value) { SetAttributeType(std::move(value)); return *this;}
70 inline RemoveAttributesRequest& WithAttributeType(const char* value) { SetAttributeType(value); return *this;}
72
74
75 inline const UpdateAttributesRequest& GetUpdateAttributesRequest() const{ return m_updateAttributesRequest; }
76 inline bool UpdateAttributesRequestHasBeenSet() const { return m_updateAttributesRequestHasBeenSet; }
77 inline void SetUpdateAttributesRequest(const UpdateAttributesRequest& value) { m_updateAttributesRequestHasBeenSet = true; m_updateAttributesRequest = value; }
78 inline void SetUpdateAttributesRequest(UpdateAttributesRequest&& value) { m_updateAttributesRequestHasBeenSet = true; m_updateAttributesRequest = std::move(value); }
82 private:
83
84 Aws::String m_applicationId;
85 bool m_applicationIdHasBeenSet = false;
86
87 Aws::String m_attributeType;
88 bool m_attributeTypeHasBeenSet = false;
89
90 UpdateAttributesRequest m_updateAttributesRequest;
91 bool m_updateAttributesRequestHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Pinpoint
96} // namespace Aws
RemoveAttributesRequest & WithApplicationId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const UpdateAttributesRequest & GetUpdateAttributesRequest() const
RemoveAttributesRequest & WithAttributeType(const char *value)
RemoveAttributesRequest & WithAttributeType(const Aws::String &value)
RemoveAttributesRequest & WithUpdateAttributesRequest(const UpdateAttributesRequest &value)
void SetUpdateAttributesRequest(UpdateAttributesRequest &&value)
void SetUpdateAttributesRequest(const UpdateAttributesRequest &value)
AWS_PINPOINT_API Aws::String SerializePayload() const override
RemoveAttributesRequest & WithApplicationId(Aws::String &&value)
RemoveAttributesRequest & WithAttributeType(Aws::String &&value)
RemoveAttributesRequest & WithUpdateAttributesRequest(UpdateAttributesRequest &&value)
RemoveAttributesRequest & WithApplicationId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String