AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RetentionPolicy.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/RetentionType.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 RetentionPolicy();
36 AWS_SAGEMAKER_API RetentionPolicy(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const RetentionType& GetHomeEfsFileSystem() const{ return m_homeEfsFileSystem; }
48 inline bool HomeEfsFileSystemHasBeenSet() const { return m_homeEfsFileSystemHasBeenSet; }
49 inline void SetHomeEfsFileSystem(const RetentionType& value) { m_homeEfsFileSystemHasBeenSet = true; m_homeEfsFileSystem = value; }
50 inline void SetHomeEfsFileSystem(RetentionType&& value) { m_homeEfsFileSystemHasBeenSet = true; m_homeEfsFileSystem = std::move(value); }
51 inline RetentionPolicy& WithHomeEfsFileSystem(const RetentionType& value) { SetHomeEfsFileSystem(value); return *this;}
52 inline RetentionPolicy& WithHomeEfsFileSystem(RetentionType&& value) { SetHomeEfsFileSystem(std::move(value)); return *this;}
54 private:
55
56 RetentionType m_homeEfsFileSystem;
57 bool m_homeEfsFileSystemHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace SageMaker
62} // namespace Aws
RetentionPolicy & WithHomeEfsFileSystem(const RetentionType &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const RetentionType & GetHomeEfsFileSystem() const
void SetHomeEfsFileSystem(RetentionType &&value)
AWS_SAGEMAKER_API RetentionPolicy(Aws::Utils::Json::JsonView jsonValue)
RetentionPolicy & WithHomeEfsFileSystem(RetentionType &&value)
void SetHomeEfsFileSystem(const RetentionType &value)
AWS_SAGEMAKER_API RetentionPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue