AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ObjectiveStatusCounters.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SageMaker {
17namespace Model {
18
29 public:
30 AWS_SAGEMAKER_API ObjectiveStatusCounters() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline int GetSucceeded() const { return m_succeeded; }
41 inline bool SucceededHasBeenSet() const { return m_succeededHasBeenSet; }
42 inline void SetSucceeded(int value) {
43 m_succeededHasBeenSet = true;
44 m_succeeded = value;
45 }
47 SetSucceeded(value);
48 return *this;
49 }
51
53
57 inline int GetPending() const { return m_pending; }
58 inline bool PendingHasBeenSet() const { return m_pendingHasBeenSet; }
59 inline void SetPending(int value) {
60 m_pendingHasBeenSet = true;
61 m_pending = value;
62 }
64 SetPending(value);
65 return *this;
66 }
68
70
75 inline int GetFailed() const { return m_failed; }
76 inline bool FailedHasBeenSet() const { return m_failedHasBeenSet; }
77 inline void SetFailed(int value) {
78 m_failedHasBeenSet = true;
79 m_failed = value;
80 }
82 SetFailed(value);
83 return *this;
84 }
86 private:
87 int m_succeeded{0};
88
89 int m_pending{0};
90
91 int m_failed{0};
92 bool m_succeededHasBeenSet = false;
93 bool m_pendingHasBeenSet = false;
94 bool m_failedHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace SageMaker
99} // namespace Aws
AWS_SAGEMAKER_API ObjectiveStatusCounters()=default
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