AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DeleteProfileObjectRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CustomerProfiles {
15namespace Model {
16
20 public:
21 AWS_CUSTOMERPROFILES_API DeleteProfileObjectRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfileObject"; }
28
29 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetProfileId() const { return m_profileId; }
36 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
37 template <typename ProfileIdT = Aws::String>
38 void SetProfileId(ProfileIdT&& value) {
39 m_profileIdHasBeenSet = true;
40 m_profileId = std::forward<ProfileIdT>(value);
41 }
42 template <typename ProfileIdT = Aws::String>
44 SetProfileId(std::forward<ProfileIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetProfileObjectUniqueKey() const { return m_profileObjectUniqueKey; }
54 inline bool ProfileObjectUniqueKeyHasBeenSet() const { return m_profileObjectUniqueKeyHasBeenSet; }
55 template <typename ProfileObjectUniqueKeyT = Aws::String>
56 void SetProfileObjectUniqueKey(ProfileObjectUniqueKeyT&& value) {
57 m_profileObjectUniqueKeyHasBeenSet = true;
58 m_profileObjectUniqueKey = std::forward<ProfileObjectUniqueKeyT>(value);
59 }
60 template <typename ProfileObjectUniqueKeyT = Aws::String>
61 DeleteProfileObjectRequest& WithProfileObjectUniqueKey(ProfileObjectUniqueKeyT&& value) {
62 SetProfileObjectUniqueKey(std::forward<ProfileObjectUniqueKeyT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
72 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
73 template <typename ObjectTypeNameT = Aws::String>
74 void SetObjectTypeName(ObjectTypeNameT&& value) {
75 m_objectTypeNameHasBeenSet = true;
76 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
77 }
78 template <typename ObjectTypeNameT = Aws::String>
80 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::String& GetDomainName() const { return m_domainName; }
90 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
91 template <typename DomainNameT = Aws::String>
92 void SetDomainName(DomainNameT&& value) {
93 m_domainNameHasBeenSet = true;
94 m_domainName = std::forward<DomainNameT>(value);
95 }
96 template <typename DomainNameT = Aws::String>
98 SetDomainName(std::forward<DomainNameT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_profileId;
104
105 Aws::String m_profileObjectUniqueKey;
106
107 Aws::String m_objectTypeName;
108
109 Aws::String m_domainName;
110 bool m_profileIdHasBeenSet = false;
111 bool m_profileObjectUniqueKeyHasBeenSet = false;
112 bool m_objectTypeNameHasBeenSet = false;
113 bool m_domainNameHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace CustomerProfiles
118} // namespace Aws
AWS_CUSTOMERPROFILES_API DeleteProfileObjectRequest()=default
DeleteProfileObjectRequest & WithDomainName(DomainNameT &&value)
DeleteProfileObjectRequest & WithObjectTypeName(ObjectTypeNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
DeleteProfileObjectRequest & WithProfileObjectUniqueKey(ProfileObjectUniqueKeyT &&value)
DeleteProfileObjectRequest & WithProfileId(ProfileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String