/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace CustomerProfiles { namespace Model { /** */ class DeleteProfileKeyRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API DeleteProfileKeyRequest(); // 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 "DeleteProfileKey"; } 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 DeleteProfileKeyRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;} /** *

The unique identifier of a customer profile.

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

The unique identifier of a customer profile.

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

A searchable identifier of a customer profile.

*/ inline const Aws::String& GetKeyName() const{ return m_keyName; } /** *

A searchable identifier of a customer profile.

*/ inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; } /** *

A searchable identifier of a customer profile.

*/ inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; } /** *

A searchable identifier of a customer profile.

*/ inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); } /** *

A searchable identifier of a customer profile.

*/ inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); } /** *

A searchable identifier of a customer profile.

*/ inline DeleteProfileKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;} /** *

A searchable identifier of a customer profile.

*/ inline DeleteProfileKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;} /** *

A searchable identifier of a customer profile.

*/ inline DeleteProfileKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;} /** *

A list of key values.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

A list of key values.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

A list of key values.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

A list of key values.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

A list of key values.

*/ inline DeleteProfileKeyRequest& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

A list of key values.

*/ inline DeleteProfileKeyRequest& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

A list of key values.

*/ inline DeleteProfileKeyRequest& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

A list of key values.

*/ inline DeleteProfileKeyRequest& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

A list of key values.

*/ inline DeleteProfileKeyRequest& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(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 DeleteProfileKeyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

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

The unique name of the domain.

*/ inline DeleteProfileKeyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_profileId; bool m_profileIdHasBeenSet = false; Aws::String m_keyName; bool m_keyNameHasBeenSet = false; Aws::Vector m_values; bool m_valuesHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws