208 lines
6.8 KiB
C
208 lines
6.8 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/sagemaker/model/TrainingJob.h>
|
|||
|
|
#include <aws/sagemaker/model/ProcessingJob.h>
|
|||
|
|
#include <aws/sagemaker/model/TransformJob.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
class JsonView;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace SageMaker
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Detailed information about the source of a trial component. Either
|
|||
|
|
* <code>ProcessingJob</code> or <code>TrainingJob</code> is
|
|||
|
|
* returned.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/TrialComponentSourceDetail">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_SAGEMAKER_API TrialComponentSourceDetail
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
TrialComponentSourceDetail();
|
|||
|
|
TrialComponentSourceDetail(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
TrialComponentSourceDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|||
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the source.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a training job that's the source of a trial component.</p>
|
|||
|
|
*/
|
|||
|
|
inline const TrainingJob& GetTrainingJob() const{ return m_trainingJob; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a training job that's the source of a trial component.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TrainingJobHasBeenSet() const { return m_trainingJobHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a training job that's the source of a trial component.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTrainingJob(const TrainingJob& value) { m_trainingJobHasBeenSet = true; m_trainingJob = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a training job that's the source of a trial component.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTrainingJob(TrainingJob&& value) { m_trainingJobHasBeenSet = true; m_trainingJob = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a training job that's the source of a trial component.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithTrainingJob(const TrainingJob& value) { SetTrainingJob(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a training job that's the source of a trial component.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithTrainingJob(TrainingJob&& value) { SetTrainingJob(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a processing job that's the source of a trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline const ProcessingJob& GetProcessingJob() const{ return m_processingJob; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a processing job that's the source of a trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool ProcessingJobHasBeenSet() const { return m_processingJobHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a processing job that's the source of a trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProcessingJob(const ProcessingJob& value) { m_processingJobHasBeenSet = true; m_processingJob = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a processing job that's the source of a trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetProcessingJob(ProcessingJob&& value) { m_processingJobHasBeenSet = true; m_processingJob = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a processing job that's the source of a trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithProcessingJob(const ProcessingJob& value) { SetProcessingJob(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a processing job that's the source of a trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithProcessingJob(ProcessingJob&& value) { SetProcessingJob(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a transform job that's the source of the trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline const TransformJob& GetTransformJob() const{ return m_transformJob; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a transform job that's the source of the trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool TransformJobHasBeenSet() const { return m_transformJobHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a transform job that's the source of the trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTransformJob(const TransformJob& value) { m_transformJobHasBeenSet = true; m_transformJob = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a transform job that's the source of the trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetTransformJob(TransformJob&& value) { m_transformJobHasBeenSet = true; m_transformJob = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a transform job that's the source of the trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithTransformJob(const TransformJob& value) { SetTransformJob(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Information about a transform job that's the source of the trial
|
|||
|
|
* component.</p>
|
|||
|
|
*/
|
|||
|
|
inline TrialComponentSourceDetail& WithTransformJob(TransformJob&& value) { SetTransformJob(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_sourceArn;
|
|||
|
|
bool m_sourceArnHasBeenSet;
|
|||
|
|
|
|||
|
|
TrainingJob m_trainingJob;
|
|||
|
|
bool m_trainingJobHasBeenSet;
|
|||
|
|
|
|||
|
|
ProcessingJob m_processingJob;
|
|||
|
|
bool m_processingJobHasBeenSet;
|
|||
|
|
|
|||
|
|
TransformJob m_transformJob;
|
|||
|
|
bool m_transformJobHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SageMaker
|
|||
|
|
} // namespace Aws
|