AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ClusterLifeCycleConfig.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 ClusterLifeCycleConfig() = default;
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
53 inline const Aws::String& GetSourceS3Uri() const { return m_sourceS3Uri; }
54 inline bool SourceS3UriHasBeenSet() const { return m_sourceS3UriHasBeenSet; }
55 template<typename SourceS3UriT = Aws::String>
56 void SetSourceS3Uri(SourceS3UriT&& value) { m_sourceS3UriHasBeenSet = true; m_sourceS3Uri = std::forward<SourceS3UriT>(value); }
57 template<typename SourceS3UriT = Aws::String>
58 ClusterLifeCycleConfig& WithSourceS3Uri(SourceS3UriT&& value) { SetSourceS3Uri(std::forward<SourceS3UriT>(value)); return *this;}
60
62
67 inline const Aws::String& GetOnCreate() const { return m_onCreate; }
68 inline bool OnCreateHasBeenSet() const { return m_onCreateHasBeenSet; }
69 template<typename OnCreateT = Aws::String>
70 void SetOnCreate(OnCreateT&& value) { m_onCreateHasBeenSet = true; m_onCreate = std::forward<OnCreateT>(value); }
71 template<typename OnCreateT = Aws::String>
72 ClusterLifeCycleConfig& WithOnCreate(OnCreateT&& value) { SetOnCreate(std::forward<OnCreateT>(value)); return *this;}
74 private:
75
76 Aws::String m_sourceS3Uri;
77 bool m_sourceS3UriHasBeenSet = false;
78
79 Aws::String m_onCreate;
80 bool m_onCreateHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace SageMaker
85} // namespace Aws
AWS_SAGEMAKER_API ClusterLifeCycleConfig(Aws::Utils::Json::JsonView jsonValue)
ClusterLifeCycleConfig & WithSourceS3Uri(SourceS3UriT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterLifeCycleConfig()=default
ClusterLifeCycleConfig & WithOnCreate(OnCreateT &&value)
AWS_SAGEMAKER_API ClusterLifeCycleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue