/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CustomerProfiles { namespace Model { /** */ class DeleteProfileObjectRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API DeleteProfileObjectRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteProfileObject"; } AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; /** *

The unique identifier of a customer profile.

*/ inline const Aws::String& GetProfileId() const{ return m_profileId; } /** *

The unique identifier of a customer profile.

*/ inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; } /** *

The unique identifier of a customer profile.

*/ inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; } /** *

The unique identifier of a customer profile.

*/ inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); } /** *

The unique identifier of a customer profile.

*/ inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); } /** *

The unique identifier of a customer profile.

*/ inline DeleteProfileObjectRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;} /** *

The unique identifier of a customer profile.

*/ inline DeleteProfileObjectRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;} /** *

The unique identifier of a customer profile.

*/ inline DeleteProfileObjectRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;} /** *

The unique identifier of the profile object generated by the service.

*/ inline const Aws::String& GetProfileObjectUniqueKey() const{ return m_profileObjectUniqueKey; } /** *

The unique identifier of the profile object generated by the service.

*/ inline bool ProfileObjectUniqueKeyHasBeenSet() const { return m_profileObjectUniqueKeyHasBeenSet; } /** *

The unique identifier of the profile object generated by the service.

*/ inline void SetProfileObjectUniqueKey(const Aws::String& value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey = value; } /** *

The unique identifier of the profile object generated by the service.

*/ inline void SetProfileObjectUniqueKey(Aws::String&& value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey = std::move(value); } /** *

The unique identifier of the profile object generated by the service.

*/ inline void SetProfileObjectUniqueKey(const char* value) { m_profileObjectUniqueKeyHasBeenSet = true; m_profileObjectUniqueKey.assign(value); } /** *

The unique identifier of the profile object generated by the service.

*/ inline DeleteProfileObjectRequest& WithProfileObjectUniqueKey(const Aws::String& value) { SetProfileObjectUniqueKey(value); return *this;} /** *

The unique identifier of the profile object generated by the service.

*/ inline DeleteProfileObjectRequest& WithProfileObjectUniqueKey(Aws::String&& value) { SetProfileObjectUniqueKey(std::move(value)); return *this;} /** *

The unique identifier of the profile object generated by the service.

*/ inline DeleteProfileObjectRequest& WithProfileObjectUniqueKey(const char* value) { SetProfileObjectUniqueKey(value); return *this;} /** *

The name of the profile object type.

*/ inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; } /** *

The name of the profile object type.

*/ inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; } /** *

The name of the profile object type.

*/ inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = value; } /** *

The name of the profile object type.

*/ inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::move(value); } /** *

The name of the profile object type.

*/ inline void SetObjectTypeName(const char* value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName.assign(value); } /** *

The name of the profile object type.

*/ inline DeleteProfileObjectRequest& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;} /** *

The name of the profile object type.

*/ inline DeleteProfileObjectRequest& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;} /** *

The name of the profile object type.

*/ inline DeleteProfileObjectRequest& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;} /** *

The unique name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The unique name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The unique name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The unique name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The unique name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The unique name of the domain.

*/ inline DeleteProfileObjectRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

*/ inline DeleteProfileObjectRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The unique name of the domain.

*/ inline DeleteProfileObjectRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_profileId; bool m_profileIdHasBeenSet = false; Aws::String m_profileObjectUniqueKey; bool m_profileObjectUniqueKeyHasBeenSet = false; Aws::String m_objectTypeName; bool m_objectTypeNameHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws