AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TrialComponentSimpleSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/TrialComponentSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/sagemaker/model/UserContext.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_SAGEMAKER_API TrialComponentSimpleSummary() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTrialComponentName() const { return m_trialComponentName; }
48 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
49 template<typename TrialComponentNameT = Aws::String>
50 void SetTrialComponentName(TrialComponentNameT&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::forward<TrialComponentNameT>(value); }
51 template<typename TrialComponentNameT = Aws::String>
52 TrialComponentSimpleSummary& WithTrialComponentName(TrialComponentNameT&& value) { SetTrialComponentName(std::forward<TrialComponentNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetTrialComponentArn() const { return m_trialComponentArn; }
60 inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; }
61 template<typename TrialComponentArnT = Aws::String>
62 void SetTrialComponentArn(TrialComponentArnT&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::forward<TrialComponentArnT>(value); }
63 template<typename TrialComponentArnT = Aws::String>
64 TrialComponentSimpleSummary& WithTrialComponentArn(TrialComponentArnT&& value) { SetTrialComponentArn(std::forward<TrialComponentArnT>(value)); return *this;}
66
68
69 inline const TrialComponentSource& GetTrialComponentSource() const { return m_trialComponentSource; }
70 inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
71 template<typename TrialComponentSourceT = TrialComponentSource>
72 void SetTrialComponentSource(TrialComponentSourceT&& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = std::forward<TrialComponentSourceT>(value); }
73 template<typename TrialComponentSourceT = TrialComponentSource>
74 TrialComponentSimpleSummary& WithTrialComponentSource(TrialComponentSourceT&& value) { SetTrialComponentSource(std::forward<TrialComponentSourceT>(value)); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
82 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
83 template<typename CreationTimeT = Aws::Utils::DateTime>
84 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 TrialComponentSimpleSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
88
90
91 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
92 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
93 template<typename CreatedByT = UserContext>
94 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
95 template<typename CreatedByT = UserContext>
96 TrialComponentSimpleSummary& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
98 private:
99
100 Aws::String m_trialComponentName;
101 bool m_trialComponentNameHasBeenSet = false;
102
103 Aws::String m_trialComponentArn;
104 bool m_trialComponentArnHasBeenSet = false;
105
106 TrialComponentSource m_trialComponentSource;
107 bool m_trialComponentSourceHasBeenSet = false;
108
109 Aws::Utils::DateTime m_creationTime{};
110 bool m_creationTimeHasBeenSet = false;
111
112 UserContext m_createdBy;
113 bool m_createdByHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace SageMaker
118} // namespace Aws
TrialComponentSimpleSummary & WithTrialComponentName(TrialComponentNameT &&value)
AWS_SAGEMAKER_API TrialComponentSimpleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSimpleSummary & WithTrialComponentSource(TrialComponentSourceT &&value)
AWS_SAGEMAKER_API TrialComponentSimpleSummary(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSimpleSummary & WithCreatedBy(CreatedByT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API TrialComponentSimpleSummary()=default
TrialComponentSimpleSummary & WithCreationTime(CreationTimeT &&value)
TrialComponentSimpleSummary & WithTrialComponentArn(TrialComponentArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue