AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ModelQualityAppSpecification.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/MonitoringProblemType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace SageMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_SAGEMAKER_API ModelQualityAppSpecification() = default;
41 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetImageUri() const { return m_imageUri; }
49 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
50 template<typename ImageUriT = Aws::String>
51 void SetImageUri(ImageUriT&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::forward<ImageUriT>(value); }
52 template<typename ImageUriT = Aws::String>
53 ModelQualityAppSpecification& WithImageUri(ImageUriT&& value) { SetImageUri(std::forward<ImageUriT>(value)); return *this;}
55
57
60 inline const Aws::Vector<Aws::String>& GetContainerEntrypoint() const { return m_containerEntrypoint; }
61 inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; }
62 template<typename ContainerEntrypointT = Aws::Vector<Aws::String>>
63 void SetContainerEntrypoint(ContainerEntrypointT&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::forward<ContainerEntrypointT>(value); }
64 template<typename ContainerEntrypointT = Aws::Vector<Aws::String>>
65 ModelQualityAppSpecification& WithContainerEntrypoint(ContainerEntrypointT&& value) { SetContainerEntrypoint(std::forward<ContainerEntrypointT>(value)); return *this;}
66 template<typename ContainerEntrypointT = Aws::String>
67 ModelQualityAppSpecification& AddContainerEntrypoint(ContainerEntrypointT&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.emplace_back(std::forward<ContainerEntrypointT>(value)); return *this; }
69
71
74 inline const Aws::Vector<Aws::String>& GetContainerArguments() const { return m_containerArguments; }
75 inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
76 template<typename ContainerArgumentsT = Aws::Vector<Aws::String>>
77 void SetContainerArguments(ContainerArgumentsT&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::forward<ContainerArgumentsT>(value); }
78 template<typename ContainerArgumentsT = Aws::Vector<Aws::String>>
79 ModelQualityAppSpecification& WithContainerArguments(ContainerArgumentsT&& value) { SetContainerArguments(std::forward<ContainerArgumentsT>(value)); return *this;}
80 template<typename ContainerArgumentsT = Aws::String>
81 ModelQualityAppSpecification& AddContainerArguments(ContainerArgumentsT&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.emplace_back(std::forward<ContainerArgumentsT>(value)); return *this; }
83
85
91 inline const Aws::String& GetRecordPreprocessorSourceUri() const { return m_recordPreprocessorSourceUri; }
92 inline bool RecordPreprocessorSourceUriHasBeenSet() const { return m_recordPreprocessorSourceUriHasBeenSet; }
93 template<typename RecordPreprocessorSourceUriT = Aws::String>
94 void SetRecordPreprocessorSourceUri(RecordPreprocessorSourceUriT&& value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri = std::forward<RecordPreprocessorSourceUriT>(value); }
95 template<typename RecordPreprocessorSourceUriT = Aws::String>
96 ModelQualityAppSpecification& WithRecordPreprocessorSourceUri(RecordPreprocessorSourceUriT&& value) { SetRecordPreprocessorSourceUri(std::forward<RecordPreprocessorSourceUriT>(value)); return *this;}
98
100
104 inline const Aws::String& GetPostAnalyticsProcessorSourceUri() const { return m_postAnalyticsProcessorSourceUri; }
105 inline bool PostAnalyticsProcessorSourceUriHasBeenSet() const { return m_postAnalyticsProcessorSourceUriHasBeenSet; }
106 template<typename PostAnalyticsProcessorSourceUriT = Aws::String>
107 void SetPostAnalyticsProcessorSourceUri(PostAnalyticsProcessorSourceUriT&& value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri = std::forward<PostAnalyticsProcessorSourceUriT>(value); }
108 template<typename PostAnalyticsProcessorSourceUriT = Aws::String>
109 ModelQualityAppSpecification& WithPostAnalyticsProcessorSourceUri(PostAnalyticsProcessorSourceUriT&& value) { SetPostAnalyticsProcessorSourceUri(std::forward<PostAnalyticsProcessorSourceUriT>(value)); return *this;}
111
113
117 inline MonitoringProblemType GetProblemType() const { return m_problemType; }
118 inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; }
119 inline void SetProblemType(MonitoringProblemType value) { m_problemTypeHasBeenSet = true; m_problemType = value; }
122
124
128 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
129 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
130 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
131 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
132 template<typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
133 ModelQualityAppSpecification& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
134 template<typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
135 ModelQualityAppSpecification& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
136 m_environmentHasBeenSet = true; m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value)); return *this;
137 }
139 private:
140
141 Aws::String m_imageUri;
142 bool m_imageUriHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_containerEntrypoint;
145 bool m_containerEntrypointHasBeenSet = false;
146
147 Aws::Vector<Aws::String> m_containerArguments;
148 bool m_containerArgumentsHasBeenSet = false;
149
150 Aws::String m_recordPreprocessorSourceUri;
151 bool m_recordPreprocessorSourceUriHasBeenSet = false;
152
153 Aws::String m_postAnalyticsProcessorSourceUri;
154 bool m_postAnalyticsProcessorSourceUriHasBeenSet = false;
155
157 bool m_problemTypeHasBeenSet = false;
158
160 bool m_environmentHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace SageMaker
165} // namespace Aws
ModelQualityAppSpecification & WithProblemType(MonitoringProblemType value)
ModelQualityAppSpecification & AddEnvironment(EnvironmentKeyT &&key, EnvironmentValueT &&value)
ModelQualityAppSpecification & WithEnvironment(EnvironmentT &&value)
const Aws::Vector< Aws::String > & GetContainerEntrypoint() const
ModelQualityAppSpecification & WithPostAnalyticsProcessorSourceUri(PostAnalyticsProcessorSourceUriT &&value)
ModelQualityAppSpecification & AddContainerArguments(ContainerArgumentsT &&value)
ModelQualityAppSpecification & WithImageUri(ImageUriT &&value)
ModelQualityAppSpecification & WithContainerEntrypoint(ContainerEntrypointT &&value)
void SetRecordPreprocessorSourceUri(RecordPreprocessorSourceUriT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
void SetPostAnalyticsProcessorSourceUri(PostAnalyticsProcessorSourceUriT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelQualityAppSpecification & WithContainerArguments(ContainerArgumentsT &&value)
ModelQualityAppSpecification & AddContainerEntrypoint(ContainerEntrypointT &&value)
AWS_SAGEMAKER_API ModelQualityAppSpecification(Aws::Utils::Json::JsonView jsonValue)
ModelQualityAppSpecification & WithRecordPreprocessorSourceUri(RecordPreprocessorSourceUriT &&value)
AWS_SAGEMAKER_API ModelQualityAppSpecification()=default
AWS_SAGEMAKER_API ModelQualityAppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetContainerArguments() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue