AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAlgorithmName(const Aws::String& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = value; }
50 inline void SetAlgorithmName(Aws::String&& value) { m_algorithmNameHasBeenSet = true; m_algorithmName = std::move(value); }
51 inline void SetAlgorithmName(const char* value) { m_algorithmNameHasBeenSet = true; m_algorithmName.assign(value); }
52 inline AlgorithmSummary& WithAlgorithmName(const Aws::String& value) { SetAlgorithmName(value); return *this;}
53 inline AlgorithmSummary& WithAlgorithmName(Aws::String&& value) { SetAlgorithmName(std::move(value)); return *this;}
54 inline AlgorithmSummary& WithAlgorithmName(const char* value) { SetAlgorithmName(value); return *this;}
56
58
61 inline const Aws::String& GetAlgorithmArn() const{ return m_algorithmArn; }
62 inline bool AlgorithmArnHasBeenSet() const { return m_algorithmArnHasBeenSet; }
63 inline void SetAlgorithmArn(const Aws::String& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = value; }
64 inline void SetAlgorithmArn(Aws::String&& value) { m_algorithmArnHasBeenSet = true; m_algorithmArn = std::move(value); }
65 inline void SetAlgorithmArn(const char* value) { m_algorithmArnHasBeenSet = true; m_algorithmArn.assign(value); }
66 inline AlgorithmSummary& WithAlgorithmArn(const Aws::String& value) { SetAlgorithmArn(value); return *this;}
67 inline AlgorithmSummary& WithAlgorithmArn(Aws::String&& value) { SetAlgorithmArn(std::move(value)); return *this;}
68 inline AlgorithmSummary& WithAlgorithmArn(const char* value) { SetAlgorithmArn(value); return *this;}
70
72
75 inline const Aws::String& GetAlgorithmDescription() const{ return m_algorithmDescription; }
76 inline bool AlgorithmDescriptionHasBeenSet() const { return m_algorithmDescriptionHasBeenSet; }
77 inline void SetAlgorithmDescription(const Aws::String& value) { m_algorithmDescriptionHasBeenSet = true; m_algorithmDescription = value; }
78 inline void SetAlgorithmDescription(Aws::String&& value) { m_algorithmDescriptionHasBeenSet = true; m_algorithmDescription = std::move(value); }
79 inline void SetAlgorithmDescription(const char* value) { m_algorithmDescriptionHasBeenSet = true; m_algorithmDescription.assign(value); }
81 inline AlgorithmSummary& WithAlgorithmDescription(Aws::String&& value) { SetAlgorithmDescription(std::move(value)); return *this;}
82 inline AlgorithmSummary& WithAlgorithmDescription(const char* value) { SetAlgorithmDescription(value); return *this;}
84
86
89 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
90 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
91 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
92 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
93 inline AlgorithmSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
94 inline AlgorithmSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
96
98
101 inline const AlgorithmStatus& GetAlgorithmStatus() const{ return m_algorithmStatus; }
102 inline bool AlgorithmStatusHasBeenSet() const { return m_algorithmStatusHasBeenSet; }
103 inline void SetAlgorithmStatus(const AlgorithmStatus& value) { m_algorithmStatusHasBeenSet = true; m_algorithmStatus = value; }
104 inline void SetAlgorithmStatus(AlgorithmStatus&& value) { m_algorithmStatusHasBeenSet = true; m_algorithmStatus = std::move(value); }
105 inline AlgorithmSummary& WithAlgorithmStatus(const AlgorithmStatus& value) { SetAlgorithmStatus(value); return *this;}
106 inline AlgorithmSummary& WithAlgorithmStatus(AlgorithmStatus&& value) { SetAlgorithmStatus(std::move(value)); return *this;}
108 private:
109
110 Aws::String m_algorithmName;
111 bool m_algorithmNameHasBeenSet = false;
112
113 Aws::String m_algorithmArn;
114 bool m_algorithmArnHasBeenSet = false;
115
116 Aws::String m_algorithmDescription;
117 bool m_algorithmDescriptionHasBeenSet = false;
118
119 Aws::Utils::DateTime m_creationTime;
120 bool m_creationTimeHasBeenSet = false;
121
122 AlgorithmStatus m_algorithmStatus;
123 bool m_algorithmStatusHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace SageMaker
128} // namespace Aws
void SetCreationTime(Aws::Utils::DateTime &&value)
AlgorithmSummary & WithAlgorithmArn(Aws::String &&value)
void SetAlgorithmStatus(const AlgorithmStatus &value)
AlgorithmSummary & WithAlgorithmDescription(const Aws::String &value)
void SetAlgorithmStatus(AlgorithmStatus &&value)
void SetAlgorithmDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
AlgorithmSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AlgorithmSummary & WithAlgorithmStatus(AlgorithmStatus &&value)
AlgorithmSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetAlgorithmDescription(const char *value)
AlgorithmSummary & WithAlgorithmArn(const Aws::String &value)
const Aws::String & GetAlgorithmName() const
AWS_SAGEMAKER_API AlgorithmSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAlgorithmArn(const Aws::String &value)
AlgorithmSummary & WithAlgorithmName(Aws::String &&value)
const Aws::String & GetAlgorithmDescription() const
const AlgorithmStatus & GetAlgorithmStatus() const
AlgorithmSummary & WithAlgorithmDescription(const char *value)
void SetAlgorithmDescription(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AlgorithmSummary & WithAlgorithmName(const Aws::String &value)
void SetAlgorithmName(Aws::String &&value)
AlgorithmSummary & WithAlgorithmStatus(const AlgorithmStatus &value)
void SetAlgorithmArn(Aws::String &&value)
const Aws::String & GetAlgorithmArn() const
AWS_SAGEMAKER_API AlgorithmSummary(Aws::Utils::Json::JsonView jsonValue)
AlgorithmSummary & WithAlgorithmDescription(Aws::String &&value)
void SetAlgorithmName(const Aws::String &value)
AlgorithmSummary & WithAlgorithmName(const char *value)
void SetCreationTime(const Aws::Utils::DateTime &value)
AlgorithmSummary & WithAlgorithmArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue