AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetS3DataSource(const LabelingJobS3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
56 inline void SetS3DataSource(LabelingJobS3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
58 inline LabelingJobDataSource& WithS3DataSource(LabelingJobS3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
60
62
68 inline const LabelingJobSnsDataSource& GetSnsDataSource() const{ return m_snsDataSource; }
69 inline bool SnsDataSourceHasBeenSet() const { return m_snsDataSourceHasBeenSet; }
70 inline void SetSnsDataSource(const LabelingJobSnsDataSource& value) { m_snsDataSourceHasBeenSet = true; m_snsDataSource = value; }
71 inline void SetSnsDataSource(LabelingJobSnsDataSource&& value) { m_snsDataSourceHasBeenSet = true; m_snsDataSource = std::move(value); }
73 inline LabelingJobDataSource& WithSnsDataSource(LabelingJobSnsDataSource&& value) { SetSnsDataSource(std::move(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
void SetSnsDataSource(const LabelingJobSnsDataSource &value)
AWS_SAGEMAKER_API LabelingJobDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
LabelingJobDataSource & WithS3DataSource(const LabelingJobS3DataSource &value)
LabelingJobDataSource & WithSnsDataSource(LabelingJobSnsDataSource &&value)
const LabelingJobS3DataSource & GetS3DataSource() const
void SetS3DataSource(LabelingJobS3DataSource &&value)
void SetSnsDataSource(LabelingJobSnsDataSource &&value)
AWS_SAGEMAKER_API LabelingJobDataSource(Aws::Utils::Json::JsonView jsonValue)
const LabelingJobSnsDataSource & GetSnsDataSource() const
LabelingJobDataSource & WithS3DataSource(LabelingJobS3DataSource &&value)
LabelingJobDataSource & WithSnsDataSource(const LabelingJobSnsDataSource &value)
void SetS3DataSource(const LabelingJobS3DataSource &value)
Aws::Utils::Json::JsonValue JsonValue