AWS SDK for C++  1.9.158
AWS SDK for C++
LabelingJobDataAttributes.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 
34  {
35  public:
40 
41 
47  inline const Aws::Vector<ContentClassifier>& GetContentClassifiers() const{ return m_contentClassifiers; }
48 
54  inline bool ContentClassifiersHasBeenSet() const { return m_contentClassifiersHasBeenSet; }
55 
61  inline void SetContentClassifiers(const Aws::Vector<ContentClassifier>& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = value; }
62 
68  inline void SetContentClassifiers(Aws::Vector<ContentClassifier>&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = std::move(value); }
69 
75  inline LabelingJobDataAttributes& WithContentClassifiers(const Aws::Vector<ContentClassifier>& value) { SetContentClassifiers(value); return *this;}
76 
82  inline LabelingJobDataAttributes& WithContentClassifiers(Aws::Vector<ContentClassifier>&& value) { SetContentClassifiers(std::move(value)); return *this;}
83 
89  inline LabelingJobDataAttributes& AddContentClassifiers(const ContentClassifier& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(value); return *this; }
90 
96  inline LabelingJobDataAttributes& AddContentClassifiers(ContentClassifier&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(std::move(value)); return *this; }
97 
98  private:
99 
100  Aws::Vector<ContentClassifier> m_contentClassifiers;
101  bool m_contentClassifiersHasBeenSet;
102  };
103 
104 } // namespace Model
105 } // namespace SageMaker
106 } // namespace Aws
Aws::SageMaker::Model::LabelingJobDataAttributes::operator=
LabelingJobDataAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
ContentClassifier.h
SageMaker_EXPORTS.h
Aws::SageMaker::Model::LabelingJobDataAttributes::LabelingJobDataAttributes
LabelingJobDataAttributes()
Aws::SageMaker::Model::LabelingJobDataAttributes::ContentClassifiersHasBeenSet
bool ContentClassifiersHasBeenSet() const
Definition: LabelingJobDataAttributes.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::LabelingJobDataAttributes::LabelingJobDataAttributes
LabelingJobDataAttributes(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::LabelingJobDataAttributes::SetContentClassifiers
void SetContentClassifiers(const Aws::Vector< ContentClassifier > &value)
Definition: LabelingJobDataAttributes.h:61
Aws::SageMaker::Model::LabelingJobDataAttributes::SetContentClassifiers
void SetContentClassifiers(Aws::Vector< ContentClassifier > &&value)
Definition: LabelingJobDataAttributes.h:68
Aws::SageMaker::Model::LabelingJobDataAttributes::AddContentClassifiers
LabelingJobDataAttributes & AddContentClassifiers(const ContentClassifier &value)
Definition: LabelingJobDataAttributes.h:89
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::LabelingJobDataAttributes::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::LabelingJobDataAttributes::AddContentClassifiers
LabelingJobDataAttributes & AddContentClassifiers(ContentClassifier &&value)
Definition: LabelingJobDataAttributes.h:96
Aws::SageMaker::Model::LabelingJobDataAttributes::WithContentClassifiers
LabelingJobDataAttributes & WithContentClassifiers(Aws::Vector< ContentClassifier > &&value)
Definition: LabelingJobDataAttributes.h:82
Aws::SageMaker::Model::LabelingJobDataAttributes::GetContentClassifiers
const Aws::Vector< ContentClassifier > & GetContentClassifiers() const
Definition: LabelingJobDataAttributes.h:47
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::LabelingJobDataAttributes::WithContentClassifiers
LabelingJobDataAttributes & WithContentClassifiers(const Aws::Vector< ContentClassifier > &value)
Definition: LabelingJobDataAttributes.h:75
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::LabelingJobDataAttributes
Definition: LabelingJobDataAttributes.h:34
Aws::SageMaker::Model::ContentClassifier
ContentClassifier
Definition: ContentClassifier.h:17