1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 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 12 namespace Aws 13 { 14 namespace CustomerProfiles 15 { 16 namespace Model 17 { 18 19 /** 20 */ 21 class AWS_CUSTOMERPROFILES_API DeleteProfileRequest : public CustomerProfilesRequest 22 { 23 public: 24 DeleteProfileRequest(); 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. GetServiceRequestName()30 inline virtual const char* GetServiceRequestName() const override { return "DeleteProfile"; } 31 32 Aws::String SerializePayload() const override; 33 34 35 /** 36 * <p>The unique identifier of a customer profile.</p> 37 */ GetProfileId()38 inline const Aws::String& GetProfileId() const{ return m_profileId; } 39 40 /** 41 * <p>The unique identifier of a customer profile.</p> 42 */ ProfileIdHasBeenSet()43 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; } 44 45 /** 46 * <p>The unique identifier of a customer profile.</p> 47 */ SetProfileId(const Aws::String & value)48 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; } 49 50 /** 51 * <p>The unique identifier of a customer profile.</p> 52 */ SetProfileId(Aws::String && value)53 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); } 54 55 /** 56 * <p>The unique identifier of a customer profile.</p> 57 */ SetProfileId(const char * value)58 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); } 59 60 /** 61 * <p>The unique identifier of a customer profile.</p> 62 */ WithProfileId(const Aws::String & value)63 inline DeleteProfileRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;} 64 65 /** 66 * <p>The unique identifier of a customer profile.</p> 67 */ WithProfileId(Aws::String && value)68 inline DeleteProfileRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;} 69 70 /** 71 * <p>The unique identifier of a customer profile.</p> 72 */ WithProfileId(const char * value)73 inline DeleteProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;} 74 75 76 /** 77 * <p>The unique name of the domain.</p> 78 */ GetDomainName()79 inline const Aws::String& GetDomainName() const{ return m_domainName; } 80 81 /** 82 * <p>The unique name of the domain.</p> 83 */ DomainNameHasBeenSet()84 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } 85 86 /** 87 * <p>The unique name of the domain.</p> 88 */ SetDomainName(const Aws::String & value)89 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } 90 91 /** 92 * <p>The unique name of the domain.</p> 93 */ SetDomainName(Aws::String && value)94 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } 95 96 /** 97 * <p>The unique name of the domain.</p> 98 */ SetDomainName(const char * value)99 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } 100 101 /** 102 * <p>The unique name of the domain.</p> 103 */ WithDomainName(const Aws::String & value)104 inline DeleteProfileRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} 105 106 /** 107 * <p>The unique name of the domain.</p> 108 */ WithDomainName(Aws::String && value)109 inline DeleteProfileRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} 110 111 /** 112 * <p>The unique name of the domain.</p> 113 */ WithDomainName(const char * value)114 inline DeleteProfileRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} 115 116 private: 117 118 Aws::String m_profileId; 119 bool m_profileIdHasBeenSet; 120 121 Aws::String m_domainName; 122 bool m_domainNameHasBeenSet; 123 }; 124 125 } // namespace Model 126 } // namespace CustomerProfiles 127 } // namespace Aws 128