AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModelLifeCycle.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SAGEMAKER_API ModelLifeCycle() = default;
36 AWS_SAGEMAKER_API ModelLifeCycle(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetStage() const { return m_stage; }
46 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
47 template<typename StageT = Aws::String>
48 void SetStage(StageT&& value) { m_stageHasBeenSet = true; m_stage = std::forward<StageT>(value); }
49 template<typename StageT = Aws::String>
50 ModelLifeCycle& WithStage(StageT&& value) { SetStage(std::forward<StageT>(value)); return *this;}
52
54
57 inline const Aws::String& GetStageStatus() const { return m_stageStatus; }
58 inline bool StageStatusHasBeenSet() const { return m_stageStatusHasBeenSet; }
59 template<typename StageStatusT = Aws::String>
60 void SetStageStatus(StageStatusT&& value) { m_stageStatusHasBeenSet = true; m_stageStatus = std::forward<StageStatusT>(value); }
61 template<typename StageStatusT = Aws::String>
62 ModelLifeCycle& WithStageStatus(StageStatusT&& value) { SetStageStatus(std::forward<StageStatusT>(value)); return *this;}
64
66
69 inline const Aws::String& GetStageDescription() const { return m_stageDescription; }
70 inline bool StageDescriptionHasBeenSet() const { return m_stageDescriptionHasBeenSet; }
71 template<typename StageDescriptionT = Aws::String>
72 void SetStageDescription(StageDescriptionT&& value) { m_stageDescriptionHasBeenSet = true; m_stageDescription = std::forward<StageDescriptionT>(value); }
73 template<typename StageDescriptionT = Aws::String>
74 ModelLifeCycle& WithStageDescription(StageDescriptionT&& value) { SetStageDescription(std::forward<StageDescriptionT>(value)); return *this;}
76 private:
77
78 Aws::String m_stage;
79 bool m_stageHasBeenSet = false;
80
81 Aws::String m_stageStatus;
82 bool m_stageStatusHasBeenSet = false;
83
84 Aws::String m_stageDescription;
85 bool m_stageDescriptionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace SageMaker
90} // namespace Aws
const Aws::String & GetStageStatus() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStageDescription(StageDescriptionT &&value)
ModelLifeCycle & WithStage(StageT &&value)
ModelLifeCycle & WithStageStatus(StageStatusT &&value)
const Aws::String & GetStage() const
AWS_SAGEMAKER_API ModelLifeCycle & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelLifeCycle(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ModelLifeCycle()=default
const Aws::String & GetStageDescription() const
void SetStageStatus(StageStatusT &&value)
ModelLifeCycle & WithStageDescription(StageDescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue