AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AlgorithmValidationSpecification.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/AlgorithmValidationProfile.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 AlgorithmValidationSpecification& WithValidationRole(Aws::String&& value) { SetValidationRole(std::move(value)); return *this;}
54 inline AlgorithmValidationSpecification& WithValidationRole(const char* value) { SetValidationRole(value); return *this;}
56
58
63 inline const Aws::Vector<AlgorithmValidationProfile>& GetValidationProfiles() const{ return m_validationProfiles; }
64 inline bool ValidationProfilesHasBeenSet() const { return m_validationProfilesHasBeenSet; }
65 inline void SetValidationProfiles(const Aws::Vector<AlgorithmValidationProfile>& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = value; }
66 inline void SetValidationProfiles(Aws::Vector<AlgorithmValidationProfile>&& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles = std::move(value); }
69 inline AlgorithmValidationSpecification& AddValidationProfiles(const AlgorithmValidationProfile& value) { m_validationProfilesHasBeenSet = true; m_validationProfiles.push_back(value); return *this; }
70 inline AlgorithmValidationSpecification& AddValidationProfiles(AlgorithmValidationProfile&& 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
77 Aws::Vector<AlgorithmValidationProfile> m_validationProfiles;
78 bool m_validationProfilesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
const Aws::Vector< AlgorithmValidationProfile > & GetValidationProfiles() const
AWS_SAGEMAKER_API AlgorithmValidationSpecification(Aws::Utils::Json::JsonView jsonValue)
AlgorithmValidationSpecification & AddValidationProfiles(AlgorithmValidationProfile &&value)
AlgorithmValidationSpecification & AddValidationProfiles(const AlgorithmValidationProfile &value)
AlgorithmValidationSpecification & WithValidationRole(Aws::String &&value)
void SetValidationProfiles(Aws::Vector< AlgorithmValidationProfile > &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AlgorithmValidationSpecification & WithValidationProfiles(Aws::Vector< AlgorithmValidationProfile > &&value)
AlgorithmValidationSpecification & WithValidationRole(const char *value)
AlgorithmValidationSpecification & WithValidationRole(const Aws::String &value)
AlgorithmValidationSpecification & WithValidationProfiles(const Aws::Vector< AlgorithmValidationProfile > &value)
void SetValidationProfiles(const Aws::Vector< AlgorithmValidationProfile > &value)
AWS_SAGEMAKER_API AlgorithmValidationSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue