AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteProfileObjectRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace CustomerProfiles
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CUSTOMERPROFILES_API DeleteProfileObjectRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfileObject"; }
31
32 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetProfileId() const { return m_profileId; }
40 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
41 template<typename ProfileIdT = Aws::String>
42 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
43 template<typename ProfileIdT = Aws::String>
44 DeleteProfileObjectRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetProfileObjectUniqueKey() const { return m_profileObjectUniqueKey; }
52 inline bool ProfileObjectUniqueKeyHasBeenSet() const { return m_profileObjectUniqueKeyHasBeenSet; }
53 template<typename ProfileObjectUniqueKeyT = Aws::String>
54 void SetProfileObjectUniqueKey(ProfileObjectUniqueKeyT&& value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey = std::forward<ProfileObjectUniqueKeyT>(value); }
55 template<typename ProfileObjectUniqueKeyT = Aws::String>
56 DeleteProfileObjectRequest& WithProfileObjectUniqueKey(ProfileObjectUniqueKeyT&& value) { SetProfileObjectUniqueKey(std::forward<ProfileObjectUniqueKeyT>(value)); return *this;}
58
60
63 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
64 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
65 template<typename ObjectTypeNameT = Aws::String>
66 void SetObjectTypeName(ObjectTypeNameT&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::forward<ObjectTypeNameT>(value); }
67 template<typename ObjectTypeNameT = Aws::String>
68 DeleteProfileObjectRequest& WithObjectTypeName(ObjectTypeNameT&& value) { SetObjectTypeName(std::forward<ObjectTypeNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDomainName() const { return m_domainName; }
76 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
77 template<typename DomainNameT = Aws::String>
78 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
79 template<typename DomainNameT = Aws::String>
80 DeleteProfileObjectRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
82 private:
83
84 Aws::String m_profileId;
85 bool m_profileIdHasBeenSet = false;
86
87 Aws::String m_profileObjectUniqueKey;
88 bool m_profileObjectUniqueKeyHasBeenSet = false;
89
90 Aws::String m_objectTypeName;
91 bool m_objectTypeNameHasBeenSet = false;
92
93 Aws::String m_domainName;
94 bool m_domainNameHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace CustomerProfiles
99} // 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