AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
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
37 public:
38 AWS_SAGEMAKER_API LabelingJobDataSource() = default;
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const LabelingJobS3DataSource& GetS3DataSource() const { return m_s3DataSource; }
48 inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
49 template <typename S3DataSourceT = LabelingJobS3DataSource>
50 void SetS3DataSource(S3DataSourceT&& value) {
51 m_s3DataSourceHasBeenSet = true;
52 m_s3DataSource = std::forward<S3DataSourceT>(value);
53 }
54 template <typename S3DataSourceT = LabelingJobS3DataSource>
55 LabelingJobDataSource& WithS3DataSource(S3DataSourceT&& value) {
56 SetS3DataSource(std::forward<S3DataSourceT>(value));
57 return *this;
58 }
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) {
72 m_snsDataSourceHasBeenSet = true;
73 m_snsDataSource = std::forward<SnsDataSourceT>(value);
74 }
75 template <typename SnsDataSourceT = LabelingJobSnsDataSource>
76 LabelingJobDataSource& WithSnsDataSource(SnsDataSourceT&& value) {
77 SetSnsDataSource(std::forward<SnsDataSourceT>(value));
78 return *this;
79 }
81 private:
82 LabelingJobS3DataSource m_s3DataSource;
83
84 LabelingJobSnsDataSource m_snsDataSource;
85 bool m_s3DataSourceHasBeenSet = false;
86 bool m_snsDataSourceHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace SageMaker
91} // 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