AWS SDK for C++  1.9.159
AWS SDK for C++
ModelPackageValidationSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetValidationRole() const{ return m_validationRole; }
47 
51  inline bool ValidationRoleHasBeenSet() const { return m_validationRoleHasBeenSet; }
52 
56  inline void SetValidationRole(const Aws::String& value) { m_validationRoleHasBeenSet = true; m_validationRole = value; }
57 
61  inline void SetValidationRole(Aws::String&& value) { m_validationRoleHasBeenSet = true; m_validationRole = std::move(value); }
62 
66  inline void SetValidationRole(const char* value) { m_validationRoleHasBeenSet = true; m_validationRole.assign(value); }
67 
71  inline ModelPackageValidationSpecification& WithValidationRole(const Aws::String& value) { SetValidationRole(value); return *this;}
72 
76  inline ModelPackageValidationSpecification& WithValidationRole(Aws::String&& value) { SetValidationRole(std::move(value)); return *this;}
77 
81  inline ModelPackageValidationSpecification& WithValidationRole(const char* value) { SetValidationRole(value); return *this;}
82 
83 
89  inline const Aws::Vector<ModelPackageValidationProfile>& GetValidationProfiles() const{ return m_validationProfiles; }
90 
96  inline bool ValidationProfilesHasBeenSet() const { return m_validationProfilesHasBeenSet; }
97 
103  inline void SetValidationProfiles(const Aws::Vector<ModelPackageValidationProfile>& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = value; }
104 
110  inline void SetValidationProfiles(Aws::Vector<ModelPackageValidationProfile>&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = std::move(value); }
111 
117  inline ModelPackageValidationSpecification& WithValidationProfiles(const Aws::Vector<ModelPackageValidationProfile>& value) { SetValidationProfiles(value); return *this;}
118 
124  inline ModelPackageValidationSpecification& WithValidationProfiles(Aws::Vector<ModelPackageValidationProfile>&& value) { SetValidationProfiles(std::move(value)); return *this;}
125 
131  inline ModelPackageValidationSpecification& AddValidationProfiles(const ModelPackageValidationProfile& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(value); return *this; }
132 
138  inline ModelPackageValidationSpecification& AddValidationProfiles(ModelPackageValidationProfile&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(std::move(value)); return *this; }
139 
140  private:
141 
142  Aws::String m_validationRole;
143  bool m_validationRoleHasBeenSet;
144 
145  Aws::Vector<ModelPackageValidationProfile> m_validationProfiles;
146  bool m_validationProfilesHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace SageMaker
151 } // namespace Aws
Aws::SageMaker::Model::ModelPackageValidationSpecification::WithValidationRole
ModelPackageValidationSpecification & WithValidationRole(const Aws::String &value)
Definition: ModelPackageValidationSpecification.h:71
Aws::SageMaker::Model::ModelPackageValidationSpecification::WithValidationProfiles
ModelPackageValidationSpecification & WithValidationProfiles(Aws::Vector< ModelPackageValidationProfile > &&value)
Definition: ModelPackageValidationSpecification.h:124
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelPackageValidationSpecification::GetValidationRole
const Aws::String & GetValidationRole() const
Definition: ModelPackageValidationSpecification.h:46
Aws::SageMaker::Model::ModelPackageValidationSpecification
Definition: ModelPackageValidationSpecification.h:35
Aws::SageMaker::Model::ModelPackageValidationSpecification::SetValidationProfiles
void SetValidationProfiles(Aws::Vector< ModelPackageValidationProfile > &&value)
Definition: ModelPackageValidationSpecification.h:110
Aws::SageMaker::Model::ModelPackageValidationSpecification::WithValidationRole
ModelPackageValidationSpecification & WithValidationRole(const char *value)
Definition: ModelPackageValidationSpecification.h:81
Aws::SageMaker::Model::ModelPackageValidationSpecification::ValidationRoleHasBeenSet
bool ValidationRoleHasBeenSet() const
Definition: ModelPackageValidationSpecification.h:51
Aws::SageMaker::Model::ModelPackageValidationSpecification::operator=
ModelPackageValidationSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelPackageValidationSpecification::SetValidationRole
void SetValidationRole(Aws::String &&value)
Definition: ModelPackageValidationSpecification.h:61
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ModelPackageValidationSpecification::SetValidationRole
void SetValidationRole(const Aws::String &value)
Definition: ModelPackageValidationSpecification.h:56
Aws::SageMaker::Model::ModelPackageValidationSpecification::AddValidationProfiles
ModelPackageValidationSpecification & AddValidationProfiles(ModelPackageValidationProfile &&value)
Definition: ModelPackageValidationSpecification.h:138
Aws::SageMaker::Model::ModelPackageValidationSpecification::WithValidationRole
ModelPackageValidationSpecification & WithValidationRole(Aws::String &&value)
Definition: ModelPackageValidationSpecification.h:76
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelPackageValidationSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelPackageValidationSpecification::ModelPackageValidationSpecification
ModelPackageValidationSpecification()
Aws::SageMaker::Model::ModelPackageValidationSpecification::SetValidationProfiles
void SetValidationProfiles(const Aws::Vector< ModelPackageValidationProfile > &value)
Definition: ModelPackageValidationSpecification.h:103
Aws::SageMaker::Model::ModelPackageValidationSpecification::GetValidationProfiles
const Aws::Vector< ModelPackageValidationProfile > & GetValidationProfiles() const
Definition: ModelPackageValidationSpecification.h:89
Aws::SageMaker::Model::ModelPackageValidationSpecification::WithValidationProfiles
ModelPackageValidationSpecification & WithValidationProfiles(const Aws::Vector< ModelPackageValidationProfile > &value)
Definition: ModelPackageValidationSpecification.h:117
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ModelPackageValidationSpecification::ValidationProfilesHasBeenSet
bool ValidationProfilesHasBeenSet() const
Definition: ModelPackageValidationSpecification.h:96
Aws::SageMaker::Model::ModelPackageValidationSpecification::ModelPackageValidationSpecification
ModelPackageValidationSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelPackageValidationSpecification::AddValidationProfiles
ModelPackageValidationSpecification & AddValidationProfiles(const ModelPackageValidationProfile &value)
Definition: ModelPackageValidationSpecification.h:131
Aws::SageMaker::Model::ModelPackageValidationProfile
Definition: ModelPackageValidationProfile.h:36
Aws::SageMaker::Model::ModelPackageValidationSpecification::SetValidationRole
void SetValidationRole(const char *value)
Definition: ModelPackageValidationSpecification.h:66
ModelPackageValidationProfile.h