AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelLifeCycle.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API ModelLifeCycle() = default;
31 AWS_SAGEMAKER_API ModelLifeCycle(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetStage() const { return m_stage; }
40 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
41 template <typename StageT = Aws::String>
42 void SetStage(StageT&& value) {
43 m_stageHasBeenSet = true;
44 m_stage = std::forward<StageT>(value);
45 }
46 template <typename StageT = Aws::String>
47 ModelLifeCycle& WithStage(StageT&& value) {
48 SetStage(std::forward<StageT>(value));
49 return *this;
50 }
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) {
61 m_stageStatusHasBeenSet = true;
62 m_stageStatus = std::forward<StageStatusT>(value);
63 }
64 template <typename StageStatusT = Aws::String>
65 ModelLifeCycle& WithStageStatus(StageStatusT&& value) {
66 SetStageStatus(std::forward<StageStatusT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStageDescription() const { return m_stageDescription; }
76 inline bool StageDescriptionHasBeenSet() const { return m_stageDescriptionHasBeenSet; }
77 template <typename StageDescriptionT = Aws::String>
78 void SetStageDescription(StageDescriptionT&& value) {
79 m_stageDescriptionHasBeenSet = true;
80 m_stageDescription = std::forward<StageDescriptionT>(value);
81 }
82 template <typename StageDescriptionT = Aws::String>
83 ModelLifeCycle& WithStageDescription(StageDescriptionT&& value) {
84 SetStageDescription(std::forward<StageDescriptionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_stage;
90
91 Aws::String m_stageStatus;
92
93 Aws::String m_stageDescription;
94 bool m_stageHasBeenSet = false;
95 bool m_stageStatusHasBeenSet = false;
96 bool m_stageDescriptionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SageMaker
101} // 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