AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
SharingSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/NotebookOutputOption.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
34 public:
35 AWS_SAGEMAKER_API SharingSettings() = default;
36 AWS_SAGEMAKER_API SharingSettings(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
45 inline NotebookOutputOption GetNotebookOutputOption() const { return m_notebookOutputOption; }
46 inline bool NotebookOutputOptionHasBeenSet() const { return m_notebookOutputOptionHasBeenSet; }
48 m_notebookOutputOptionHasBeenSet = true;
49 m_notebookOutputOption = value;
50 }
53 return *this;
54 }
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) {
66 m_s3OutputPathHasBeenSet = true;
67 m_s3OutputPath = std::forward<S3OutputPathT>(value);
68 }
69 template <typename S3OutputPathT = Aws::String>
70 SharingSettings& WithS3OutputPath(S3OutputPathT&& value) {
71 SetS3OutputPath(std::forward<S3OutputPathT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetS3KmsKeyId() const { return m_s3KmsKeyId; }
83 inline bool S3KmsKeyIdHasBeenSet() const { return m_s3KmsKeyIdHasBeenSet; }
84 template <typename S3KmsKeyIdT = Aws::String>
85 void SetS3KmsKeyId(S3KmsKeyIdT&& value) {
86 m_s3KmsKeyIdHasBeenSet = true;
87 m_s3KmsKeyId = std::forward<S3KmsKeyIdT>(value);
88 }
89 template <typename S3KmsKeyIdT = Aws::String>
90 SharingSettings& WithS3KmsKeyId(S3KmsKeyIdT&& value) {
91 SetS3KmsKeyId(std::forward<S3KmsKeyIdT>(value));
92 return *this;
93 }
95 private:
97
98 Aws::String m_s3OutputPath;
99
100 Aws::String m_s3KmsKeyId;
101 bool m_notebookOutputOptionHasBeenSet = false;
102 bool m_s3OutputPathHasBeenSet = false;
103 bool m_s3KmsKeyIdHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace SageMaker
108} // 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