/** * 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 UpdateCalculatedAttributeDefinitionRequest : public CustomerProfilesRequest { public: AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionRequest(); // 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 "UpdateCalculatedAttributeDefinition"; } AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override; /** *

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 UpdateCalculatedAttributeDefinitionRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The unique name of the domain.

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

The unique name of the domain.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The unique name of the calculated attribute.

*/ inline const Aws::String& GetCalculatedAttributeName() const{ return m_calculatedAttributeName; } /** *

The unique name of the calculated attribute.

*/ inline bool CalculatedAttributeNameHasBeenSet() const { return m_calculatedAttributeNameHasBeenSet; } /** *

The unique name of the calculated attribute.

*/ inline void SetCalculatedAttributeName(const Aws::String& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = value; } /** *

The unique name of the calculated attribute.

*/ inline void SetCalculatedAttributeName(Aws::String&& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = std::move(value); } /** *

The unique name of the calculated attribute.

*/ inline void SetCalculatedAttributeName(const char* value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName.assign(value); } /** *

The unique name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithCalculatedAttributeName(const Aws::String& value) { SetCalculatedAttributeName(value); return *this;} /** *

The unique name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithCalculatedAttributeName(Aws::String&& value) { SetCalculatedAttributeName(std::move(value)); return *this;} /** *

The unique name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithCalculatedAttributeName(const char* value) { SetCalculatedAttributeName(value); return *this;} /** *

The display name of the calculated attribute.

*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *

The display name of the calculated attribute.

*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *

The display name of the calculated attribute.

*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *

The display name of the calculated attribute.

*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *

The display name of the calculated attribute.

*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *

The display name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *

The display name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *

The description of the calculated attribute.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the calculated attribute.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the calculated attribute.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the calculated attribute.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the calculated attribute.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The conditions including range, object count, and threshold for the * calculated attribute.

*/ inline const Conditions& GetConditions() const{ return m_conditions; } /** *

The conditions including range, object count, and threshold for the * calculated attribute.

*/ inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; } /** *

The conditions including range, object count, and threshold for the * calculated attribute.

*/ inline void SetConditions(const Conditions& value) { m_conditionsHasBeenSet = true; m_conditions = value; } /** *

The conditions including range, object count, and threshold for the * calculated attribute.

*/ inline void SetConditions(Conditions&& value) { m_conditionsHasBeenSet = true; m_conditions = std::move(value); } /** *

The conditions including range, object count, and threshold for the * calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithConditions(const Conditions& value) { SetConditions(value); return *this;} /** *

The conditions including range, object count, and threshold for the * calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionRequest& WithConditions(Conditions&& value) { SetConditions(std::move(value)); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_calculatedAttributeName; bool m_calculatedAttributeNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Conditions m_conditions; bool m_conditionsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws