AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AutoMLCandidateStep.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/CandidateStepType.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
30 public:
31 AWS_SAGEMAKER_API AutoMLCandidateStep() = default;
32 AWS_SAGEMAKER_API AutoMLCandidateStep(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline CandidateStepType GetCandidateStepType() const { return m_candidateStepType; }
41 inline bool CandidateStepTypeHasBeenSet() const { return m_candidateStepTypeHasBeenSet; }
43 m_candidateStepTypeHasBeenSet = true;
44 m_candidateStepType = value;
45 }
48 return *this;
49 }
51
53
56 inline const Aws::String& GetCandidateStepArn() const { return m_candidateStepArn; }
57 inline bool CandidateStepArnHasBeenSet() const { return m_candidateStepArnHasBeenSet; }
58 template <typename CandidateStepArnT = Aws::String>
59 void SetCandidateStepArn(CandidateStepArnT&& value) {
60 m_candidateStepArnHasBeenSet = true;
61 m_candidateStepArn = std::forward<CandidateStepArnT>(value);
62 }
63 template <typename CandidateStepArnT = Aws::String>
64 AutoMLCandidateStep& WithCandidateStepArn(CandidateStepArnT&& value) {
65 SetCandidateStepArn(std::forward<CandidateStepArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetCandidateStepName() const { return m_candidateStepName; }
75 inline bool CandidateStepNameHasBeenSet() const { return m_candidateStepNameHasBeenSet; }
76 template <typename CandidateStepNameT = Aws::String>
77 void SetCandidateStepName(CandidateStepNameT&& value) {
78 m_candidateStepNameHasBeenSet = true;
79 m_candidateStepName = std::forward<CandidateStepNameT>(value);
80 }
81 template <typename CandidateStepNameT = Aws::String>
82 AutoMLCandidateStep& WithCandidateStepName(CandidateStepNameT&& value) {
83 SetCandidateStepName(std::forward<CandidateStepNameT>(value));
84 return *this;
85 }
87 private:
89
90 Aws::String m_candidateStepArn;
91
92 Aws::String m_candidateStepName;
93 bool m_candidateStepTypeHasBeenSet = false;
94 bool m_candidateStepArnHasBeenSet = false;
95 bool m_candidateStepNameHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AutoMLCandidateStep(Aws::Utils::Json::JsonView jsonValue)
void SetCandidateStepType(CandidateStepType value)
AWS_SAGEMAKER_API AutoMLCandidateStep()=default
void SetCandidateStepName(CandidateStepNameT &&value)
const Aws::String & GetCandidateStepArn() const
void SetCandidateStepArn(CandidateStepArnT &&value)
AutoMLCandidateStep & WithCandidateStepType(CandidateStepType value)
AutoMLCandidateStep & WithCandidateStepArn(CandidateStepArnT &&value)
AWS_SAGEMAKER_API AutoMLCandidateStep & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCandidateStepName() const
AutoMLCandidateStep & WithCandidateStepName(CandidateStepNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue