AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HumanLoopDataAttributes.h
1
6#pragma once
7#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker-a2i-runtime/model/ContentClassifier.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 AugmentedAIRuntime
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_AUGMENTEDAIRUNTIME_API HumanLoopDataAttributes();
37 AWS_AUGMENTEDAIRUNTIME_API HumanLoopDataAttributes(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUGMENTEDAIRUNTIME_API HumanLoopDataAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AUGMENTEDAIRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const Aws::Vector<ContentClassifier>& GetContentClassifiers() const{ return m_contentClassifiers; }
49 inline bool ContentClassifiersHasBeenSet() const { return m_contentClassifiersHasBeenSet; }
50 inline void SetContentClassifiers(const Aws::Vector<ContentClassifier>& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = value; }
51 inline void SetContentClassifiers(Aws::Vector<ContentClassifier>&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = std::move(value); }
54 inline HumanLoopDataAttributes& AddContentClassifiers(const ContentClassifier& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(value); return *this; }
55 inline HumanLoopDataAttributes& AddContentClassifiers(ContentClassifier&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(std::move(value)); return *this; }
57 private:
58
59 Aws::Vector<ContentClassifier> m_contentClassifiers;
60 bool m_contentClassifiersHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace AugmentedAIRuntime
65} // namespace Aws
HumanLoopDataAttributes & WithContentClassifiers(Aws::Vector< ContentClassifier > &&value)
AWS_AUGMENTEDAIRUNTIME_API HumanLoopDataAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopDataAttributes & WithContentClassifiers(const Aws::Vector< ContentClassifier > &value)
AWS_AUGMENTEDAIRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_AUGMENTEDAIRUNTIME_API HumanLoopDataAttributes(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ContentClassifier > & GetContentClassifiers() const
void SetContentClassifiers(const Aws::Vector< ContentClassifier > &value)
void SetContentClassifiers(Aws::Vector< ContentClassifier > &&value)
HumanLoopDataAttributes & AddContentClassifiers(ContentClassifier &&value)
HumanLoopDataAttributes & AddContentClassifiers(const ContentClassifier &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue