/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

Information about the summary of an event variable that was evaluated for * generating prediction.

See Also:

AWS * API Reference

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

The event variable name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The event variable name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The event variable name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The event variable name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The event variable name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The event variable name.

*/ inline EventVariableSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The event variable name.

*/ inline EventVariableSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The event variable name.

*/ inline EventVariableSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The value of the event variable.

*/ inline const Aws::String& GetValue() const{ return m_value; } /** *

The value of the event variable.

*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *

The value of the event variable.

*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *

The value of the event variable.

*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *

The value of the event variable.

*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *

The value of the event variable.

*/ inline EventVariableSummary& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *

The value of the event variable.

*/ inline EventVariableSummary& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *

The value of the event variable.

*/ inline EventVariableSummary& WithValue(const char* value) { SetValue(value); return *this;} /** *

The event variable source.

*/ inline const Aws::String& GetSource() const{ return m_source; } /** *

The event variable source.

*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *

The event variable source.

*/ inline void SetSource(const Aws::String& value) { m_sourceHasBeenSet = true; m_source = value; } /** *

The event variable source.

*/ inline void SetSource(Aws::String&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *

The event variable source.

*/ inline void SetSource(const char* value) { m_sourceHasBeenSet = true; m_source.assign(value); } /** *

The event variable source.

*/ inline EventVariableSummary& WithSource(const Aws::String& value) { SetSource(value); return *this;} /** *

The event variable source.

*/ inline EventVariableSummary& WithSource(Aws::String&& value) { SetSource(std::move(value)); return *this;} /** *

The event variable source.

*/ inline EventVariableSummary& WithSource(const char* value) { SetSource(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; Aws::String m_source; bool m_sourceHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws