/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { class UpdateCalculatedAttributeDefinitionResult { public: AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult(); AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult(const Aws::AmazonWebServiceResult& result); AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionResult& 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 void SetDisplayName(const Aws::String& value) { m_displayName = value; } /** *

The display name of the calculated attribute.

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

The display name of the calculated attribute.

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

The display name of the calculated attribute.

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

The display name of the calculated attribute.

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

The display name of the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionResult& 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 void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the calculated attribute.

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

The description of the calculated attribute.

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

The description of the calculated attribute.

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

The description of the calculated attribute.

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

The description of the calculated attribute.

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

The timestamp of when the calculated attribute definition was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The timestamp of when the calculated attribute definition was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The timestamp of when the calculated attribute definition was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The timestamp of when the calculated attribute definition was created.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The timestamp of when the calculated attribute definition was created.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The timestamp of when the calculated attribute definition was most recently * edited.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

The timestamp of when the calculated attribute definition was most recently * edited.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAt = value; } /** *

The timestamp of when the calculated attribute definition was most recently * edited.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAt = std::move(value); } /** *

The timestamp of when the calculated attribute definition was most recently * edited.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

The timestamp of when the calculated attribute definition was most recently * edited.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *

The aggregation operation to perform for the calculated attribute.

*/ inline const Statistic& GetStatistic() const{ return m_statistic; } /** *

The aggregation operation to perform for the calculated attribute.

*/ inline void SetStatistic(const Statistic& value) { m_statistic = value; } /** *

The aggregation operation to perform for the calculated attribute.

*/ inline void SetStatistic(Statistic&& value) { m_statistic = std::move(value); } /** *

The aggregation operation to perform for the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithStatistic(const Statistic& value) { SetStatistic(value); return *this;} /** *

The aggregation operation to perform for the calculated attribute.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithStatistic(Statistic&& value) { SetStatistic(std::move(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 void SetConditions(const Conditions& value) { m_conditions = value; } /** *

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

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

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

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

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

*/ inline UpdateCalculatedAttributeDefinitionResult& WithConditions(Conditions&& value) { SetConditions(std::move(value)); return *this;} /** *

The mathematical expression and a list of attribute items specified in that * expression.

*/ inline const AttributeDetails& GetAttributeDetails() const{ return m_attributeDetails; } /** *

The mathematical expression and a list of attribute items specified in that * expression.

*/ inline void SetAttributeDetails(const AttributeDetails& value) { m_attributeDetails = value; } /** *

The mathematical expression and a list of attribute items specified in that * expression.

*/ inline void SetAttributeDetails(AttributeDetails&& value) { m_attributeDetails = std::move(value); } /** *

The mathematical expression and a list of attribute items specified in that * expression.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithAttributeDetails(const AttributeDetails& value) { SetAttributeDetails(value); return *this;} /** *

The mathematical expression and a list of attribute items specified in that * expression.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithAttributeDetails(AttributeDetails&& value) { SetAttributeDetails(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource.

*/ inline UpdateCalculatedAttributeDefinitionResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateCalculatedAttributeDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateCalculatedAttributeDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateCalculatedAttributeDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_calculatedAttributeName; Aws::String m_displayName; Aws::String m_description; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_lastUpdatedAt; Statistic m_statistic; Conditions m_conditions; AttributeDetails m_attributeDetails; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws