/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of a single calculated attribute for a profile.See
* Also:
AWS
* API Reference
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 ListCalculatedAttributeForProfileItem& WithCalculatedAttributeName(const Aws::String& value) { SetCalculatedAttributeName(value); return *this;} /** *The unique name of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& WithCalculatedAttributeName(Aws::String&& value) { SetCalculatedAttributeName(std::move(value)); return *this;} /** *The unique name of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& 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 ListCalculatedAttributeForProfileItem& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The display name of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The display name of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline const Aws::String& GetIsDataPartial() const{ return m_isDataPartial; } /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline bool IsDataPartialHasBeenSet() const { return m_isDataPartialHasBeenSet; } /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline void SetIsDataPartial(const Aws::String& value) { m_isDataPartialHasBeenSet = true; m_isDataPartial = value; } /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline void SetIsDataPartial(Aws::String&& value) { m_isDataPartialHasBeenSet = true; m_isDataPartial = std::move(value); } /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline void SetIsDataPartial(const char* value) { m_isDataPartialHasBeenSet = true; m_isDataPartial.assign(value); } /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline ListCalculatedAttributeForProfileItem& WithIsDataPartial(const Aws::String& value) { SetIsDataPartial(value); return *this;} /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline ListCalculatedAttributeForProfileItem& WithIsDataPartial(Aws::String&& value) { SetIsDataPartial(std::move(value)); return *this;} /** *Indicates whether the calculated attribute’s value is based on partial data. * If data is partial, it is set to true.
*/ inline ListCalculatedAttributeForProfileItem& WithIsDataPartial(const char* value) { SetIsDataPartial(value); return *this;} /** *The value of the calculated attribute.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The value of the calculated attribute.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the calculated attribute.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the calculated attribute.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of the calculated attribute.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value of the calculated attribute.
*/ inline ListCalculatedAttributeForProfileItem& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_calculatedAttributeName; bool m_calculatedAttributeNameHasBeenSet = false; Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_isDataPartial; bool m_isDataPartialHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws