AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
LabelingJobAlgorithmsConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/LabelingJobResourceConfig.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
31 public:
32 AWS_SAGEMAKER_API LabelingJobAlgorithmsConfig() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
51 inline const Aws::String& GetLabelingJobAlgorithmSpecificationArn() const { return m_labelingJobAlgorithmSpecificationArn; }
52 inline bool LabelingJobAlgorithmSpecificationArnHasBeenSet() const { return m_labelingJobAlgorithmSpecificationArnHasBeenSet; }
53 template <typename LabelingJobAlgorithmSpecificationArnT = Aws::String>
54 void SetLabelingJobAlgorithmSpecificationArn(LabelingJobAlgorithmSpecificationArnT&& value) {
55 m_labelingJobAlgorithmSpecificationArnHasBeenSet = true;
56 m_labelingJobAlgorithmSpecificationArn = std::forward<LabelingJobAlgorithmSpecificationArnT>(value);
57 }
58 template <typename LabelingJobAlgorithmSpecificationArnT = Aws::String>
59 LabelingJobAlgorithmsConfig& WithLabelingJobAlgorithmSpecificationArn(LabelingJobAlgorithmSpecificationArnT&& value) {
60 SetLabelingJobAlgorithmSpecificationArn(std::forward<LabelingJobAlgorithmSpecificationArnT>(value));
61 return *this;
62 }
64
66
72 inline const Aws::String& GetInitialActiveLearningModelArn() const { return m_initialActiveLearningModelArn; }
73 inline bool InitialActiveLearningModelArnHasBeenSet() const { return m_initialActiveLearningModelArnHasBeenSet; }
74 template <typename InitialActiveLearningModelArnT = Aws::String>
75 void SetInitialActiveLearningModelArn(InitialActiveLearningModelArnT&& value) {
76 m_initialActiveLearningModelArnHasBeenSet = true;
77 m_initialActiveLearningModelArn = std::forward<InitialActiveLearningModelArnT>(value);
78 }
79 template <typename InitialActiveLearningModelArnT = Aws::String>
80 LabelingJobAlgorithmsConfig& WithInitialActiveLearningModelArn(InitialActiveLearningModelArnT&& value) {
81 SetInitialActiveLearningModelArn(std::forward<InitialActiveLearningModelArnT>(value));
82 return *this;
83 }
85
87
90 inline const LabelingJobResourceConfig& GetLabelingJobResourceConfig() const { return m_labelingJobResourceConfig; }
91 inline bool LabelingJobResourceConfigHasBeenSet() const { return m_labelingJobResourceConfigHasBeenSet; }
92 template <typename LabelingJobResourceConfigT = LabelingJobResourceConfig>
93 void SetLabelingJobResourceConfig(LabelingJobResourceConfigT&& value) {
94 m_labelingJobResourceConfigHasBeenSet = true;
95 m_labelingJobResourceConfig = std::forward<LabelingJobResourceConfigT>(value);
96 }
97 template <typename LabelingJobResourceConfigT = LabelingJobResourceConfig>
98 LabelingJobAlgorithmsConfig& WithLabelingJobResourceConfig(LabelingJobResourceConfigT&& value) {
99 SetLabelingJobResourceConfig(std::forward<LabelingJobResourceConfigT>(value));
100 return *this;
101 }
103 private:
104 Aws::String m_labelingJobAlgorithmSpecificationArn;
105
106 Aws::String m_initialActiveLearningModelArn;
107
108 LabelingJobResourceConfig m_labelingJobResourceConfig;
109 bool m_labelingJobAlgorithmSpecificationArnHasBeenSet = false;
110 bool m_initialActiveLearningModelArnHasBeenSet = false;
111 bool m_labelingJobResourceConfigHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace SageMaker
116} // namespace Aws
void SetInitialActiveLearningModelArn(InitialActiveLearningModelArnT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API LabelingJobAlgorithmsConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLabelingJobResourceConfig(LabelingJobResourceConfigT &&value)
LabelingJobAlgorithmsConfig & WithLabelingJobAlgorithmSpecificationArn(LabelingJobAlgorithmSpecificationArnT &&value)
LabelingJobAlgorithmsConfig & WithLabelingJobResourceConfig(LabelingJobResourceConfigT &&value)
const LabelingJobResourceConfig & GetLabelingJobResourceConfig() const
LabelingJobAlgorithmsConfig & WithInitialActiveLearningModelArn(InitialActiveLearningModelArnT &&value)
void SetLabelingJobAlgorithmSpecificationArn(LabelingJobAlgorithmSpecificationArnT &&value)
AWS_SAGEMAKER_API LabelingJobAlgorithmsConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API LabelingJobAlgorithmsConfig()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue