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

Details for the external events data used for model version * training.

See Also:

AWS * API Reference

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

The Amazon S3 bucket location for the data.

*/ inline const Aws::String& GetDataLocation() const{ return m_dataLocation; } /** *

The Amazon S3 bucket location for the data.

*/ inline bool DataLocationHasBeenSet() const { return m_dataLocationHasBeenSet; } /** *

The Amazon S3 bucket location for the data.

*/ inline void SetDataLocation(const Aws::String& value) { m_dataLocationHasBeenSet = true; m_dataLocation = value; } /** *

The Amazon S3 bucket location for the data.

*/ inline void SetDataLocation(Aws::String&& value) { m_dataLocationHasBeenSet = true; m_dataLocation = std::move(value); } /** *

The Amazon S3 bucket location for the data.

*/ inline void SetDataLocation(const char* value) { m_dataLocationHasBeenSet = true; m_dataLocation.assign(value); } /** *

The Amazon S3 bucket location for the data.

*/ inline ExternalEventsDetail& WithDataLocation(const Aws::String& value) { SetDataLocation(value); return *this;} /** *

The Amazon S3 bucket location for the data.

*/ inline ExternalEventsDetail& WithDataLocation(Aws::String&& value) { SetDataLocation(std::move(value)); return *this;} /** *

The Amazon S3 bucket location for the data.

*/ inline ExternalEventsDetail& WithDataLocation(const char* value) { SetDataLocation(value); return *this;} /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline const Aws::String& GetDataAccessRoleArn() const{ return m_dataAccessRoleArn; } /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline bool DataAccessRoleArnHasBeenSet() const { return m_dataAccessRoleArnHasBeenSet; } /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline void SetDataAccessRoleArn(const Aws::String& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = value; } /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline void SetDataAccessRoleArn(Aws::String&& value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn = std::move(value); } /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline void SetDataAccessRoleArn(const char* value) { m_dataAccessRoleArnHasBeenSet = true; m_dataAccessRoleArn.assign(value); } /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline ExternalEventsDetail& WithDataAccessRoleArn(const Aws::String& value) { SetDataAccessRoleArn(value); return *this;} /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline ExternalEventsDetail& WithDataAccessRoleArn(Aws::String&& value) { SetDataAccessRoleArn(std::move(value)); return *this;} /** *

The ARN of the role that provides Amazon Fraud Detector access to the data * location.

*/ inline ExternalEventsDetail& WithDataAccessRoleArn(const char* value) { SetDataAccessRoleArn(value); return *this;} private: Aws::String m_dataLocation; bool m_dataLocationHasBeenSet = false; Aws::String m_dataAccessRoleArn; bool m_dataAccessRoleArnHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws