AWS SDK for C++  1.9.158
AWS SDK for C++
ModelPackageStatusDetails.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::Vector<ModelPackageStatusItem>& GetValidationStatuses() const{ return m_validationStatuses; }
46 
50  inline bool ValidationStatusesHasBeenSet() const { return m_validationStatusesHasBeenSet; }
51 
55  inline void SetValidationStatuses(const Aws::Vector<ModelPackageStatusItem>& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses = value; }
56 
60  inline void SetValidationStatuses(Aws::Vector<ModelPackageStatusItem>&& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses = std::move(value); }
61 
65  inline ModelPackageStatusDetails& WithValidationStatuses(const Aws::Vector<ModelPackageStatusItem>& value) { SetValidationStatuses(value); return *this;}
66 
70  inline ModelPackageStatusDetails& WithValidationStatuses(Aws::Vector<ModelPackageStatusItem>&& value) { SetValidationStatuses(std::move(value)); return *this;}
71 
75  inline ModelPackageStatusDetails& AddValidationStatuses(const ModelPackageStatusItem& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses.push_back(value); return *this; }
76 
80  inline ModelPackageStatusDetails& AddValidationStatuses(ModelPackageStatusItem&& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses.push_back(std::move(value)); return *this; }
81 
82 
87  inline const Aws::Vector<ModelPackageStatusItem>& GetImageScanStatuses() const{ return m_imageScanStatuses; }
88 
93  inline bool ImageScanStatusesHasBeenSet() const { return m_imageScanStatusesHasBeenSet; }
94 
99  inline void SetImageScanStatuses(const Aws::Vector<ModelPackageStatusItem>& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses = value; }
100 
105  inline void SetImageScanStatuses(Aws::Vector<ModelPackageStatusItem>&& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses = std::move(value); }
106 
111  inline ModelPackageStatusDetails& WithImageScanStatuses(const Aws::Vector<ModelPackageStatusItem>& value) { SetImageScanStatuses(value); return *this;}
112 
117  inline ModelPackageStatusDetails& WithImageScanStatuses(Aws::Vector<ModelPackageStatusItem>&& value) { SetImageScanStatuses(std::move(value)); return *this;}
118 
123  inline ModelPackageStatusDetails& AddImageScanStatuses(const ModelPackageStatusItem& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses.push_back(value); return *this; }
124 
129  inline ModelPackageStatusDetails& AddImageScanStatuses(ModelPackageStatusItem&& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses.push_back(std::move(value)); return *this; }
130 
131  private:
132 
133  Aws::Vector<ModelPackageStatusItem> m_validationStatuses;
134  bool m_validationStatusesHasBeenSet;
135 
136  Aws::Vector<ModelPackageStatusItem> m_imageScanStatuses;
137  bool m_imageScanStatusesHasBeenSet;
138  };
139 
140 } // namespace Model
141 } // namespace SageMaker
142 } // namespace Aws
Aws::SageMaker::Model::ModelPackageStatusDetails::WithImageScanStatuses
ModelPackageStatusDetails & WithImageScanStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
Definition: ModelPackageStatusDetails.h:117
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ModelPackageStatusDetails::SetImageScanStatuses
void SetImageScanStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
Definition: ModelPackageStatusDetails.h:99
Aws::SageMaker::Model::ModelPackageStatusDetails::AddValidationStatuses
ModelPackageStatusDetails & AddValidationStatuses(ModelPackageStatusItem &&value)
Definition: ModelPackageStatusDetails.h:80
Aws::SageMaker::Model::ModelPackageStatusItem
Definition: ModelPackageStatusItem.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SageMaker::Model::ModelPackageStatusDetails::SetValidationStatuses
void SetValidationStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
Definition: ModelPackageStatusDetails.h:60
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ModelPackageStatusDetails::operator=
ModelPackageStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageStatusItem.h
Aws::SageMaker::Model::ModelPackageStatusDetails::AddImageScanStatuses
ModelPackageStatusDetails & AddImageScanStatuses(ModelPackageStatusItem &&value)
Definition: ModelPackageStatusDetails.h:129
Aws::SageMaker::Model::ModelPackageStatusDetails::GetValidationStatuses
const Aws::Vector< ModelPackageStatusItem > & GetValidationStatuses() const
Definition: ModelPackageStatusDetails.h:45
Aws::SageMaker::Model::ModelPackageStatusDetails::ModelPackageStatusDetails
ModelPackageStatusDetails()
Aws::SageMaker::Model::ModelPackageStatusDetails::SetValidationStatuses
void SetValidationStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
Definition: ModelPackageStatusDetails.h:55
Aws::SageMaker::Model::ModelPackageStatusDetails::GetImageScanStatuses
const Aws::Vector< ModelPackageStatusItem > & GetImageScanStatuses() const
Definition: ModelPackageStatusDetails.h:87
Aws::SageMaker::Model::ModelPackageStatusDetails::AddValidationStatuses
ModelPackageStatusDetails & AddValidationStatuses(const ModelPackageStatusItem &value)
Definition: ModelPackageStatusDetails.h:75
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::ModelPackageStatusDetails::SetImageScanStatuses
void SetImageScanStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
Definition: ModelPackageStatusDetails.h:105
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ModelPackageStatusDetails::WithImageScanStatuses
ModelPackageStatusDetails & WithImageScanStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
Definition: ModelPackageStatusDetails.h:111
Aws::SageMaker::Model::ModelPackageStatusDetails::AddImageScanStatuses
ModelPackageStatusDetails & AddImageScanStatuses(const ModelPackageStatusItem &value)
Definition: ModelPackageStatusDetails.h:123
Aws::SageMaker::Model::ModelPackageStatusDetails
Definition: ModelPackageStatusDetails.h:34
Aws::SageMaker::Model::ModelPackageStatusDetails::ImageScanStatusesHasBeenSet
bool ImageScanStatusesHasBeenSet() const
Definition: ModelPackageStatusDetails.h:93
Aws::SageMaker::Model::ModelPackageStatusDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ModelPackageStatusDetails::WithValidationStatuses
ModelPackageStatusDetails & WithValidationStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
Definition: ModelPackageStatusDetails.h:65
Aws::SageMaker::Model::ModelPackageStatusDetails::ModelPackageStatusDetails
ModelPackageStatusDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ModelPackageStatusDetails::ValidationStatusesHasBeenSet
bool ValidationStatusesHasBeenSet() const
Definition: ModelPackageStatusDetails.h:50
Aws::SageMaker::Model::ModelPackageStatusDetails::WithValidationStatuses
ModelPackageStatusDetails & WithValidationStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
Definition: ModelPackageStatusDetails.h:70