AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const NotebookOutputOption& GetNotebookOutputOption() const{ return m_notebookOutputOption; }
52 inline bool NotebookOutputOptionHasBeenSet() const { return m_notebookOutputOptionHasBeenSet; }
53 inline void SetNotebookOutputOption(const NotebookOutputOption& value) { m_notebookOutputOptionHasBeenSet = true; m_notebookOutputOption = value; }
54 inline void SetNotebookOutputOption(NotebookOutputOption&& value) { m_notebookOutputOptionHasBeenSet = true; m_notebookOutputOption = std::move(value); }
56 inline SharingSettings& WithNotebookOutputOption(NotebookOutputOption&& value) { SetNotebookOutputOption(std::move(value)); return *this;}
58
60
64 inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
65 inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
66 inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
67 inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
68 inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
69 inline SharingSettings& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
70 inline SharingSettings& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
71 inline SharingSettings& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
73
75
80 inline const Aws::String& GetS3KmsKeyId() const{ return m_s3KmsKeyId; }
81 inline bool S3KmsKeyIdHasBeenSet() const { return m_s3KmsKeyIdHasBeenSet; }
82 inline void SetS3KmsKeyId(const Aws::String& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = value; }
83 inline void SetS3KmsKeyId(Aws::String&& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = std::move(value); }
84 inline void SetS3KmsKeyId(const char* value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId.assign(value); }
85 inline SharingSettings& WithS3KmsKeyId(const Aws::String& value) { SetS3KmsKeyId(value); return *this;}
86 inline SharingSettings& WithS3KmsKeyId(Aws::String&& value) { SetS3KmsKeyId(std::move(value)); return *this;}
87 inline SharingSettings& WithS3KmsKeyId(const char* value) { SetS3KmsKeyId(value); return *this;}
89 private:
90
91 NotebookOutputOption m_notebookOutputOption;
92 bool m_notebookOutputOptionHasBeenSet = false;
93
94 Aws::String m_s3OutputPath;
95 bool m_s3OutputPathHasBeenSet = false;
96
97 Aws::String m_s3KmsKeyId;
98 bool m_s3KmsKeyIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SageMaker
103} // namespace Aws
SharingSettings & WithS3KmsKeyId(Aws::String &&value)
void SetS3KmsKeyId(const Aws::String &value)
SharingSettings & WithS3KmsKeyId(const char *value)
AWS_SAGEMAKER_API SharingSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const NotebookOutputOption & GetNotebookOutputOption() const
void SetS3OutputPath(const char *value)
void SetNotebookOutputOption(NotebookOutputOption &&value)
void SetS3KmsKeyId(Aws::String &&value)
SharingSettings & WithS3OutputPath(Aws::String &&value)
const Aws::String & GetS3OutputPath() const
void SetNotebookOutputOption(const NotebookOutputOption &value)
SharingSettings & WithNotebookOutputOption(NotebookOutputOption &&value)
const Aws::String & GetS3KmsKeyId() const
void SetS3OutputPath(const Aws::String &value)
SharingSettings & WithNotebookOutputOption(const NotebookOutputOption &value)
SharingSettings & WithS3KmsKeyId(const Aws::String &value)
SharingSettings & WithS3OutputPath(const char *value)
SharingSettings & WithS3OutputPath(const Aws::String &value)
void SetS3OutputPath(Aws::String &&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