AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AlgorithmSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/AlgorithmStatus.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
35 {
36 public:
37 AWS_SAGEMAKER_API AlgorithmSummary() = default;
38 AWS_SAGEMAKER_API AlgorithmSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetAlgorithmName() const { return m_algorithmName; }
48 inline bool AlgorithmNameHasBeenSet() const { return m_algorithmNameHasBeenSet; }
49 template<typename AlgorithmNameT = Aws::String>
50 void SetAlgorithmName(AlgorithmNameT&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::forward<AlgorithmNameT>(value); }
51 template<typename AlgorithmNameT = Aws::String>
52 AlgorithmSummary& WithAlgorithmName(AlgorithmNameT&& value) { SetAlgorithmName(std::forward<AlgorithmNameT>(value)); return *this;}
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) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::forward<AlgorithmArnT>(value); }
63 template<typename AlgorithmArnT = Aws::String>
64 AlgorithmSummary& WithAlgorithmArn(AlgorithmArnT&& value) { SetAlgorithmArn(std::forward<AlgorithmArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetAlgorithmDescription() const { return m_algorithmDescription; }
72 inline bool AlgorithmDescriptionHasBeenSet() const { return m_algorithmDescriptionHasBeenSet; }
73 template<typename AlgorithmDescriptionT = Aws::String>
74 void SetAlgorithmDescription(AlgorithmDescriptionT&& value) { m_algorithmDescriptionHasBeenSet = true; m_algorithmDescription = std::forward<AlgorithmDescriptionT>(value); }
75 template<typename AlgorithmDescriptionT = Aws::String>
76 AlgorithmSummary& WithAlgorithmDescription(AlgorithmDescriptionT&& value) { SetAlgorithmDescription(std::forward<AlgorithmDescriptionT>(value)); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 AlgorithmSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90
92
95 inline AlgorithmStatus GetAlgorithmStatus() const { return m_algorithmStatus; }
96 inline bool AlgorithmStatusHasBeenSet() const { return m_algorithmStatusHasBeenSet; }
97 inline void SetAlgorithmStatus(AlgorithmStatus value) { m_algorithmStatusHasBeenSet = true; m_algorithmStatus = value; }
100 private:
101
102 Aws::String m_algorithmName;
103 bool m_algorithmNameHasBeenSet = false;
104
105 Aws::String m_algorithmArn;
106 bool m_algorithmArnHasBeenSet = false;
107
108 Aws::String m_algorithmDescription;
109 bool m_algorithmDescriptionHasBeenSet = false;
110
111 Aws::Utils::DateTime m_creationTime{};
112 bool m_creationTimeHasBeenSet = false;
113
114 AlgorithmStatus m_algorithmStatus{AlgorithmStatus::NOT_SET};
115 bool m_algorithmStatusHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace SageMaker
120} // 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