AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
LabelingJobDataSource.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/LabelingJobS3DataSource.h>
9#include <aws/sagemaker/model/LabelingJobSnsDataSource.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
41 {
42 public:
43 AWS_SAGEMAKER_API LabelingJobDataSource() = default;
46 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const LabelingJobS3DataSource& GetS3DataSource() const { return m_s3DataSource; }
54 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
55 template<typename S3DataSourceT = LabelingJobS3DataSource>
56 void SetS3DataSource(S3DataSourceT&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::forward<S3DataSourceT>(value); }
57 template<typename S3DataSourceT = LabelingJobS3DataSource>
58 LabelingJobDataSource& WithS3DataSource(S3DataSourceT&& value) { SetS3DataSource(std::forward<S3DataSourceT>(value)); return *this;}
60
62
68 inline const LabelingJobSnsDataSource& GetSnsDataSource() const { return m_snsDataSource; }
69 inline bool SnsDataSourceHasBeenSet() const { return m_snsDataSourceHasBeenSet; }
70 template<typename SnsDataSourceT = LabelingJobSnsDataSource>
71 void SetSnsDataSource(SnsDataSourceT&& value) { m_snsDataSourceHasBeenSet = true; m_snsDataSource = std::forward<SnsDataSourceT>(value); }
72 template<typename SnsDataSourceT = LabelingJobSnsDataSource>
73 LabelingJobDataSource& WithSnsDataSource(SnsDataSourceT&& value) { SetSnsDataSource(std::forward<SnsDataSourceT>(value)); return *this;}
75 private:
76
77 LabelingJobS3DataSource m_s3DataSource;
78 bool m_s3DataSourceHasBeenSet = false;
79
80 LabelingJobSnsDataSource m_snsDataSource;
81 bool m_snsDataSourceHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SageMaker
86} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API LabelingJobDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const LabelingJobS3DataSource & GetS3DataSource() const
AWS_SAGEMAKER_API LabelingJobDataSource()=default
AWS_SAGEMAKER_API LabelingJobDataSource(Aws::Utils::Json::JsonView jsonValue)
const LabelingJobSnsDataSource & GetSnsDataSource() const
LabelingJobDataSource & WithSnsDataSource(SnsDataSourceT &&value)
LabelingJobDataSource & WithS3DataSource(S3DataSourceT &&value)
Aws::Utils::Json::JsonValue JsonValue