/** * 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 { /** *

The outcome.

See Also:

AWS * API Reference

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

The outcome name.

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

The outcome name.

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

The outcome name.

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

The outcome name.

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

The outcome name.

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

The outcome name.

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

The outcome name.

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

The outcome name.

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

The outcome description.

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

The outcome description.

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

The outcome description.

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

The outcome description.

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

The outcome description.

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

The outcome description.

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

The outcome description.

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

The outcome description.

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

The timestamp when the outcome was last updated.

*/ inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *

The timestamp when the outcome was last updated.

*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *

The timestamp when the outcome was last updated.

*/ inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *

The timestamp when the outcome was last updated.

*/ inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *

The timestamp when the outcome was last updated.

*/ inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); } /** *

The timestamp when the outcome was last updated.

*/ inline Outcome& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;} /** *

The timestamp when the outcome was last updated.

*/ inline Outcome& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *

The timestamp when the outcome was last updated.

*/ inline Outcome& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;} /** *

The timestamp when the outcome was created.

*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *

The timestamp when the outcome was created.

*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *

The timestamp when the outcome was created.

*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *

The timestamp when the outcome was created.

*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *

The timestamp when the outcome was created.

*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *

The timestamp when the outcome was created.

*/ inline Outcome& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *

The timestamp when the outcome was created.

*/ inline Outcome& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *

The timestamp when the outcome was created.

*/ inline Outcome& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *

The outcome ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The outcome ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The outcome ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The outcome ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The outcome ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The outcome ARN.

*/ inline Outcome& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The outcome ARN.

*/ inline Outcome& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The outcome ARN.

*/ inline Outcome& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = 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