AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPackageValidationSpecification.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/ModelPackageValidationProfile.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 SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetValidationRole() const{ return m_validationRole; }
48 inline bool ValidationRoleHasBeenSet() const { return m_validationRoleHasBeenSet; }
49 inline void SetValidationRole(const Aws::String& value) { m_validationRoleHasBeenSet = true; m_validationRole = value; }
50 inline void SetValidationRole(Aws::String&& value) { m_validationRoleHasBeenSet = true; m_validationRole = std::move(value); }
51 inline void SetValidationRole(const char* value) { m_validationRoleHasBeenSet = true; m_validationRole.assign(value); }
53 inline ModelPackageValidationSpecification& WithValidationRole(Aws::String&& value) { SetValidationRole(std::move(value)); return *this;}
54 inline ModelPackageValidationSpecification& WithValidationRole(const char* value) { SetValidationRole(value); return *this;}
56
58
63 inline const Aws::Vector<ModelPackageValidationProfile>& GetValidationProfiles() const{ return m_validationProfiles; }
64 inline bool ValidationProfilesHasBeenSet() const { return m_validationProfilesHasBeenSet; }
65 inline void SetValidationProfiles(const Aws::Vector<ModelPackageValidationProfile>& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = value; }
66 inline void SetValidationProfiles(Aws::Vector<ModelPackageValidationProfile>&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = std::move(value); }
69 inline ModelPackageValidationSpecification& AddValidationProfiles(const ModelPackageValidationProfile& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(value); return *this; }
70 inline ModelPackageValidationSpecification& AddValidationProfiles(ModelPackageValidationProfile&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_validationRole;
75 bool m_validationRoleHasBeenSet = false;
76
78 bool m_validationProfilesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
ModelPackageValidationSpecification & WithValidationProfiles(Aws::Vector< ModelPackageValidationProfile > &&value)
ModelPackageValidationSpecification & WithValidationProfiles(const Aws::Vector< ModelPackageValidationProfile > &value)
ModelPackageValidationSpecification & AddValidationProfiles(ModelPackageValidationProfile &&value)
void SetValidationProfiles(Aws::Vector< ModelPackageValidationProfile > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ModelPackageValidationProfile > & GetValidationProfiles() const
ModelPackageValidationSpecification & WithValidationRole(const char *value)
void SetValidationProfiles(const Aws::Vector< ModelPackageValidationProfile > &value)
AWS_SAGEMAKER_API ModelPackageValidationSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageValidationSpecification & AddValidationProfiles(const ModelPackageValidationProfile &value)
ModelPackageValidationSpecification & WithValidationRole(const Aws::String &value)
AWS_SAGEMAKER_API ModelPackageValidationSpecification(Aws::Utils::Json::JsonView jsonValue)
ModelPackageValidationSpecification & WithValidationRole(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue