/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CustomerProfiles { namespace Model { /** *

The details of a single calculated attribute definition.

See * Also:

AWS * API Reference

*/ class ListCalculatedAttributeDefinitionItem { public: AWS_CUSTOMERPROFILES_API ListCalculatedAttributeDefinitionItem(); AWS_CUSTOMERPROFILES_API ListCalculatedAttributeDefinitionItem(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API ListCalculatedAttributeDefinitionItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 ListCalculatedAttributeDefinitionItem& WithCalculatedAttributeName(const Aws::String& value) { SetCalculatedAttributeName(value); return *this;} /** *

The unique name of the calculated attribute.

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

The unique name of the calculated attribute.

*/ inline ListCalculatedAttributeDefinitionItem& 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 ListCalculatedAttributeDefinitionItem& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *

The display name of the calculated attribute.

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

The display name of the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

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

The threshold for the calculated attribute.

*/ inline ListCalculatedAttributeDefinitionItem& 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 bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *

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

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

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

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

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

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

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

*/ inline ListCalculatedAttributeDefinitionItem& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(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 bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

*/ inline ListCalculatedAttributeDefinitionItem& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_calculatedAttributeName; bool m_calculatedAttributeNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws