AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LabelingJobInputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/LabelingJobDataSource.h>
9#include <aws/sagemaker/model/LabelingJobDataAttributes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API LabelingJobInputConfig() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LabelingJobDataSource& GetDataSource() const { return m_dataSource; }
47 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
48 template<typename DataSourceT = LabelingJobDataSource>
49 void SetDataSource(DataSourceT&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::forward<DataSourceT>(value); }
50 template<typename DataSourceT = LabelingJobDataSource>
51 LabelingJobInputConfig& WithDataSource(DataSourceT&& value) { SetDataSource(std::forward<DataSourceT>(value)); return *this;}
53
55
58 inline const LabelingJobDataAttributes& GetDataAttributes() const { return m_dataAttributes; }
59 inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; }
60 template<typename DataAttributesT = LabelingJobDataAttributes>
61 void SetDataAttributes(DataAttributesT&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::forward<DataAttributesT>(value); }
62 template<typename DataAttributesT = LabelingJobDataAttributes>
63 LabelingJobInputConfig& WithDataAttributes(DataAttributesT&& value) { SetDataAttributes(std::forward<DataAttributesT>(value)); return *this;}
65 private:
66
67 LabelingJobDataSource m_dataSource;
68 bool m_dataSourceHasBeenSet = false;
69
70 LabelingJobDataAttributes m_dataAttributes;
71 bool m_dataAttributesHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace SageMaker
76} // namespace Aws
AWS_SAGEMAKER_API LabelingJobInputConfig(Aws::Utils::Json::JsonView jsonValue)
const LabelingJobDataAttributes & GetDataAttributes() const
LabelingJobInputConfig & WithDataAttributes(DataAttributesT &&value)
AWS_SAGEMAKER_API LabelingJobInputConfig()=default
AWS_SAGEMAKER_API LabelingJobInputConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobInputConfig & WithDataSource(DataSourceT &&value)
const LabelingJobDataSource & GetDataSource() const
Aws::Utils::Json::JsonValue JsonValue