AWS SDK for C++  1.9.159
AWS SDK for C++
SharingSettings.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
38  {
39  public:
44 
45 
50  inline const NotebookOutputOption& GetNotebookOutputOption() const{ return m_notebookOutputOption; }
51 
56  inline bool NotebookOutputOptionHasBeenSet() const { return m_notebookOutputOptionHasBeenSet; }
57 
62  inline void SetNotebookOutputOption(const NotebookOutputOption& value) { m_notebookOutputOptionHasBeenSet = true; m_notebookOutputOption = value; }
63 
68  inline void SetNotebookOutputOption(NotebookOutputOption&& value) { m_notebookOutputOptionHasBeenSet = true; m_notebookOutputOption = std::move(value); }
69 
74  inline SharingSettings& WithNotebookOutputOption(const NotebookOutputOption& value) { SetNotebookOutputOption(value); return *this;}
75 
80  inline SharingSettings& WithNotebookOutputOption(NotebookOutputOption&& value) { SetNotebookOutputOption(std::move(value)); return *this;}
81 
82 
87  inline const Aws::String& GetS3OutputPath() const{ return m_s3OutputPath; }
88 
93  inline bool S3OutputPathHasBeenSet() const { return m_s3OutputPathHasBeenSet; }
94 
99  inline void SetS3OutputPath(const Aws::String& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = value; }
100 
105  inline void SetS3OutputPath(Aws::String&& value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath = std::move(value); }
106 
111  inline void SetS3OutputPath(const char* value) { m_s3OutputPathHasBeenSet = true; m_s3OutputPath.assign(value); }
112 
117  inline SharingSettings& WithS3OutputPath(const Aws::String& value) { SetS3OutputPath(value); return *this;}
118 
123  inline SharingSettings& WithS3OutputPath(Aws::String&& value) { SetS3OutputPath(std::move(value)); return *this;}
124 
129  inline SharingSettings& WithS3OutputPath(const char* value) { SetS3OutputPath(value); return *this;}
130 
131 
137  inline const Aws::String& GetS3KmsKeyId() const{ return m_s3KmsKeyId; }
138 
144  inline bool S3KmsKeyIdHasBeenSet() const { return m_s3KmsKeyIdHasBeenSet; }
145 
151  inline void SetS3KmsKeyId(const Aws::String& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = value; }
152 
158  inline void SetS3KmsKeyId(Aws::String&& value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId = std::move(value); }
159 
165  inline void SetS3KmsKeyId(const char* value) { m_s3KmsKeyIdHasBeenSet = true; m_s3KmsKeyId.assign(value); }
166 
172  inline SharingSettings& WithS3KmsKeyId(const Aws::String& value) { SetS3KmsKeyId(value); return *this;}
173 
179  inline SharingSettings& WithS3KmsKeyId(Aws::String&& value) { SetS3KmsKeyId(std::move(value)); return *this;}
180 
186  inline SharingSettings& WithS3KmsKeyId(const char* value) { SetS3KmsKeyId(value); return *this;}
187 
188  private:
189 
190  NotebookOutputOption m_notebookOutputOption;
191  bool m_notebookOutputOptionHasBeenSet;
192 
193  Aws::String m_s3OutputPath;
194  bool m_s3OutputPathHasBeenSet;
195 
196  Aws::String m_s3KmsKeyId;
197  bool m_s3KmsKeyIdHasBeenSet;
198  };
199 
200 } // namespace Model
201 } // namespace SageMaker
202 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::SharingSettings::SharingSettings
SharingSettings()
Aws::SageMaker::Model::SharingSettings::SetS3OutputPath
void SetS3OutputPath(const char *value)
Definition: SharingSettings.h:111
Aws::SageMaker::Model::SharingSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::SharingSettings::WithS3OutputPath
SharingSettings & WithS3OutputPath(const Aws::String &value)
Definition: SharingSettings.h:117
Aws::SageMaker::Model::SharingSettings::S3KmsKeyIdHasBeenSet
bool S3KmsKeyIdHasBeenSet() const
Definition: SharingSettings.h:144
Aws::SageMaker::Model::SharingSettings::NotebookOutputOptionHasBeenSet
bool NotebookOutputOptionHasBeenSet() const
Definition: SharingSettings.h:56
Aws::SageMaker::Model::SharingSettings::SetNotebookOutputOption
void SetNotebookOutputOption(NotebookOutputOption &&value)
Definition: SharingSettings.h:68
Aws::SageMaker::Model::SharingSettings::WithS3KmsKeyId
SharingSettings & WithS3KmsKeyId(const char *value)
Definition: SharingSettings.h:186
Aws::SageMaker::Model::SharingSettings
Definition: SharingSettings.h:38
Aws::SageMaker::Model::SharingSettings::WithS3KmsKeyId
SharingSettings & WithS3KmsKeyId(Aws::String &&value)
Definition: SharingSettings.h:179
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::SharingSettings::GetS3OutputPath
const Aws::String & GetS3OutputPath() const
Definition: SharingSettings.h:87
Aws::SageMaker::Model::SharingSettings::SharingSettings
SharingSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::SharingSettings::WithS3KmsKeyId
SharingSettings & WithS3KmsKeyId(const Aws::String &value)
Definition: SharingSettings.h:172
Aws::SageMaker::Model::SharingSettings::operator=
SharingSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::SharingSettings::SetNotebookOutputOption
void SetNotebookOutputOption(const NotebookOutputOption &value)
Definition: SharingSettings.h:62
NotebookOutputOption.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::SharingSettings::GetNotebookOutputOption
const NotebookOutputOption & GetNotebookOutputOption() const
Definition: SharingSettings.h:50
Aws::SageMaker::Model::SharingSettings::SetS3OutputPath
void SetS3OutputPath(Aws::String &&value)
Definition: SharingSettings.h:105
Aws::SageMaker::Model::SharingSettings::SetS3OutputPath
void SetS3OutputPath(const Aws::String &value)
Definition: SharingSettings.h:99
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::SharingSettings::SetS3KmsKeyId
void SetS3KmsKeyId(Aws::String &&value)
Definition: SharingSettings.h:158
Aws::SageMaker::Model::NotebookOutputOption
NotebookOutputOption
Definition: NotebookOutputOption.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::SharingSettings::WithNotebookOutputOption
SharingSettings & WithNotebookOutputOption(NotebookOutputOption &&value)
Definition: SharingSettings.h:80
Aws::SageMaker::Model::SharingSettings::WithS3OutputPath
SharingSettings & WithS3OutputPath(Aws::String &&value)
Definition: SharingSettings.h:123
Aws::SageMaker::Model::SharingSettings::GetS3KmsKeyId
const Aws::String & GetS3KmsKeyId() const
Definition: SharingSettings.h:137
Aws::SageMaker::Model::SharingSettings::SetS3KmsKeyId
void SetS3KmsKeyId(const char *value)
Definition: SharingSettings.h:165
Aws::SageMaker::Model::SharingSettings::SetS3KmsKeyId
void SetS3KmsKeyId(const Aws::String &value)
Definition: SharingSettings.h:151
Aws::SageMaker::Model::SharingSettings::S3OutputPathHasBeenSet
bool S3OutputPathHasBeenSet() const
Definition: SharingSettings.h:93
Aws::SageMaker::Model::SharingSettings::WithS3OutputPath
SharingSettings & WithS3OutputPath(const char *value)
Definition: SharingSettings.h:129
Aws::SageMaker::Model::SharingSettings::WithNotebookOutputOption
SharingSettings & WithNotebookOutputOption(const NotebookOutputOption &value)
Definition: SharingSettings.h:74