AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialComponentSourceDetail.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/TrainingJob.h>
10#include <aws/sagemaker/model/ProcessingJob.h>
11#include <aws/sagemaker/model/TransformJob.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_SAGEMAKER_API TrialComponentSourceDetail();
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
50 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
51 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
52 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
53 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
54 inline TrialComponentSourceDetail& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
55 inline TrialComponentSourceDetail& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
56 inline TrialComponentSourceDetail& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
58
60
63 inline const TrainingJob& GetTrainingJob() const{ return m_trainingJob; }
64 inline bool TrainingJobHasBeenSet() const { return m_trainingJobHasBeenSet; }
65 inline void SetTrainingJob(const TrainingJob& value) { m_trainingJobHasBeenSet = true; m_trainingJob = value; }
66 inline void SetTrainingJob(TrainingJob&& value) { m_trainingJobHasBeenSet = true; m_trainingJob = std::move(value); }
67 inline TrialComponentSourceDetail& WithTrainingJob(const TrainingJob& value) { SetTrainingJob(value); return *this;}
68 inline TrialComponentSourceDetail& WithTrainingJob(TrainingJob&& value) { SetTrainingJob(std::move(value)); return *this;}
70
72
76 inline const ProcessingJob& GetProcessingJob() const{ return m_processingJob; }
77 inline bool ProcessingJobHasBeenSet() const { return m_processingJobHasBeenSet; }
78 inline void SetProcessingJob(const ProcessingJob& value) { m_processingJobHasBeenSet = true; m_processingJob = value; }
79 inline void SetProcessingJob(ProcessingJob&& value) { m_processingJobHasBeenSet = true; m_processingJob = std::move(value); }
80 inline TrialComponentSourceDetail& WithProcessingJob(const ProcessingJob& value) { SetProcessingJob(value); return *this;}
81 inline TrialComponentSourceDetail& WithProcessingJob(ProcessingJob&& value) { SetProcessingJob(std::move(value)); return *this;}
83
85
88 inline const TransformJob& GetTransformJob() const{ return m_transformJob; }
89 inline bool TransformJobHasBeenSet() const { return m_transformJobHasBeenSet; }
90 inline void SetTransformJob(const TransformJob& value) { m_transformJobHasBeenSet = true; m_transformJob = value; }
91 inline void SetTransformJob(TransformJob&& value) { m_transformJobHasBeenSet = true; m_transformJob = std::move(value); }
92 inline TrialComponentSourceDetail& WithTransformJob(const TransformJob& value) { SetTransformJob(value); return *this;}
93 inline TrialComponentSourceDetail& WithTransformJob(TransformJob&& value) { SetTransformJob(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_sourceArn;
98 bool m_sourceArnHasBeenSet = false;
99
100 TrainingJob m_trainingJob;
101 bool m_trainingJobHasBeenSet = false;
102
103 ProcessingJob m_processingJob;
104 bool m_processingJobHasBeenSet = false;
105
106 TransformJob m_transformJob;
107 bool m_transformJobHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SageMaker
112} // namespace Aws
TrialComponentSourceDetail & WithTransformJob(const TransformJob &value)
TrialComponentSourceDetail & WithSourceArn(const char *value)
TrialComponentSourceDetail & WithProcessingJob(ProcessingJob &&value)
AWS_SAGEMAKER_API TrialComponentSourceDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentSourceDetail & WithSourceArn(const Aws::String &value)
AWS_SAGEMAKER_API TrialComponentSourceDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSourceDetail & WithTransformJob(TransformJob &&value)
TrialComponentSourceDetail & WithProcessingJob(const ProcessingJob &value)
TrialComponentSourceDetail & WithTrainingJob(TrainingJob &&value)
TrialComponentSourceDetail & WithSourceArn(Aws::String &&value)
TrialComponentSourceDetail & WithTrainingJob(const TrainingJob &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue