AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
AlgorithmSummary.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/AlgorithmStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API AlgorithmSummary() = default;
33 AWS_SAGEMAKER_API AlgorithmSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAlgorithmName() const { return m_algorithmName; }
42 inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
43 template <typename AlgorithmNameT = Aws::String>
44 void SetAlgorithmName(AlgorithmNameT&& value) {
45 m_algorithmNameHasBeenSet = true;
46 m_algorithmName = std::forward<AlgorithmNameT>(value);
47 }
48 template <typename AlgorithmNameT = Aws::String>
49 AlgorithmSummary& WithAlgorithmName(AlgorithmNameT&& value) {
50 SetAlgorithmName(std::forward<AlgorithmNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAlgorithmArn() const { return m_algorithmArn; }
60 inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
61 template <typename AlgorithmArnT = Aws::String>
62 void SetAlgorithmArn(AlgorithmArnT&& value) {
63 m_algorithmArnHasBeenSet = true;
64 m_algorithmArn = std::forward<AlgorithmArnT>(value);
65 }
66 template <typename AlgorithmArnT = Aws::String>
67 AlgorithmSummary& WithAlgorithmArn(AlgorithmArnT&& value) {
68 SetAlgorithmArn(std::forward<AlgorithmArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetAlgorithmDescription() const { return m_algorithmDescription; }
78 inline bool AlgorithmDescriptionHasBeenSet() const { return m_algorithmDescriptionHasBeenSet; }
79 template <typename AlgorithmDescriptionT = Aws::String>
80 void SetAlgorithmDescription(AlgorithmDescriptionT&& value) {
81 m_algorithmDescriptionHasBeenSet = true;
82 m_algorithmDescription = std::forward<AlgorithmDescriptionT>(value);
83 }
84 template <typename AlgorithmDescriptionT = Aws::String>
85 AlgorithmSummary& WithAlgorithmDescription(AlgorithmDescriptionT&& value) {
86 SetAlgorithmDescription(std::forward<AlgorithmDescriptionT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template <typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) {
99 m_creationTimeHasBeenSet = true;
100 m_creationTime = std::forward<CreationTimeT>(value);
101 }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
103 AlgorithmSummary& WithCreationTime(CreationTimeT&& value) {
104 SetCreationTime(std::forward<CreationTimeT>(value));
105 return *this;
106 }
108
110
113 inline AlgorithmStatus GetAlgorithmStatus() const { return m_algorithmStatus; }
114 inline bool AlgorithmStatusHasBeenSet() const { return m_algorithmStatusHasBeenSet; }
116 m_algorithmStatusHasBeenSet = true;
117 m_algorithmStatus = value;
118 }
120 SetAlgorithmStatus(value);
121 return *this;
122 }
124 private:
125 Aws::String m_algorithmName;
126
127 Aws::String m_algorithmArn;
128
129 Aws::String m_algorithmDescription;
130
131 Aws::Utils::DateTime m_creationTime{};
132
133 AlgorithmStatus m_algorithmStatus{AlgorithmStatus::NOT_SET};
134 bool m_algorithmNameHasBeenSet = false;
135 bool m_algorithmArnHasBeenSet = false;
136 bool m_algorithmDescriptionHasBeenSet = false;
137 bool m_creationTimeHasBeenSet = false;
138 bool m_algorithmStatusHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace SageMaker
143} // namespace Aws
AlgorithmSummary & WithAlgorithmDescription(AlgorithmDescriptionT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AlgorithmSummary & WithAlgorithmName(AlgorithmNameT &&value)
AlgorithmSummary & WithAlgorithmArn(AlgorithmArnT &&value)
void SetAlgorithmStatus(AlgorithmStatus value)
void SetAlgorithmName(AlgorithmNameT &&value)
AlgorithmSummary & WithCreationTime(CreationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
const Aws::String & GetAlgorithmName() const
AWS_SAGEMAKER_API AlgorithmSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetAlgorithmDescription() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAlgorithmArn() const
AWS_SAGEMAKER_API AlgorithmSummary(Aws::Utils::Json::JsonView jsonValue)
void SetAlgorithmDescription(AlgorithmDescriptionT &&value)
AlgorithmSummary & WithAlgorithmStatus(AlgorithmStatus value)
AWS_SAGEMAKER_API AlgorithmSummary()=default
void SetAlgorithmArn(AlgorithmArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue