AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TrialComponentSimpleSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/TrialComponentSource.h>
11#include <aws/sagemaker/model/UserContext.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
31 public:
32 AWS_SAGEMAKER_API TrialComponentSimpleSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTrialComponentName() const { return m_trialComponentName; }
42 inline bool TrialComponentNameHasBeenSet() const { return m_trialComponentNameHasBeenSet; }
43 template <typename TrialComponentNameT = Aws::String>
44 void SetTrialComponentName(TrialComponentNameT&& value) {
45 m_trialComponentNameHasBeenSet = true;
46 m_trialComponentName = std::forward<TrialComponentNameT>(value);
47 }
48 template <typename TrialComponentNameT = Aws::String>
50 SetTrialComponentName(std::forward<TrialComponentNameT>(value));
51 return *this;
52 }
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) {
63 m_trialComponentArnHasBeenSet = true;
64 m_trialComponentArn = std::forward<TrialComponentArnT>(value);
65 }
66 template <typename TrialComponentArnT = Aws::String>
68 SetTrialComponentArn(std::forward<TrialComponentArnT>(value));
69 return *this;
70 }
72
74
75 inline const TrialComponentSource& GetTrialComponentSource() const { return m_trialComponentSource; }
76 inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
77 template <typename TrialComponentSourceT = TrialComponentSource>
78 void SetTrialComponentSource(TrialComponentSourceT&& value) {
79 m_trialComponentSourceHasBeenSet = true;
80 m_trialComponentSource = std::forward<TrialComponentSourceT>(value);
81 }
82 template <typename TrialComponentSourceT = TrialComponentSource>
83 TrialComponentSimpleSummary& WithTrialComponentSource(TrialComponentSourceT&& value) {
84 SetTrialComponentSource(std::forward<TrialComponentSourceT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
94 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
96 void SetCreationTime(CreationTimeT&& value) {
97 m_creationTimeHasBeenSet = true;
98 m_creationTime = std::forward<CreationTimeT>(value);
99 }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
102 SetCreationTime(std::forward<CreationTimeT>(value));
103 return *this;
104 }
106
108
109 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
110 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
111 template <typename CreatedByT = UserContext>
112 void SetCreatedBy(CreatedByT&& value) {
113 m_createdByHasBeenSet = true;
114 m_createdBy = std::forward<CreatedByT>(value);
115 }
116 template <typename CreatedByT = UserContext>
118 SetCreatedBy(std::forward<CreatedByT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_trialComponentName;
124
125 Aws::String m_trialComponentArn;
126
127 TrialComponentSource m_trialComponentSource;
128
129 Aws::Utils::DateTime m_creationTime{};
130
131 UserContext m_createdBy;
132 bool m_trialComponentNameHasBeenSet = false;
133 bool m_trialComponentArnHasBeenSet = false;
134 bool m_trialComponentSourceHasBeenSet = false;
135 bool m_creationTimeHasBeenSet = false;
136 bool m_createdByHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace SageMaker
141} // 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