AWS SDK for C++

AWS SDK for C++ Version 1.11.804

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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API AIBenchmarkOutputResult() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetS3OutputLocation() const { return m_s3OutputLocation; }
42 inline bool S3OutputLocationHasBeenSet() const { return m_s3OutputLocationHasBeenSet; }
43 template <typename S3OutputLocationT = Aws::String>
44 void SetS3OutputLocation(S3OutputLocationT&& value) {
45 m_s3OutputLocationHasBeenSet = true;
46 m_s3OutputLocation = std::forward<S3OutputLocationT>(value);
47 }
48 template <typename S3OutputLocationT = Aws::String>
49 AIBenchmarkOutputResult& WithS3OutputLocation(S3OutputLocationT&& value) {
50 SetS3OutputLocation(std::forward<S3OutputLocationT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<AICloudWatchLogs>& GetCloudWatchLogs() const { return m_cloudWatchLogs; }
60 inline bool CloudWatchLogsHasBeenSet() const { return m_cloudWatchLogsHasBeenSet; }
61 template <typename CloudWatchLogsT = Aws::Vector<AICloudWatchLogs>>
62 void SetCloudWatchLogs(CloudWatchLogsT&& value) {
63 m_cloudWatchLogsHasBeenSet = true;
64 m_cloudWatchLogs = std::forward<CloudWatchLogsT>(value);
65 }
66 template <typename CloudWatchLogsT = Aws::Vector<AICloudWatchLogs>>
67 AIBenchmarkOutputResult& WithCloudWatchLogs(CloudWatchLogsT&& value) {
68 SetCloudWatchLogs(std::forward<CloudWatchLogsT>(value));
69 return *this;
70 }
71 template <typename CloudWatchLogsT = AICloudWatchLogs>
72 AIBenchmarkOutputResult& AddCloudWatchLogs(CloudWatchLogsT&& value) {
73 m_cloudWatchLogsHasBeenSet = true;
74 m_cloudWatchLogs.emplace_back(std::forward<CloudWatchLogsT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_s3OutputLocation;
80
81 Aws::Vector<AICloudWatchLogs> m_cloudWatchLogs;
82 bool m_s3OutputLocationHasBeenSet = false;
83 bool m_cloudWatchLogsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SageMaker
88} // namespace Aws
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