AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; }
51 inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); }
52 inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); }
53 inline ModelQualityAppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;}
54 inline ModelQualityAppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;}
55 inline ModelQualityAppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetContainerEntrypoint() const{ return m_containerEntrypoint; }
63 inline bool ContainerEntrypointHasBeenSet() const { return m_containerEntrypointHasBeenSet; }
64 inline void SetContainerEntrypoint(const Aws::Vector<Aws::String>& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = value; }
65 inline void SetContainerEntrypoint(Aws::Vector<Aws::String>&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint = std::move(value); }
68 inline ModelQualityAppSpecification& AddContainerEntrypoint(const Aws::String& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
69 inline ModelQualityAppSpecification& AddContainerEntrypoint(Aws::String&& value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(std::move(value)); return *this; }
70 inline ModelQualityAppSpecification& AddContainerEntrypoint(const char* value) { m_containerEntrypointHasBeenSet = true; m_containerEntrypoint.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<Aws::String>& GetContainerArguments() const{ return m_containerArguments; }
78 inline bool ContainerArgumentsHasBeenSet() const { return m_containerArgumentsHasBeenSet; }
79 inline void SetContainerArguments(const Aws::Vector<Aws::String>& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = value; }
80 inline void SetContainerArguments(Aws::Vector<Aws::String>&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments = std::move(value); }
83 inline ModelQualityAppSpecification& AddContainerArguments(const Aws::String& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
84 inline ModelQualityAppSpecification& AddContainerArguments(Aws::String&& value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(std::move(value)); return *this; }
85 inline ModelQualityAppSpecification& AddContainerArguments(const char* value) { m_containerArgumentsHasBeenSet = true; m_containerArguments.push_back(value); return *this; }
87
89
95 inline const Aws::String& GetRecordPreprocessorSourceUri() const{ return m_recordPreprocessorSourceUri; }
96 inline bool RecordPreprocessorSourceUriHasBeenSet() const { return m_recordPreprocessorSourceUriHasBeenSet; }
97 inline void SetRecordPreprocessorSourceUri(const Aws::String& value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri = value; }
98 inline void SetRecordPreprocessorSourceUri(Aws::String&& value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri = std::move(value); }
99 inline void SetRecordPreprocessorSourceUri(const char* value) { m_recordPreprocessorSourceUriHasBeenSet = true; m_recordPreprocessorSourceUri.assign(value); }
104
106
110 inline const Aws::String& GetPostAnalyticsProcessorSourceUri() const{ return m_postAnalyticsProcessorSourceUri; }
111 inline bool PostAnalyticsProcessorSourceUriHasBeenSet() const { return m_postAnalyticsProcessorSourceUriHasBeenSet; }
112 inline void SetPostAnalyticsProcessorSourceUri(const Aws::String& value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri = value; }
113 inline void SetPostAnalyticsProcessorSourceUri(Aws::String&& value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri = std::move(value); }
114 inline void SetPostAnalyticsProcessorSourceUri(const char* value) { m_postAnalyticsProcessorSourceUriHasBeenSet = true; m_postAnalyticsProcessorSourceUri.assign(value); }
119
121
125 inline const MonitoringProblemType& GetProblemType() const{ return m_problemType; }
126 inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; }
127 inline void SetProblemType(const MonitoringProblemType& value) { m_problemTypeHasBeenSet = true; m_problemType = value; }
128 inline void SetProblemType(MonitoringProblemType&& value) { m_problemTypeHasBeenSet = true; m_problemType = std::move(value); }
130 inline ModelQualityAppSpecification& WithProblemType(MonitoringProblemType&& value) { SetProblemType(std::move(value)); return *this;}
132
134
138 inline const Aws::Map<Aws::String, Aws::String>& GetEnvironment() const{ return m_environment; }
139 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
140 inline void SetEnvironment(const Aws::Map<Aws::String, Aws::String>& value) { m_environmentHasBeenSet = true; m_environment = value; }
141 inline void SetEnvironment(Aws::Map<Aws::String, Aws::String>&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
144 inline ModelQualityAppSpecification& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
145 inline ModelQualityAppSpecification& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
146 inline ModelQualityAppSpecification& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
147 inline ModelQualityAppSpecification& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; }
148 inline ModelQualityAppSpecification& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; }
149 inline ModelQualityAppSpecification& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; }
150 inline ModelQualityAppSpecification& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; }
152 private:
153
154 Aws::String m_imageUri;
155 bool m_imageUriHasBeenSet = false;
156
157 Aws::Vector<Aws::String> m_containerEntrypoint;
158 bool m_containerEntrypointHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_containerArguments;
161 bool m_containerArgumentsHasBeenSet = false;
162
163 Aws::String m_recordPreprocessorSourceUri;
164 bool m_recordPreprocessorSourceUriHasBeenSet = false;
165
166 Aws::String m_postAnalyticsProcessorSourceUri;
167 bool m_postAnalyticsProcessorSourceUriHasBeenSet = false;
168
169 MonitoringProblemType m_problemType;
170 bool m_problemTypeHasBeenSet = false;
171
173 bool m_environmentHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace SageMaker
178} // namespace Aws
ModelQualityAppSpecification & WithRecordPreprocessorSourceUri(const Aws::String &value)
ModelQualityAppSpecification & WithImageUri(const char *value)
ModelQualityAppSpecification & WithContainerEntrypoint(const Aws::Vector< Aws::String > &value)
void SetEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
ModelQualityAppSpecification & AddEnvironment(Aws::String &&key, const Aws::String &value)
void SetEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ModelQualityAppSpecification & WithEnvironment(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Vector< Aws::String > & GetContainerEntrypoint() const
ModelQualityAppSpecification & WithProblemType(const MonitoringProblemType &value)
void SetContainerEntrypoint(const Aws::Vector< Aws::String > &value)
ModelQualityAppSpecification & AddContainerArguments(const Aws::String &value)
ModelQualityAppSpecification & WithPostAnalyticsProcessorSourceUri(Aws::String &&value)
void SetContainerArguments(const Aws::Vector< Aws::String > &value)
ModelQualityAppSpecification & WithEnvironment(const Aws::Map< Aws::String, Aws::String > &value)
ModelQualityAppSpecification & AddContainerArguments(Aws::String &&value)
ModelQualityAppSpecification & AddEnvironment(const Aws::String &key, const Aws::String &value)
ModelQualityAppSpecification & AddContainerEntrypoint(Aws::String &&value)
ModelQualityAppSpecification & AddEnvironment(Aws::String &&key, const char *value)
ModelQualityAppSpecification & WithPostAnalyticsProcessorSourceUri(const char *value)
ModelQualityAppSpecification & WithRecordPreprocessorSourceUri(const char *value)
ModelQualityAppSpecification & WithContainerEntrypoint(Aws::Vector< Aws::String > &&value)
ModelQualityAppSpecification & WithImageUri(Aws::String &&value)
void SetContainerArguments(Aws::Vector< Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetEnvironment() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ModelQualityAppSpecification & AddContainerEntrypoint(const char *value)
AWS_SAGEMAKER_API ModelQualityAppSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetContainerEntrypoint(Aws::Vector< Aws::String > &&value)
ModelQualityAppSpecification & WithPostAnalyticsProcessorSourceUri(const Aws::String &value)
ModelQualityAppSpecification & AddEnvironment(const char *key, const char *value)
ModelQualityAppSpecification & WithContainerArguments(const Aws::Vector< Aws::String > &value)
ModelQualityAppSpecification & AddContainerArguments(const char *value)
ModelQualityAppSpecification & WithContainerArguments(Aws::Vector< Aws::String > &&value)
ModelQualityAppSpecification & WithProblemType(MonitoringProblemType &&value)
ModelQualityAppSpecification & AddEnvironment(const char *key, Aws::String &&value)
ModelQualityAppSpecification & AddEnvironment(const Aws::String &key, Aws::String &&value)
ModelQualityAppSpecification & AddEnvironment(Aws::String &&key, Aws::String &&value)
ModelQualityAppSpecification & WithRecordPreprocessorSourceUri(Aws::String &&value)
ModelQualityAppSpecification & WithImageUri(const Aws::String &value)
AWS_SAGEMAKER_API ModelQualityAppSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetContainerArguments() const
ModelQualityAppSpecification & AddContainerEntrypoint(const Aws::String &value)
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