AWS SDK for C++  1.9.66
AWS SDK for C++
RetentionPolicy.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
46  inline const RetentionType& GetHomeEfsFileSystem() const{ return m_homeEfsFileSystem; }
47 
53  inline bool HomeEfsFileSystemHasBeenSet() const { return m_homeEfsFileSystemHasBeenSet; }
54 
60  inline void SetHomeEfsFileSystem(const RetentionType& value) { m_homeEfsFileSystemHasBeenSet = true; m_homeEfsFileSystem = value; }
61 
67  inline void SetHomeEfsFileSystem(RetentionType&& value) { m_homeEfsFileSystemHasBeenSet = true; m_homeEfsFileSystem = std::move(value); }
68 
74  inline RetentionPolicy& WithHomeEfsFileSystem(const RetentionType& value) { SetHomeEfsFileSystem(value); return *this;}
75 
81  inline RetentionPolicy& WithHomeEfsFileSystem(RetentionType&& value) { SetHomeEfsFileSystem(std::move(value)); return *this;}
82 
83  private:
84 
85  RetentionType m_homeEfsFileSystem;
86  bool m_homeEfsFileSystemHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace SageMaker
91 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::RetentionType
RetentionType
Definition: RetentionType.h:17
Aws::SageMaker::Model::RetentionPolicy::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
RetentionType.h
Aws::SageMaker::Model::RetentionPolicy::SetHomeEfsFileSystem
void SetHomeEfsFileSystem(RetentionType &&value)
Definition: RetentionPolicy.h:67
Aws::SageMaker::Model::RetentionPolicy::RetentionPolicy
RetentionPolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::RetentionPolicy::operator=
RetentionPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::RetentionPolicy
Definition: RetentionPolicy.h:33
Aws::SageMaker::Model::RetentionPolicy::HomeEfsFileSystemHasBeenSet
bool HomeEfsFileSystemHasBeenSet() const
Definition: RetentionPolicy.h:53
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::RetentionPolicy::WithHomeEfsFileSystem
RetentionPolicy & WithHomeEfsFileSystem(RetentionType &&value)
Definition: RetentionPolicy.h:81
Aws::SageMaker::Model::RetentionPolicy::RetentionPolicy
RetentionPolicy()
Aws::SageMaker::Model::RetentionPolicy::WithHomeEfsFileSystem
RetentionPolicy & WithHomeEfsFileSystem(const RetentionType &value)
Definition: RetentionPolicy.h:74
Aws::SageMaker::Model::RetentionPolicy::SetHomeEfsFileSystem
void SetHomeEfsFileSystem(const RetentionType &value)
Definition: RetentionPolicy.h:60
Aws::SageMaker::Model::RetentionPolicy::GetHomeEfsFileSystem
const RetentionType & GetHomeEfsFileSystem() const
Definition: RetentionPolicy.h:46