AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStage(const Aws::String& value) { m_stageHasBeenSet = true; m_stage = value; }
48 inline void SetStage(Aws::String&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
49 inline void SetStage(const char* value) { m_stageHasBeenSet = true; m_stage.assign(value); }
50 inline ModelLifeCycle& WithStage(const Aws::String& value) { SetStage(value); return *this;}
51 inline ModelLifeCycle& WithStage(Aws::String&& value) { SetStage(std::move(value)); return *this;}
52 inline ModelLifeCycle& WithStage(const char* value) { SetStage(value); return *this;}
54
56
59 inline const Aws::String& GetStageStatus() const{ return m_stageStatus; }
60 inline bool StageStatusHasBeenSet() const { return m_stageStatusHasBeenSet; }
61 inline void SetStageStatus(const Aws::String& value) { m_stageStatusHasBeenSet = true; m_stageStatus = value; }
62 inline void SetStageStatus(Aws::String&& value) { m_stageStatusHasBeenSet = true; m_stageStatus = std::move(value); }
63 inline void SetStageStatus(const char* value) { m_stageStatusHasBeenSet = true; m_stageStatus.assign(value); }
64 inline ModelLifeCycle& WithStageStatus(const Aws::String& value) { SetStageStatus(value); return *this;}
65 inline ModelLifeCycle& WithStageStatus(Aws::String&& value) { SetStageStatus(std::move(value)); return *this;}
66 inline ModelLifeCycle& WithStageStatus(const char* value) { SetStageStatus(value); return *this;}
68
70
73 inline const Aws::String& GetStageDescription() const{ return m_stageDescription; }
74 inline bool StageDescriptionHasBeenSet() const { return m_stageDescriptionHasBeenSet; }
75 inline void SetStageDescription(const Aws::String& value) { m_stageDescriptionHasBeenSet = true; m_stageDescription = value; }
76 inline void SetStageDescription(Aws::String&& value) { m_stageDescriptionHasBeenSet = true; m_stageDescription = std::move(value); }
77 inline void SetStageDescription(const char* value) { m_stageDescriptionHasBeenSet = true; m_stageDescription.assign(value); }
78 inline ModelLifeCycle& WithStageDescription(const Aws::String& value) { SetStageDescription(value); return *this;}
79 inline ModelLifeCycle& WithStageDescription(Aws::String&& value) { SetStageDescription(std::move(value)); return *this;}
80 inline ModelLifeCycle& WithStageDescription(const char* value) { SetStageDescription(value); return *this;}
82 private:
83
84 Aws::String m_stage;
85 bool m_stageHasBeenSet = false;
86
87 Aws::String m_stageStatus;
88 bool m_stageStatusHasBeenSet = false;
89
90 Aws::String m_stageDescription;
91 bool m_stageDescriptionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SageMaker
96} // namespace Aws
const Aws::String & GetStageStatus() const
void SetStageStatus(const Aws::String &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetStageDescription(const Aws::String &value)
ModelLifeCycle & WithStageDescription(Aws::String &&value)
void SetStageStatus(Aws::String &&value)
ModelLifeCycle & WithStageDescription(const char *value)
ModelLifeCycle & WithStage(const char *value)
ModelLifeCycle & WithStageDescription(const Aws::String &value)
void SetStageDescription(Aws::String &&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)
const Aws::String & GetStageDescription() const
ModelLifeCycle & WithStageStatus(const Aws::String &value)
ModelLifeCycle & WithStageStatus(const char *value)
void SetStage(const Aws::String &value)
ModelLifeCycle & WithStageStatus(Aws::String &&value)
ModelLifeCycle & WithStage(const Aws::String &value)
ModelLifeCycle & WithStage(Aws::String &&value)
void SetStage(Aws::String &&value)
void SetStageStatus(const char *value)
void SetStageDescription(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue