/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The variable.See Also:
AWS
* API Reference
The name of the variable.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the variable.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the variable.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the variable.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the variable.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the variable.
*/ inline Variable& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the variable.
*/ inline Variable& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the variable.
*/ inline Variable& WithName(const char* value) { SetName(value); return *this;} /** *The data type of the variable. For more information see Variable * types.
*/ inline const DataType& GetDataType() const{ return m_dataType; } /** *The data type of the variable. For more information see Variable * types.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The data type of the variable. For more information see Variable * types.
*/ inline void SetDataType(const DataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The data type of the variable. For more information see Variable * types.
*/ inline void SetDataType(DataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The data type of the variable. For more information see Variable * types.
*/ inline Variable& WithDataType(const DataType& value) { SetDataType(value); return *this;} /** *The data type of the variable. For more information see Variable * types.
*/ inline Variable& WithDataType(DataType&& value) { SetDataType(std::move(value)); return *this;} /** *The data source of the variable.
*/ inline const DataSource& GetDataSource() const{ return m_dataSource; } /** *The data source of the variable.
*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *The data source of the variable.
*/ inline void SetDataSource(const DataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *The data source of the variable.
*/ inline void SetDataSource(DataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *The data source of the variable.
*/ inline Variable& WithDataSource(const DataSource& value) { SetDataSource(value); return *this;} /** *The data source of the variable.
*/ inline Variable& WithDataSource(DataSource&& value) { SetDataSource(std::move(value)); return *this;} /** *The default value of the variable.
*/ inline const Aws::String& GetDefaultValue() const{ return m_defaultValue; } /** *The default value of the variable.
*/ inline bool DefaultValueHasBeenSet() const { return m_defaultValueHasBeenSet; } /** *The default value of the variable.
*/ inline void SetDefaultValue(const Aws::String& value) { m_defaultValueHasBeenSet = true; m_defaultValue = value; } /** *The default value of the variable.
*/ inline void SetDefaultValue(Aws::String&& value) { m_defaultValueHasBeenSet = true; m_defaultValue = std::move(value); } /** *The default value of the variable.
*/ inline void SetDefaultValue(const char* value) { m_defaultValueHasBeenSet = true; m_defaultValue.assign(value); } /** *The default value of the variable.
*/ inline Variable& WithDefaultValue(const Aws::String& value) { SetDefaultValue(value); return *this;} /** *The default value of the variable.
*/ inline Variable& WithDefaultValue(Aws::String&& value) { SetDefaultValue(std::move(value)); return *this;} /** *The default value of the variable.
*/ inline Variable& WithDefaultValue(const char* value) { SetDefaultValue(value); return *this;} /** *The description of the variable.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the variable.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the variable.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the variable.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the variable.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the variable.
*/ inline Variable& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the variable.
*/ inline Variable& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the variable.
*/ inline Variable& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The variable type of the variable.
Valid Values: AUTH_CODE | AVS
* | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY |
* BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN |
* CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL |
* FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER |
* PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 |
* SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE |
* SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
The time when variable was last updated.
*/ inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The time when variable was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The time when variable was last updated.
*/ inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The time when variable was last updated.
*/ inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The time when variable was last updated.
*/ inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); } /** *The time when variable was last updated.
*/ inline Variable& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;} /** *The time when variable was last updated.
*/ inline Variable& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The time when variable was last updated.
*/ inline Variable& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;} /** *The time when the variable was created.
*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *The time when the variable was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The time when the variable was created.
*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The time when the variable was created.
*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The time when the variable was created.
*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *The time when the variable was created.
*/ inline Variable& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *The time when the variable was created.
*/ inline Variable& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The time when the variable was created.
*/ inline Variable& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *The ARN of the variable.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the variable.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the variable.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the variable.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the variable.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the variable.
*/ inline Variable& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the variable.
*/ inline Variable& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the variable.
*/ inline Variable& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; DataType m_dataType; bool m_dataTypeHasBeenSet = false; DataSource m_dataSource; bool m_dataSourceHasBeenSet = false; Aws::String m_defaultValue; bool m_defaultValueHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_variableType; bool m_variableTypeHasBeenSet = false; Aws::String m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws