AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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