AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelingJobInputConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/LabelingJobDataAttributes.h>
9#include <aws/sagemaker/model/LabelingJobDataSource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API LabelingJobInputConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const LabelingJobDataSource& GetDataSource() const { return m_dataSource; }
41 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
42 template <typename DataSourceT = LabelingJobDataSource>
43 void SetDataSource(DataSourceT&& value) {
44 m_dataSourceHasBeenSet = true;
45 m_dataSource = std::forward<DataSourceT>(value);
46 }
47 template <typename DataSourceT = LabelingJobDataSource>
48 LabelingJobInputConfig& WithDataSource(DataSourceT&& value) {
49 SetDataSource(std::forward<DataSourceT>(value));
50 return *this;
51 }
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) {
62 m_dataAttributesHasBeenSet = true;
63 m_dataAttributes = std::forward<DataAttributesT>(value);
64 }
65 template <typename DataAttributesT = LabelingJobDataAttributes>
66 LabelingJobInputConfig& WithDataAttributes(DataAttributesT&& value) {
67 SetDataAttributes(std::forward<DataAttributesT>(value));
68 return *this;
69 }
71 private:
72 LabelingJobDataSource m_dataSource;
73
74 LabelingJobDataAttributes m_dataAttributes;
75 bool m_dataSourceHasBeenSet = false;
76 bool m_dataAttributesHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SageMaker
81} // 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