AWS SDK for C++

AWS SDK for C++ Version 1.11.933

Loading...
Searching...
No Matches
ExtensionNodeSummary.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
26 public:
27 AWS_SAGEMAKER_API ExtensionNodeSummary() = default;
30 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline int GetTotalCount() const { return m_totalCount; }
39 inline bool TotalCountHasBeenSet() const { return m_totalCountHasBeenSet; }
40 inline void SetTotalCount(int value) {
41 m_totalCountHasBeenSet = true;
42 m_totalCount = value;
43 }
45 SetTotalCount(value);
46 return *this;
47 }
49
51
59 inline int GetActiveCount() const { return m_activeCount; }
60 inline bool ActiveCountHasBeenSet() const { return m_activeCountHasBeenSet; }
61 inline void SetActiveCount(int value) {
62 m_activeCountHasBeenSet = true;
63 m_activeCount = value;
64 }
66 SetActiveCount(value);
67 return *this;
68 }
70 private:
71 int m_totalCount{0};
72
73 int m_activeCount{0};
74 bool m_totalCountHasBeenSet = false;
75 bool m_activeCountHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
AWS_SAGEMAKER_API ExtensionNodeSummary(Aws::Utils::Json::JsonView jsonValue)
ExtensionNodeSummary & WithActiveCount(int value)
AWS_SAGEMAKER_API ExtensionNodeSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ExtensionNodeSummary()=default
ExtensionNodeSummary & WithTotalCount(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue