AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ClusterLifeCycleConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API ClusterLifeCycleConfig() = default;
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
47 inline const Aws::String& GetSourceS3Uri() const { return m_sourceS3Uri; }
48 inline bool SourceS3UriHasBeenSet() const { return m_sourceS3UriHasBeenSet; }
49 template <typename SourceS3UriT = Aws::String>
50 void SetSourceS3Uri(SourceS3UriT&& value) {
51 m_sourceS3UriHasBeenSet = true;
52 m_sourceS3Uri = std::forward<SourceS3UriT>(value);
53 }
54 template <typename SourceS3UriT = Aws::String>
55 ClusterLifeCycleConfig& WithSourceS3Uri(SourceS3UriT&& value) {
56 SetSourceS3Uri(std::forward<SourceS3UriT>(value));
57 return *this;
58 }
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) {
71 m_onCreateHasBeenSet = true;
72 m_onCreate = std::forward<OnCreateT>(value);
73 }
74 template <typename OnCreateT = Aws::String>
76 SetOnCreate(std::forward<OnCreateT>(value));
77 return *this;
78 }
80 private:
81 Aws::String m_sourceS3Uri;
82
83 Aws::String m_onCreate;
84 bool m_sourceS3UriHasBeenSet = false;
85 bool m_onCreateHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace SageMaker
90} // 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