AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ResolvedAttributes.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLJobObjective.h>
9#include <aws/sagemaker/model/ProblemType.h>
10#include <aws/sagemaker/model/AutoMLJobCompletionCriteria.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SAGEMAKER_API ResolvedAttributes() = default;
37 AWS_SAGEMAKER_API ResolvedAttributes(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const AutoMLJobObjective& GetAutoMLJobObjective() const { return m_autoMLJobObjective; }
45 inline bool AutoMLJobObjectiveHasBeenSet() const { return m_autoMLJobObjectiveHasBeenSet; }
46 template<typename AutoMLJobObjectiveT = AutoMLJobObjective>
47 void SetAutoMLJobObjective(AutoMLJobObjectiveT&& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = std::forward<AutoMLJobObjectiveT>(value); }
48 template<typename AutoMLJobObjectiveT = AutoMLJobObjective>
49 ResolvedAttributes& WithAutoMLJobObjective(AutoMLJobObjectiveT&& value) { SetAutoMLJobObjective(std::forward<AutoMLJobObjectiveT>(value)); return *this;}
51
53
56 inline ProblemType GetProblemType() const { return m_problemType; }
57 inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; }
58 inline void SetProblemType(ProblemType value) { m_problemTypeHasBeenSet = true; m_problemType = value; }
59 inline ResolvedAttributes& WithProblemType(ProblemType value) { SetProblemType(value); return *this;}
61
63
64 inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const { return m_completionCriteria; }
65 inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; }
66 template<typename CompletionCriteriaT = AutoMLJobCompletionCriteria>
67 void SetCompletionCriteria(CompletionCriteriaT&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::forward<CompletionCriteriaT>(value); }
68 template<typename CompletionCriteriaT = AutoMLJobCompletionCriteria>
69 ResolvedAttributes& WithCompletionCriteria(CompletionCriteriaT&& value) { SetCompletionCriteria(std::forward<CompletionCriteriaT>(value)); return *this;}
71 private:
72
73 AutoMLJobObjective m_autoMLJobObjective;
74 bool m_autoMLJobObjectiveHasBeenSet = false;
75
76 ProblemType m_problemType{ProblemType::NOT_SET};
77 bool m_problemTypeHasBeenSet = false;
78
79 AutoMLJobCompletionCriteria m_completionCriteria;
80 bool m_completionCriteriaHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SageMaker
85} // namespace Aws
ResolvedAttributes & WithProblemType(ProblemType value)
void SetCompletionCriteria(CompletionCriteriaT &&value)
ResolvedAttributes & WithCompletionCriteria(CompletionCriteriaT &&value)
void SetAutoMLJobObjective(AutoMLJobObjectiveT &&value)
AWS_SAGEMAKER_API ResolvedAttributes(Aws::Utils::Json::JsonView jsonValue)
const AutoMLJobCompletionCriteria & GetCompletionCriteria() const
const AutoMLJobObjective & GetAutoMLJobObjective() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ResolvedAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ResolvedAttributes & WithAutoMLJobObjective(AutoMLJobObjectiveT &&value)
AWS_SAGEMAKER_API ResolvedAttributes()=default
Aws::Utils::Json::JsonValue JsonValue