AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialSummary.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/TrialSource.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_SAGEMAKER_API TrialSummary();
40 AWS_SAGEMAKER_API TrialSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API TrialSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetTrialArn() const{ return m_trialArn; }
50 inline bool TrialArnHasBeenSet() const { return m_trialArnHasBeenSet; }
51 inline void SetTrialArn(const Aws::String& value) { m_trialArnHasBeenSet = true; m_trialArn = value; }
52 inline void SetTrialArn(Aws::String&& value) { m_trialArnHasBeenSet = true; m_trialArn = std::move(value); }
53 inline void SetTrialArn(const char* value) { m_trialArnHasBeenSet = true; m_trialArn.assign(value); }
54 inline TrialSummary& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;}
55 inline TrialSummary& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;}
56 inline TrialSummary& WithTrialArn(const char* value) { SetTrialArn(value); return *this;}
58
60
63 inline const Aws::String& GetTrialName() const{ return m_trialName; }
64 inline bool TrialNameHasBeenSet() const { return m_trialNameHasBeenSet; }
65 inline void SetTrialName(const Aws::String& value) { m_trialNameHasBeenSet = true; m_trialName = value; }
66 inline void SetTrialName(Aws::String&& value) { m_trialNameHasBeenSet = true; m_trialName = std::move(value); }
67 inline void SetTrialName(const char* value) { m_trialNameHasBeenSet = true; m_trialName.assign(value); }
68 inline TrialSummary& WithTrialName(const Aws::String& value) { SetTrialName(value); return *this;}
69 inline TrialSummary& WithTrialName(Aws::String&& value) { SetTrialName(std::move(value)); return *this;}
70 inline TrialSummary& WithTrialName(const char* value) { SetTrialName(value); return *this;}
72
74
78 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
79 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
80 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
81 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
82 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
83 inline TrialSummary& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
84 inline TrialSummary& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
85 inline TrialSummary& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
87
89
90 inline const TrialSource& GetTrialSource() const{ return m_trialSource; }
91 inline bool TrialSourceHasBeenSet() const { return m_trialSourceHasBeenSet; }
92 inline void SetTrialSource(const TrialSource& value) { m_trialSourceHasBeenSet = true; m_trialSource = value; }
93 inline void SetTrialSource(TrialSource&& value) { m_trialSourceHasBeenSet = true; m_trialSource = std::move(value); }
94 inline TrialSummary& WithTrialSource(const TrialSource& value) { SetTrialSource(value); return *this;}
95 inline TrialSummary& WithTrialSource(TrialSource&& value) { SetTrialSource(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
103 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
104 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
105 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
106 inline TrialSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
107 inline TrialSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
115 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
116 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
117 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
118 inline TrialSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
119 inline TrialSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
121 private:
122
123 Aws::String m_trialArn;
124 bool m_trialArnHasBeenSet = false;
125
126 Aws::String m_trialName;
127 bool m_trialNameHasBeenSet = false;
128
129 Aws::String m_displayName;
130 bool m_displayNameHasBeenSet = false;
131
132 TrialSource m_trialSource;
133 bool m_trialSourceHasBeenSet = false;
134
135 Aws::Utils::DateTime m_creationTime;
136 bool m_creationTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_lastModifiedTime;
139 bool m_lastModifiedTimeHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace SageMaker
144} // namespace Aws
const Aws::String & GetDisplayName() const
TrialSummary & WithDisplayName(const Aws::String &value)
void SetTrialArn(const char *value)
TrialSummary & WithTrialSource(const TrialSource &value)
TrialSummary & WithTrialName(const char *value)
void SetDisplayName(const Aws::String &value)
const TrialSource & GetTrialSource() const
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetTrialSource(const TrialSource &value)
TrialSummary & WithTrialName(const Aws::String &value)
TrialSummary & WithTrialSource(TrialSource &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTrialName(const Aws::String &value)
void SetDisplayName(const char *value)
void SetTrialArn(Aws::String &&value)
const Aws::String & GetTrialName() const
TrialSummary & WithDisplayName(Aws::String &&value)
TrialSummary & WithDisplayName(const char *value)
AWS_SAGEMAKER_API TrialSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(Aws::Utils::DateTime &&value)
TrialSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
TrialSummary & WithTrialArn(const char *value)
void SetDisplayName(Aws::String &&value)
TrialSummary & WithCreationTime(Aws::Utils::DateTime &&value)
TrialSummary & WithTrialArn(Aws::String &&value)
void SetTrialName(const char *value)
AWS_SAGEMAKER_API TrialSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetTrialName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
void SetTrialArn(const Aws::String &value)
void SetTrialSource(TrialSource &&value)
TrialSummary & WithTrialArn(const Aws::String &value)
TrialSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const Aws::String & GetTrialArn() const
TrialSummary & WithTrialName(Aws::String &&value)
TrialSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue