AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ModelQualityAppSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/MonitoringProblemType.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 ModelQualityAppSpecification() = default;
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetImageUri() const { return m_imageUri; }
43 inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; }
44 template <typename ImageUriT = Aws::String>
45 void SetImageUri(ImageUriT&& value) {
46 m_imageUriHasBeenSet = true;
47 m_imageUri = std::forward<ImageUriT>(value);
48 }
49 template <typename ImageUriT = Aws::String>
51 SetImageUri(std::forward<ImageUriT>(value));
52 return *this;
53 }
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) {
64 m_containerEntrypointHasBeenSet = true;
65 m_containerEntrypoint = std::forward<ContainerEntrypointT>(value);
66 }
67 template <typename ContainerEntrypointT = Aws::Vector<Aws::String>>
69 SetContainerEntrypoint(std::forward<ContainerEntrypointT>(value));
70 return *this;
71 }
72 template <typename ContainerEntrypointT = Aws::String>
74 m_containerEntrypointHasBeenSet = true;
75 m_containerEntrypoint.emplace_back(std::forward<ContainerEntrypointT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Vector<Aws::String>& GetContainerArguments() const { return m_containerArguments; }
85 inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
86 template <typename ContainerArgumentsT = Aws::Vector<Aws::String>>
87 void SetContainerArguments(ContainerArgumentsT&& value) {
88 m_containerArgumentsHasBeenSet = true;
89 m_containerArguments = std::forward<ContainerArgumentsT>(value);
90 }
91 template <typename ContainerArgumentsT = Aws::Vector<Aws::String>>
93 SetContainerArguments(std::forward<ContainerArgumentsT>(value));
94 return *this;
95 }
96 template <typename ContainerArgumentsT = Aws::String>
98 m_containerArgumentsHasBeenSet = true;
99 m_containerArguments.emplace_back(std::forward<ContainerArgumentsT>(value));
100 return *this;
101 }
103
105
111 inline const Aws::String& GetRecordPreprocessorSourceUri() const { return m_recordPreprocessorSourceUri; }
112 inline bool RecordPreprocessorSourceUriHasBeenSet() const { return m_recordPreprocessorSourceUriHasBeenSet; }
113 template <typename RecordPreprocessorSourceUriT = Aws::String>
114 void SetRecordPreprocessorSourceUri(RecordPreprocessorSourceUriT&& value) {
115 m_recordPreprocessorSourceUriHasBeenSet = true;
116 m_recordPreprocessorSourceUri = std::forward<RecordPreprocessorSourceUriT>(value);
117 }
118 template <typename RecordPreprocessorSourceUriT = Aws::String>
119 ModelQualityAppSpecification& WithRecordPreprocessorSourceUri(RecordPreprocessorSourceUriT&& value) {
120 SetRecordPreprocessorSourceUri(std::forward<RecordPreprocessorSourceUriT>(value));
121 return *this;
122 }
124
126
130 inline const Aws::String& GetPostAnalyticsProcessorSourceUri() const { return m_postAnalyticsProcessorSourceUri; }
131 inline bool PostAnalyticsProcessorSourceUriHasBeenSet() const { return m_postAnalyticsProcessorSourceUriHasBeenSet; }
132 template <typename PostAnalyticsProcessorSourceUriT = Aws::String>
133 void SetPostAnalyticsProcessorSourceUri(PostAnalyticsProcessorSourceUriT&& value) {
134 m_postAnalyticsProcessorSourceUriHasBeenSet = true;
135 m_postAnalyticsProcessorSourceUri = std::forward<PostAnalyticsProcessorSourceUriT>(value);
136 }
137 template <typename PostAnalyticsProcessorSourceUriT = Aws::String>
138 ModelQualityAppSpecification& WithPostAnalyticsProcessorSourceUri(PostAnalyticsProcessorSourceUriT&& value) {
139 SetPostAnalyticsProcessorSourceUri(std::forward<PostAnalyticsProcessorSourceUriT>(value));
140 return *this;
141 }
143
145
149 inline MonitoringProblemType GetProblemType() const { return m_problemType; }
150 inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; }
152 m_problemTypeHasBeenSet = true;
153 m_problemType = value;
154 }
156 SetProblemType(value);
157 return *this;
158 }
160
162
166 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const { return m_environment; }
167 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
168 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
169 void SetEnvironment(EnvironmentT&& value) {
170 m_environmentHasBeenSet = true;
171 m_environment = std::forward<EnvironmentT>(value);
172 }
173 template <typename EnvironmentT = Aws::Map<Aws::String, Aws::String>>
175 SetEnvironment(std::forward<EnvironmentT>(value));
176 return *this;
177 }
178 template <typename EnvironmentKeyT = Aws::String, typename EnvironmentValueT = Aws::String>
179 ModelQualityAppSpecification& AddEnvironment(EnvironmentKeyT&& key, EnvironmentValueT&& value) {
180 m_environmentHasBeenSet = true;
181 m_environment.emplace(std::forward<EnvironmentKeyT>(key), std::forward<EnvironmentValueT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_imageUri;
187
188 Aws::Vector<Aws::String> m_containerEntrypoint;
189
190 Aws::Vector<Aws::String> m_containerArguments;
191
192 Aws::String m_recordPreprocessorSourceUri;
193
194 Aws::String m_postAnalyticsProcessorSourceUri;
195
197
199 bool m_imageUriHasBeenSet = false;
200 bool m_containerEntrypointHasBeenSet = false;
201 bool m_containerArgumentsHasBeenSet = false;
202 bool m_recordPreprocessorSourceUriHasBeenSet = false;
203 bool m_postAnalyticsProcessorSourceUriHasBeenSet = false;
204 bool m_problemTypeHasBeenSet = false;
205 bool m_environmentHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace SageMaker
210} // 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