AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
SharingSettings.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/NotebookOutputOption.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_SAGEMAKER_API SharingSettings() = default;
41 AWS_SAGEMAKER_API SharingSettings(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline NotebookOutputOption GetNotebookOutputOption() const { return m_notebookOutputOption; }
52 inline bool NotebookOutputOptionHasBeenSet() const { return m_notebookOutputOptionHasBeenSet; }
53 inline void SetNotebookOutputOption(NotebookOutputOption value) { m_notebookOutputOptionHasBeenSet = true; m_notebookOutputOption = value; }
56
58
62 inline const Aws::String& GetS3OutputPath() const { return m_s3OutputPath; }
63 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
64 template<typename S3OutputPathT = Aws::String>
65 void SetS3OutputPath(S3OutputPathT&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::forward<S3OutputPathT>(value); }
66 template<typename S3OutputPathT = Aws::String>
67 SharingSettings& WithS3OutputPath(S3OutputPathT&& value) { SetS3OutputPath(std::forward<S3OutputPathT>(value)); return *this;}
69
71
76 inline const Aws::String& GetS3KmsKeyId() const { return m_s3KmsKeyId; }
77 inline bool S3KmsKeyIdHasBeenSet() const { return m_s3KmsKeyIdHasBeenSet; }
78 template<typename S3KmsKeyIdT = Aws::String>
79 void SetS3KmsKeyId(S3KmsKeyIdT&& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = std::forward<S3KmsKeyIdT>(value); }
80 template<typename S3KmsKeyIdT = Aws::String>
81 SharingSettings& WithS3KmsKeyId(S3KmsKeyIdT&& value) { SetS3KmsKeyId(std::forward<S3KmsKeyIdT>(value)); return *this;}
83 private:
84
86 bool m_notebookOutputOptionHasBeenSet = false;
87
88 Aws::String m_s3OutputPath;
89 bool m_s3OutputPathHasBeenSet = false;
90
91 Aws::String m_s3KmsKeyId;
92 bool m_s3KmsKeyIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SageMaker
97} // namespace Aws
NotebookOutputOption GetNotebookOutputOption() const
AWS_SAGEMAKER_API SharingSettings(Aws::Utils::Json::JsonView jsonValue)
SharingSettings & WithS3KmsKeyId(S3KmsKeyIdT &&value)
void SetNotebookOutputOption(NotebookOutputOption value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API SharingSettings()=default
const Aws::String & GetS3OutputPath() const
const Aws::String & GetS3KmsKeyId() const
SharingSettings & WithNotebookOutputOption(NotebookOutputOption value)
void SetS3OutputPath(S3OutputPathT &&value)
SharingSettings & WithS3OutputPath(S3OutputPathT &&value)
void SetS3KmsKeyId(S3KmsKeyIdT &&value)
AWS_SAGEMAKER_API SharingSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue