AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
WorkspaceSettings.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 WorkspaceSettings() = default;
31 AWS_SAGEMAKER_API WorkspaceSettings(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetS3ArtifactPath() const { return m_s3ArtifactPath; }
43 inline bool S3ArtifactPathHasBeenSet() const { return m_s3ArtifactPathHasBeenSet; }
44 template <typename S3ArtifactPathT = Aws::String>
45 void SetS3ArtifactPath(S3ArtifactPathT&& value) {
46 m_s3ArtifactPathHasBeenSet = true;
47 m_s3ArtifactPath = std::forward<S3ArtifactPathT>(value);
48 }
49 template <typename S3ArtifactPathT = Aws::String>
50 WorkspaceSettings& WithS3ArtifactPath(S3ArtifactPathT&& value) {
51 SetS3ArtifactPath(std::forward<S3ArtifactPathT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetS3KmsKeyId() const { return m_s3KmsKeyId; }
62 inline bool S3KmsKeyIdHasBeenSet() const { return m_s3KmsKeyIdHasBeenSet; }
63 template <typename S3KmsKeyIdT = Aws::String>
64 void SetS3KmsKeyId(S3KmsKeyIdT&& value) {
65 m_s3KmsKeyIdHasBeenSet = true;
66 m_s3KmsKeyId = std::forward<S3KmsKeyIdT>(value);
67 }
68 template <typename S3KmsKeyIdT = Aws::String>
69 WorkspaceSettings& WithS3KmsKeyId(S3KmsKeyIdT&& value) {
70 SetS3KmsKeyId(std::forward<S3KmsKeyIdT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_s3ArtifactPath;
76
77 Aws::String m_s3KmsKeyId;
78 bool m_s3ArtifactPathHasBeenSet = false;
79 bool m_s3KmsKeyIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace SageMaker
84} // namespace Aws
const Aws::String & GetS3KmsKeyId() const
AWS_SAGEMAKER_API WorkspaceSettings()=default
WorkspaceSettings & WithS3ArtifactPath(S3ArtifactPathT &&value)
const Aws::String & GetS3ArtifactPath() const
void SetS3ArtifactPath(S3ArtifactPathT &&value)
WorkspaceSettings & WithS3KmsKeyId(S3KmsKeyIdT &&value)
AWS_SAGEMAKER_API WorkspaceSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API WorkspaceSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue