AWS SDK for C++  1.9.160
AWS SDK for C++
LabelingJobDataSource.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
41  {
42  public:
47 
48 
52  inline const LabelingJobS3DataSource& GetS3DataSource() const{ return m_s3DataSource; }
53 
57  inline bool S3DataSourceHasBeenSet() const { return m_s3DataSourceHasBeenSet; }
58 
62  inline void SetS3DataSource(const LabelingJobS3DataSource& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = value; }
63 
67  inline void SetS3DataSource(LabelingJobS3DataSource&& value) { m_s3DataSourceHasBeenSet = true; m_s3DataSource = std::move(value); }
68 
72  inline LabelingJobDataSource& WithS3DataSource(const LabelingJobS3DataSource& value) { SetS3DataSource(value); return *this;}
73 
77  inline LabelingJobDataSource& WithS3DataSource(LabelingJobS3DataSource&& value) { SetS3DataSource(std::move(value)); return *this;}
78 
79 
86  inline const LabelingJobSnsDataSource& GetSnsDataSource() const{ return m_snsDataSource; }
87 
94  inline bool SnsDataSourceHasBeenSet() const { return m_snsDataSourceHasBeenSet; }
95 
102  inline void SetSnsDataSource(const LabelingJobSnsDataSource& value) { m_snsDataSourceHasBeenSet = true; m_snsDataSource = value; }
103 
110  inline void SetSnsDataSource(LabelingJobSnsDataSource&& value) { m_snsDataSourceHasBeenSet = true; m_snsDataSource = std::move(value); }
111 
118  inline LabelingJobDataSource& WithSnsDataSource(const LabelingJobSnsDataSource& value) { SetSnsDataSource(value); return *this;}
119 
126  inline LabelingJobDataSource& WithSnsDataSource(LabelingJobSnsDataSource&& value) { SetSnsDataSource(std::move(value)); return *this;}
127 
128  private:
129 
130  LabelingJobS3DataSource m_s3DataSource;
131  bool m_s3DataSourceHasBeenSet;
132 
133  LabelingJobSnsDataSource m_snsDataSource;
134  bool m_snsDataSourceHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace SageMaker
139 } // namespace Aws
Aws::SageMaker::Model::LabelingJobDataSource::WithSnsDataSource
LabelingJobDataSource & WithSnsDataSource(LabelingJobSnsDataSource &&value)
Definition: LabelingJobDataSource.h:126
Aws::SageMaker::Model::LabelingJobDataSource::WithSnsDataSource
LabelingJobDataSource & WithSnsDataSource(const LabelingJobSnsDataSource &value)
Definition: LabelingJobDataSource.h:118
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::LabelingJobDataSource::GetSnsDataSource
const LabelingJobSnsDataSource & GetSnsDataSource() const
Definition: LabelingJobDataSource.h:86
Aws::SageMaker::Model::LabelingJobDataSource::SetSnsDataSource
void SetSnsDataSource(const LabelingJobSnsDataSource &value)
Definition: LabelingJobDataSource.h:102
Aws::SageMaker::Model::LabelingJobDataSource::WithS3DataSource
LabelingJobDataSource & WithS3DataSource(LabelingJobS3DataSource &&value)
Definition: LabelingJobDataSource.h:77
Aws::SageMaker::Model::LabelingJobDataSource::LabelingJobDataSource
LabelingJobDataSource()
Aws::SageMaker::Model::LabelingJobDataSource::SetS3DataSource
void SetS3DataSource(const LabelingJobS3DataSource &value)
Definition: LabelingJobDataSource.h:62
Aws::SageMaker::Model::LabelingJobDataSource::SetS3DataSource
void SetS3DataSource(LabelingJobS3DataSource &&value)
Definition: LabelingJobDataSource.h:67
Aws::SageMaker::Model::LabelingJobDataSource
Definition: LabelingJobDataSource.h:41
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::LabelingJobDataSource::GetS3DataSource
const LabelingJobS3DataSource & GetS3DataSource() const
Definition: LabelingJobDataSource.h:52
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::LabelingJobDataSource::LabelingJobDataSource
LabelingJobDataSource(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::LabelingJobS3DataSource
Definition: LabelingJobS3DataSource.h:33
Aws::SageMaker::Model::LabelingJobDataSource::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
LabelingJobSnsDataSource.h
Aws::SageMaker::Model::LabelingJobSnsDataSource
Definition: LabelingJobSnsDataSource.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::LabelingJobDataSource::S3DataSourceHasBeenSet
bool S3DataSourceHasBeenSet() const
Definition: LabelingJobDataSource.h:57
Aws::SageMaker::Model::LabelingJobDataSource::SetSnsDataSource
void SetSnsDataSource(LabelingJobSnsDataSource &&value)
Definition: LabelingJobDataSource.h:110
Aws::SageMaker::Model::LabelingJobDataSource::WithS3DataSource
LabelingJobDataSource & WithS3DataSource(const LabelingJobS3DataSource &value)
Definition: LabelingJobDataSource.h:72
Aws::SageMaker::Model::LabelingJobDataSource::operator=
LabelingJobDataSource & operator=(Aws::Utils::Json::JsonView jsonValue)
LabelingJobS3DataSource.h
Aws::SageMaker::Model::LabelingJobDataSource::SnsDataSourceHasBeenSet
bool SnsDataSourceHasBeenSet() const
Definition: LabelingJobDataSource.h:94