/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon SageMaker model.See Also:
AWS
* API Reference
The Amazon SageMaker model endpoints.
*/ inline const Aws::String& GetModelEndpoint() const{ return m_modelEndpoint; } /** *The Amazon SageMaker model endpoints.
*/ inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; } /** *The Amazon SageMaker model endpoints.
*/ inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; } /** *The Amazon SageMaker model endpoints.
*/ inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); } /** *The Amazon SageMaker model endpoints.
*/ inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); } /** *The Amazon SageMaker model endpoints.
*/ inline ExternalModel& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;} /** *The Amazon SageMaker model endpoints.
*/ inline ExternalModel& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;} /** *The Amazon SageMaker model endpoints.
*/ inline ExternalModel& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;} /** *The source of the model.
*/ inline const ModelSource& GetModelSource() const{ return m_modelSource; } /** *The source of the model.
*/ inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; } /** *The source of the model.
*/ inline void SetModelSource(const ModelSource& value) { m_modelSourceHasBeenSet = true; m_modelSource = value; } /** *The source of the model.
*/ inline void SetModelSource(ModelSource&& value) { m_modelSourceHasBeenSet = true; m_modelSource = std::move(value); } /** *The source of the model.
*/ inline ExternalModel& WithModelSource(const ModelSource& value) { SetModelSource(value); return *this;} /** *The source of the model.
*/ inline ExternalModel& WithModelSource(ModelSource&& value) { SetModelSource(std::move(value)); return *this;} /** *The role used to invoke the model.
*/ inline const Aws::String& GetInvokeModelEndpointRoleArn() const{ return m_invokeModelEndpointRoleArn; } /** *The role used to invoke the model.
*/ inline bool InvokeModelEndpointRoleArnHasBeenSet() const { return m_invokeModelEndpointRoleArnHasBeenSet; } /** *The role used to invoke the model.
*/ inline void SetInvokeModelEndpointRoleArn(const Aws::String& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = value; } /** *The role used to invoke the model.
*/ inline void SetInvokeModelEndpointRoleArn(Aws::String&& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = std::move(value); } /** *The role used to invoke the model.
*/ inline void SetInvokeModelEndpointRoleArn(const char* value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn.assign(value); } /** *The role used to invoke the model.
*/ inline ExternalModel& WithInvokeModelEndpointRoleArn(const Aws::String& value) { SetInvokeModelEndpointRoleArn(value); return *this;} /** *The role used to invoke the model.
*/ inline ExternalModel& WithInvokeModelEndpointRoleArn(Aws::String&& value) { SetInvokeModelEndpointRoleArn(std::move(value)); return *this;} /** *The role used to invoke the model.
*/ inline ExternalModel& WithInvokeModelEndpointRoleArn(const char* value) { SetInvokeModelEndpointRoleArn(value); return *this;} /** *The input configuration.
*/ inline const ModelInputConfiguration& GetInputConfiguration() const{ return m_inputConfiguration; } /** *The input configuration.
*/ inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; } /** *The input configuration.
*/ inline void SetInputConfiguration(const ModelInputConfiguration& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = value; } /** *The input configuration.
*/ inline void SetInputConfiguration(ModelInputConfiguration&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::move(value); } /** *The input configuration.
*/ inline ExternalModel& WithInputConfiguration(const ModelInputConfiguration& value) { SetInputConfiguration(value); return *this;} /** *The input configuration.
*/ inline ExternalModel& WithInputConfiguration(ModelInputConfiguration&& value) { SetInputConfiguration(std::move(value)); return *this;} /** *The output configuration.
*/ inline const ModelOutputConfiguration& GetOutputConfiguration() const{ return m_outputConfiguration; } /** *The output configuration.
*/ inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; } /** *The output configuration.
*/ inline void SetOutputConfiguration(const ModelOutputConfiguration& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = value; } /** *The output configuration.
*/ inline void SetOutputConfiguration(ModelOutputConfiguration&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::move(value); } /** *The output configuration.
*/ inline ExternalModel& WithOutputConfiguration(const ModelOutputConfiguration& value) { SetOutputConfiguration(value); return *this;} /** *The output configuration.
*/ inline ExternalModel& WithOutputConfiguration(ModelOutputConfiguration&& value) { SetOutputConfiguration(std::move(value)); return *this;} /** *The Amazon Fraud Detector status for the external model endpoint
*/ inline const ModelEndpointStatus& GetModelEndpointStatus() const{ return m_modelEndpointStatus; } /** *The Amazon Fraud Detector status for the external model endpoint
*/ inline bool ModelEndpointStatusHasBeenSet() const { return m_modelEndpointStatusHasBeenSet; } /** *The Amazon Fraud Detector status for the external model endpoint
*/ inline void SetModelEndpointStatus(const ModelEndpointStatus& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = value; } /** *The Amazon Fraud Detector status for the external model endpoint
*/ inline void SetModelEndpointStatus(ModelEndpointStatus&& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = std::move(value); } /** *The Amazon Fraud Detector status for the external model endpoint
*/ inline ExternalModel& WithModelEndpointStatus(const ModelEndpointStatus& value) { SetModelEndpointStatus(value); return *this;} /** *The Amazon Fraud Detector status for the external model endpoint
*/ inline ExternalModel& WithModelEndpointStatus(ModelEndpointStatus&& value) { SetModelEndpointStatus(std::move(value)); return *this;} /** *Timestamp of when the model was last updated.
*/ inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *Timestamp of when the model was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *Timestamp of when the model was last updated.
*/ inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *Timestamp of when the model was last updated.
*/ inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *Timestamp of when the model was last updated.
*/ inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); } /** *Timestamp of when the model was last updated.
*/ inline ExternalModel& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;} /** *Timestamp of when the model was last updated.
*/ inline ExternalModel& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *Timestamp of when the model was last updated.
*/ inline ExternalModel& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;} /** *Timestamp of when the model was last created.
*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *Timestamp of when the model was last created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *Timestamp of when the model was last created.
*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *Timestamp of when the model was last created.
*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *Timestamp of when the model was last created.
*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *Timestamp of when the model was last created.
*/ inline ExternalModel& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *Timestamp of when the model was last created.
*/ inline ExternalModel& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *Timestamp of when the model was last created.
*/ inline ExternalModel& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *The model ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The model ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The model ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The model ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The model ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The model ARN.
*/ inline ExternalModel& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The model ARN.
*/ inline ExternalModel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The model ARN.
*/ inline ExternalModel& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_modelEndpoint; bool m_modelEndpointHasBeenSet = false; ModelSource m_modelSource; bool m_modelSourceHasBeenSet = false; Aws::String m_invokeModelEndpointRoleArn; bool m_invokeModelEndpointRoleArnHasBeenSet = false; ModelInputConfiguration m_inputConfiguration; bool m_inputConfigurationHasBeenSet = false; ModelOutputConfiguration m_outputConfiguration; bool m_outputConfigurationHasBeenSet = false; ModelEndpointStatus m_modelEndpointStatus; bool m_modelEndpointStatusHasBeenSet = 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