AWS SDK for C++

AWS SDK for C++ Version 1.11.835

Loading...
Searching...
No Matches
AIBenchmarkOutputResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AICloudWatchLogs.h>
11#include <aws/sagemaker/model/AIMlflowConfig.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
32 public:
33 AWS_SAGEMAKER_API AIBenchmarkOutputResult() = default;
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetS3OutputLocation() const { return m_s3OutputLocation; }
43 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
44 template <typename S3OutputLocationT = Aws::String>
45 void SetS3OutputLocation(S3OutputLocationT&& value) {
46 m_s3OutputLocationHasBeenSet = true;
47 m_s3OutputLocation = std::forward<S3OutputLocationT>(value);
48 }
49 template <typename S3OutputLocationT = Aws::String>
50 AIBenchmarkOutputResult& WithS3OutputLocation(S3OutputLocationT&& value) {
51 SetS3OutputLocation(std::forward<S3OutputLocationT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::Vector<AICloudWatchLogs>& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
61 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
62 template <typename CloudWatchLogsT = Aws::Vector<AICloudWatchLogs>>
63 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
64 m_cloudWatchLogsHasBeenSet = true;
65 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
66 }
67 template <typename CloudWatchLogsT = Aws::Vector<AICloudWatchLogs>>
68 AIBenchmarkOutputResult& WithCloudWatchLogs(CloudWatchLogsT&& value) {
69 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
70 return *this;
71 }
72 template <typename CloudWatchLogsT = AICloudWatchLogs>
73 AIBenchmarkOutputResult& AddCloudWatchLogs(CloudWatchLogsT&& value) {
74 m_cloudWatchLogsHasBeenSet = true;
75 m_cloudWatchLogs.emplace_back(std::forward<CloudWatchLogsT>(value));
76 return *this;
77 }
79
81
84 inline const AIMlflowConfig& GetMlflowConfig() const { return m_mlflowConfig; }
85 inline bool MlflowConfigHasBeenSet() const { return m_mlflowConfigHasBeenSet; }
86 template <typename MlflowConfigT = AIMlflowConfig>
87 void SetMlflowConfig(MlflowConfigT&& value) {
88 m_mlflowConfigHasBeenSet = true;
89 m_mlflowConfig = std::forward<MlflowConfigT>(value);
90 }
91 template <typename MlflowConfigT = AIMlflowConfig>
92 AIBenchmarkOutputResult& WithMlflowConfig(MlflowConfigT&& value) {
93 SetMlflowConfig(std::forward<MlflowConfigT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_s3OutputLocation;
99
100 Aws::Vector<AICloudWatchLogs> m_cloudWatchLogs;
101
102 AIMlflowConfig m_mlflowConfig;
103 bool m_s3OutputLocationHasBeenSet = false;
104 bool m_cloudWatchLogsHasBeenSet = false;
105 bool m_mlflowConfigHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SageMaker
110} // namespace Aws
AIBenchmarkOutputResult & WithMlflowConfig(MlflowConfigT &&value)
AIBenchmarkOutputResult & WithCloudWatchLogs(CloudWatchLogsT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AIBenchmarkOutputResult()=default
AWS_SAGEMAKER_API AIBenchmarkOutputResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AICloudWatchLogs > & GetCloudWatchLogs() const
AIBenchmarkOutputResult & AddCloudWatchLogs(CloudWatchLogsT &&value)
AIBenchmarkOutputResult & WithS3OutputLocation(S3OutputLocationT &&value)
AWS_SAGEMAKER_API AIBenchmarkOutputResult(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue