AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WarmPoolStatus.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/WarmPoolResourceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API WarmPoolStatus();
37 AWS_SAGEMAKER_API WarmPoolStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
53 inline const WarmPoolResourceStatus& GetStatus() const{ return m_status; }
54 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
55 inline void SetStatus(const WarmPoolResourceStatus& value) { m_statusHasBeenSet = true; m_status = value; }
56 inline void SetStatus(WarmPoolResourceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
57 inline WarmPoolStatus& WithStatus(const WarmPoolResourceStatus& value) { SetStatus(value); return *this;}
58 inline WarmPoolStatus& WithStatus(WarmPoolResourceStatus&& value) { SetStatus(std::move(value)); return *this;}
60
62
70 inline int GetResourceRetainedBillableTimeInSeconds() const{ return m_resourceRetainedBillableTimeInSeconds; }
71 inline bool ResourceRetainedBillableTimeInSecondsHasBeenSet() const { return m_resourceRetainedBillableTimeInSecondsHasBeenSet; }
72 inline void SetResourceRetainedBillableTimeInSeconds(int value) { m_resourceRetainedBillableTimeInSecondsHasBeenSet = true; m_resourceRetainedBillableTimeInSeconds = value; }
75
77
80 inline const Aws::String& GetReusedByJob() const{ return m_reusedByJob; }
81 inline bool ReusedByJobHasBeenSet() const { return m_reusedByJobHasBeenSet; }
82 inline void SetReusedByJob(const Aws::String& value) { m_reusedByJobHasBeenSet = true; m_reusedByJob = value; }
83 inline void SetReusedByJob(Aws::String&& value) { m_reusedByJobHasBeenSet = true; m_reusedByJob = std::move(value); }
84 inline void SetReusedByJob(const char* value) { m_reusedByJobHasBeenSet = true; m_reusedByJob.assign(value); }
85 inline WarmPoolStatus& WithReusedByJob(const Aws::String& value) { SetReusedByJob(value); return *this;}
86 inline WarmPoolStatus& WithReusedByJob(Aws::String&& value) { SetReusedByJob(std::move(value)); return *this;}
87 inline WarmPoolStatus& WithReusedByJob(const char* value) { SetReusedByJob(value); return *this;}
89 private:
90
92 bool m_statusHasBeenSet = false;
93
94 int m_resourceRetainedBillableTimeInSeconds;
95 bool m_resourceRetainedBillableTimeInSecondsHasBeenSet = false;
96
97 Aws::String m_reusedByJob;
98 bool m_reusedByJobHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
void SetReusedByJob(const Aws::String &value)
const Aws::String & GetReusedByJob() const
void SetReusedByJob(const char *value)
AWS_SAGEMAKER_API WarmPoolStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
WarmPoolStatus & WithStatus(WarmPoolResourceStatus &&value)
void SetStatus(WarmPoolResourceStatus &&value)
WarmPoolStatus & WithResourceRetainedBillableTimeInSeconds(int value)
bool ResourceRetainedBillableTimeInSecondsHasBeenSet() const
WarmPoolStatus & WithReusedByJob(const Aws::String &value)
AWS_SAGEMAKER_API WarmPoolStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
WarmPoolStatus & WithReusedByJob(Aws::String &&value)
const WarmPoolResourceStatus & GetStatus() const
WarmPoolStatus & WithReusedByJob(const char *value)
void SetReusedByJob(Aws::String &&value)
WarmPoolStatus & WithStatus(const WarmPoolResourceStatus &value)
void SetStatus(const WarmPoolResourceStatus &value)
void SetResourceRetainedBillableTimeInSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue