AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelPackageStatusDetails.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/sagemaker/model/ModelPackageStatusItem.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ModelPackageStatusDetails();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<ModelPackageStatusItem>& GetValidationStatuses() const{ return m_validationStatuses; }
47 inline bool ValidationStatusesHasBeenSet() const { return m_validationStatusesHasBeenSet; }
48 inline void SetValidationStatuses(const Aws::Vector<ModelPackageStatusItem>& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses = value; }
49 inline void SetValidationStatuses(Aws::Vector<ModelPackageStatusItem>&& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses = std::move(value); }
52 inline ModelPackageStatusDetails& AddValidationStatuses(const ModelPackageStatusItem& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses.push_back(value); return *this; }
53 inline ModelPackageStatusDetails& AddValidationStatuses(ModelPackageStatusItem&& value) { m_validationStatusesHasBeenSet = true; m_validationStatuses.push_back(std::move(value)); return *this; }
55
57
61 inline const Aws::Vector<ModelPackageStatusItem>& GetImageScanStatuses() const{ return m_imageScanStatuses; }
62 inline bool ImageScanStatusesHasBeenSet() const { return m_imageScanStatusesHasBeenSet; }
63 inline void SetImageScanStatuses(const Aws::Vector<ModelPackageStatusItem>& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses = value; }
64 inline void SetImageScanStatuses(Aws::Vector<ModelPackageStatusItem>&& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses = std::move(value); }
67 inline ModelPackageStatusDetails& AddImageScanStatuses(const ModelPackageStatusItem& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses.push_back(value); return *this; }
68 inline ModelPackageStatusDetails& AddImageScanStatuses(ModelPackageStatusItem&& value) { m_imageScanStatusesHasBeenSet = true; m_imageScanStatuses.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::Vector<ModelPackageStatusItem> m_validationStatuses;
73 bool m_validationStatusesHasBeenSet = false;
74
75 Aws::Vector<ModelPackageStatusItem> m_imageScanStatuses;
76 bool m_imageScanStatusesHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace SageMaker
81} // namespace Aws
void SetImageScanStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
void SetValidationStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
AWS_SAGEMAKER_API ModelPackageStatusDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ModelPackageStatusItem > & GetValidationStatuses() const
ModelPackageStatusDetails & AddImageScanStatuses(const ModelPackageStatusItem &value)
ModelPackageStatusDetails & AddValidationStatuses(ModelPackageStatusItem &&value)
ModelPackageStatusDetails & WithImageScanStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
ModelPackageStatusDetails & AddImageScanStatuses(ModelPackageStatusItem &&value)
void SetValidationStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
ModelPackageStatusDetails & AddValidationStatuses(const ModelPackageStatusItem &value)
ModelPackageStatusDetails & WithImageScanStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
ModelPackageStatusDetails & WithValidationStatuses(Aws::Vector< ModelPackageStatusItem > &&value)
void SetImageScanStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
ModelPackageStatusDetails & WithValidationStatuses(const Aws::Vector< ModelPackageStatusItem > &value)
AWS_SAGEMAKER_API ModelPackageStatusDetails(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ModelPackageStatusItem > & GetImageScanStatuses() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue