AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
TrainedModelInferenceJobsConfigurationPolicy.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/cleanroomsml/model/TrainedModelInferenceMaxOutputSize.h>
10#include <aws/cleanroomsml/model/LogsConfigurationPolicy.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRoomsML
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMSML_API TrainedModelInferenceJobsConfigurationPolicy() = default;
40 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<LogsConfigurationPolicy>& GetContainerLogs() const { return m_containerLogs; }
48 inline bool ContainerLogsHasBeenSet() const { return m_containerLogsHasBeenSet; }
49 template<typename ContainerLogsT = Aws::Vector<LogsConfigurationPolicy>>
50 void SetContainerLogs(ContainerLogsT&& value) { m_containerLogsHasBeenSet = true; m_containerLogs = std::forward<ContainerLogsT>(value); }
51 template<typename ContainerLogsT = Aws::Vector<LogsConfigurationPolicy>>
52 TrainedModelInferenceJobsConfigurationPolicy& WithContainerLogs(ContainerLogsT&& value) { SetContainerLogs(std::forward<ContainerLogsT>(value)); return *this;}
53 template<typename ContainerLogsT = LogsConfigurationPolicy>
54 TrainedModelInferenceJobsConfigurationPolicy& AddContainerLogs(ContainerLogsT&& value) { m_containerLogsHasBeenSet = true; m_containerLogs.emplace_back(std::forward<ContainerLogsT>(value)); return *this; }
56
58
62 inline const TrainedModelInferenceMaxOutputSize& GetMaxOutputSize() const { return m_maxOutputSize; }
63 inline bool MaxOutputSizeHasBeenSet() const { return m_maxOutputSizeHasBeenSet; }
64 template<typename MaxOutputSizeT = TrainedModelInferenceMaxOutputSize>
65 void SetMaxOutputSize(MaxOutputSizeT&& value) { m_maxOutputSizeHasBeenSet = true; m_maxOutputSize = std::forward<MaxOutputSizeT>(value); }
66 template<typename MaxOutputSizeT = TrainedModelInferenceMaxOutputSize>
67 TrainedModelInferenceJobsConfigurationPolicy& WithMaxOutputSize(MaxOutputSizeT&& value) { SetMaxOutputSize(std::forward<MaxOutputSizeT>(value)); return *this;}
69 private:
70
72 bool m_containerLogsHasBeenSet = false;
73
75 bool m_maxOutputSizeHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CleanRoomsML
80} // namespace Aws
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
TrainedModelInferenceJobsConfigurationPolicy & WithContainerLogs(ContainerLogsT &&value)
AWS_CLEANROOMSML_API TrainedModelInferenceJobsConfigurationPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainedModelInferenceJobsConfigurationPolicy & AddContainerLogs(ContainerLogsT &&value)
AWS_CLEANROOMSML_API TrainedModelInferenceJobsConfigurationPolicy(Aws::Utils::Json::JsonView jsonValue)
TrainedModelInferenceJobsConfigurationPolicy & WithMaxOutputSize(MaxOutputSizeT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue