AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ObjectiveStatusCounters.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_SAGEMAKER_API ObjectiveStatusCounters();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetSucceeded() const{ return m_succeeded; }
48 inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
49 inline void SetSucceeded(int value) { m_succeededHasBeenSet = true; m_succeeded = value; }
50 inline ObjectiveStatusCounters& WithSucceeded(int value) { SetSucceeded(value); return *this;}
52
54
58 inline int GetPending() const{ return m_pending; }
59 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
60 inline void SetPending(int value) { m_pendingHasBeenSet = true; m_pending = value; }
61 inline ObjectiveStatusCounters& WithPending(int value) { SetPending(value); return *this;}
63
65
70 inline int GetFailed() const{ return m_failed; }
71 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
72 inline void SetFailed(int value) { m_failedHasBeenSet = true; m_failed = value; }
73 inline ObjectiveStatusCounters& WithFailed(int value) { SetFailed(value); return *this;}
75 private:
76
77 int m_succeeded;
78 bool m_succeededHasBeenSet = false;
79
80 int m_pending;
81 bool m_pendingHasBeenSet = false;
82
83 int m_failed;
84 bool m_failedHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SageMaker
89} // namespace Aws
AWS_SAGEMAKER_API ObjectiveStatusCounters & operator=(Aws::Utils::Json::JsonView jsonValue)
ObjectiveStatusCounters & WithFailed(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ObjectiveStatusCounters(Aws::Utils::Json::JsonView jsonValue)
ObjectiveStatusCounters & WithSucceeded(int value)
ObjectiveStatusCounters & WithPending(int value)
Aws::Utils::Json::JsonValue JsonValue