AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Parent.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29class Parent {
30 public:
31 AWS_SAGEMAKER_API Parent() = default;
32 AWS_SAGEMAKER_API Parent(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Parent& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTrialName() const { return m_trialName; }
41 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
42 template <typename TrialNameT = Aws::String>
43 void SetTrialName(TrialNameT&& value) {
44 m_trialNameHasBeenSet = true;
45 m_trialName = std::forward<TrialNameT>(value);
46 }
47 template <typename TrialNameT = Aws::String>
48 Parent& WithTrialName(TrialNameT&& value) {
49 SetTrialName(std::forward<TrialNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetExperimentName() const { return m_experimentName; }
59 inline bool ExperimentNameHasBeenSet() const { return m_experimentNameHasBeenSet; }
60 template <typename ExperimentNameT = Aws::String>
61 void SetExperimentName(ExperimentNameT&& value) {
62 m_experimentNameHasBeenSet = true;
63 m_experimentName = std::forward<ExperimentNameT>(value);
64 }
65 template <typename ExperimentNameT = Aws::String>
66 Parent& WithExperimentName(ExperimentNameT&& value) {
67 SetExperimentName(std::forward<ExperimentNameT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_trialName;
73
74 Aws::String m_experimentName;
75 bool m_trialNameHasBeenSet = false;
76 bool m_experimentNameHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
Parent & WithTrialName(TrialNameT &&value)
Definition Parent.h:48
void SetTrialName(TrialNameT &&value)
Definition Parent.h:43
bool TrialNameHasBeenSet() const
Definition Parent.h:41
AWS_SAGEMAKER_API Parent()=default
AWS_SAGEMAKER_API Parent(Aws::Utils::Json::JsonView jsonValue)
bool ExperimentNameHasBeenSet() const
Definition Parent.h:59
const Aws::String & GetTrialName() const
Definition Parent.h:40
void SetExperimentName(ExperimentNameT &&value)
Definition Parent.h:61
const Aws::String & GetExperimentName() const
Definition Parent.h:58
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API Parent & operator=(Aws::Utils::Json::JsonView jsonValue)
Parent & WithExperimentName(ExperimentNameT &&value)
Definition Parent.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue