AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTrialComponentName(const Aws::String& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = value; }
50 inline void SetTrialComponentName(Aws::String&& value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName = std::move(value); }
51 inline void SetTrialComponentName(const char* value) { m_trialComponentNameHasBeenSet = true; m_trialComponentName.assign(value); }
53 inline TrialComponentSimpleSummary& WithTrialComponentName(Aws::String&& value) { SetTrialComponentName(std::move(value)); return *this;}
54 inline TrialComponentSimpleSummary& WithTrialComponentName(const char* value) { SetTrialComponentName(value); return *this;}
56
58
61 inline const Aws::String& GetTrialComponentArn() const{ return m_trialComponentArn; }
62 inline bool TrialComponentArnHasBeenSet() const { return m_trialComponentArnHasBeenSet; }
63 inline void SetTrialComponentArn(const Aws::String& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = value; }
64 inline void SetTrialComponentArn(Aws::String&& value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn = std::move(value); }
65 inline void SetTrialComponentArn(const char* value) { m_trialComponentArnHasBeenSet = true; m_trialComponentArn.assign(value); }
67 inline TrialComponentSimpleSummary& WithTrialComponentArn(Aws::String&& value) { SetTrialComponentArn(std::move(value)); return *this;}
68 inline TrialComponentSimpleSummary& WithTrialComponentArn(const char* value) { SetTrialComponentArn(value); return *this;}
70
72
73 inline const TrialComponentSource& GetTrialComponentSource() const{ return m_trialComponentSource; }
74 inline bool TrialComponentSourceHasBeenSet() const { return m_trialComponentSourceHasBeenSet; }
75 inline void SetTrialComponentSource(const TrialComponentSource& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = value; }
76 inline void SetTrialComponentSource(TrialComponentSource&& value) { m_trialComponentSourceHasBeenSet = true; m_trialComponentSource = std::move(value); }
80
82
85 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
86 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
87 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
88 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
90 inline TrialComponentSimpleSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
92
94
95 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
96 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
97 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
98 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
99 inline TrialComponentSimpleSummary& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
100 inline TrialComponentSimpleSummary& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
102 private:
103
104 Aws::String m_trialComponentName;
105 bool m_trialComponentNameHasBeenSet = false;
106
107 Aws::String m_trialComponentArn;
108 bool m_trialComponentArnHasBeenSet = false;
109
110 TrialComponentSource m_trialComponentSource;
111 bool m_trialComponentSourceHasBeenSet = false;
112
113 Aws::Utils::DateTime m_creationTime;
114 bool m_creationTimeHasBeenSet = false;
115
116 UserContext m_createdBy;
117 bool m_createdByHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace SageMaker
122} // namespace Aws
void SetCreationTime(const Aws::Utils::DateTime &value)
TrialComponentSimpleSummary & WithTrialComponentName(Aws::String &&value)
TrialComponentSimpleSummary & WithCreatedBy(const UserContext &value)
void SetTrialComponentSource(const TrialComponentSource &value)
TrialComponentSimpleSummary & WithCreatedBy(UserContext &&value)
TrialComponentSimpleSummary & WithTrialComponentName(const char *value)
TrialComponentSimpleSummary & WithTrialComponentArn(const char *value)
TrialComponentSimpleSummary & WithTrialComponentSource(const TrialComponentSource &value)
AWS_SAGEMAKER_API TrialComponentSimpleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSimpleSummary & WithTrialComponentArn(const Aws::String &value)
AWS_SAGEMAKER_API TrialComponentSimpleSummary(Aws::Utils::Json::JsonView jsonValue)
TrialComponentSimpleSummary & WithTrialComponentSource(TrialComponentSource &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentSimpleSummary & WithCreationTime(const Aws::Utils::DateTime &value)
TrialComponentSimpleSummary & WithTrialComponentArn(Aws::String &&value)
TrialComponentSimpleSummary & WithCreationTime(Aws::Utils::DateTime &&value)
TrialComponentSimpleSummary & WithTrialComponentName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue