AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceS3Uri(const Aws::String& value) { m_sourceS3UriHasBeenSet = true; m_sourceS3Uri = value; }
56 inline void SetSourceS3Uri(Aws::String&& value) { m_sourceS3UriHasBeenSet = true; m_sourceS3Uri = std::move(value); }
57 inline void SetSourceS3Uri(const char* value) { m_sourceS3UriHasBeenSet = true; m_sourceS3Uri.assign(value); }
58 inline ClusterLifeCycleConfig& WithSourceS3Uri(const Aws::String& value) { SetSourceS3Uri(value); return *this;}
59 inline ClusterLifeCycleConfig& WithSourceS3Uri(Aws::String&& value) { SetSourceS3Uri(std::move(value)); return *this;}
60 inline ClusterLifeCycleConfig& WithSourceS3Uri(const char* value) { SetSourceS3Uri(value); return *this;}
62
64
69 inline const Aws::String& GetOnCreate() const{ return m_onCreate; }
70 inline bool OnCreateHasBeenSet() const { return m_onCreateHasBeenSet; }
71 inline void SetOnCreate(const Aws::String& value) { m_onCreateHasBeenSet = true; m_onCreate = value; }
72 inline void SetOnCreate(Aws::String&& value) { m_onCreateHasBeenSet = true; m_onCreate = std::move(value); }
73 inline void SetOnCreate(const char* value) { m_onCreateHasBeenSet = true; m_onCreate.assign(value); }
74 inline ClusterLifeCycleConfig& WithOnCreate(const Aws::String& value) { SetOnCreate(value); return *this;}
75 inline ClusterLifeCycleConfig& WithOnCreate(Aws::String&& value) { SetOnCreate(std::move(value)); return *this;}
76 inline ClusterLifeCycleConfig& WithOnCreate(const char* value) { SetOnCreate(value); return *this;}
78 private:
79
80 Aws::String m_sourceS3Uri;
81 bool m_sourceS3UriHasBeenSet = false;
82
83 Aws::String m_onCreate;
84 bool m_onCreateHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace SageMaker
89} // namespace Aws
ClusterLifeCycleConfig & WithSourceS3Uri(const Aws::String &value)
ClusterLifeCycleConfig & WithSourceS3Uri(const char *value)
AWS_SAGEMAKER_API ClusterLifeCycleConfig(Aws::Utils::Json::JsonView jsonValue)
ClusterLifeCycleConfig & WithSourceS3Uri(Aws::String &&value)
ClusterLifeCycleConfig & WithOnCreate(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClusterLifeCycleConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClusterLifeCycleConfig & WithOnCreate(const char *value)
ClusterLifeCycleConfig & WithOnCreate(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue