AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
BatchDescribeModelPackageSummary.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/DateTime.h>
10#include <aws/sagemaker/model/InferenceSpecification.h>
11#include <aws/sagemaker/model/ModelPackageStatus.h>
12#include <aws/sagemaker/model/ModelApprovalStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API BatchDescribeModelPackageSummary() = default;
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
50 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
51 template<typename ModelPackageGroupNameT = Aws::String>
52 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value); }
53 template<typename ModelPackageGroupNameT = Aws::String>
54 BatchDescribeModelPackageSummary& WithModelPackageGroupName(ModelPackageGroupNameT&& value) { SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value)); return *this;}
56
58
61 inline int GetModelPackageVersion() const { return m_modelPackageVersion; }
62 inline bool ModelPackageVersionHasBeenSet() const { return m_modelPackageVersionHasBeenSet; }
63 inline void SetModelPackageVersion(int value) { m_modelPackageVersionHasBeenSet = true; m_modelPackageVersion = value; }
66
68
71 inline const Aws::String& GetModelPackageArn() const { return m_modelPackageArn; }
72 inline bool ModelPackageArnHasBeenSet() const { return m_modelPackageArnHasBeenSet; }
73 template<typename ModelPackageArnT = Aws::String>
74 void SetModelPackageArn(ModelPackageArnT&& value) { m_modelPackageArnHasBeenSet = true; m_modelPackageArn = std::forward<ModelPackageArnT>(value); }
75 template<typename ModelPackageArnT = Aws::String>
76 BatchDescribeModelPackageSummary& WithModelPackageArn(ModelPackageArnT&& value) { SetModelPackageArn(std::forward<ModelPackageArnT>(value)); return *this;}
78
80
83 inline const Aws::String& GetModelPackageDescription() const { return m_modelPackageDescription; }
84 inline bool ModelPackageDescriptionHasBeenSet() const { return m_modelPackageDescriptionHasBeenSet; }
85 template<typename ModelPackageDescriptionT = Aws::String>
86 void SetModelPackageDescription(ModelPackageDescriptionT&& value) { m_modelPackageDescriptionHasBeenSet = true; m_modelPackageDescription = std::forward<ModelPackageDescriptionT>(value); }
87 template<typename ModelPackageDescriptionT = Aws::String>
88 BatchDescribeModelPackageSummary& WithModelPackageDescription(ModelPackageDescriptionT&& value) { SetModelPackageDescription(std::forward<ModelPackageDescriptionT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template<typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
99 template<typename CreationTimeT = Aws::Utils::DateTime>
100 BatchDescribeModelPackageSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
102
104
105 inline const InferenceSpecification& GetInferenceSpecification() const { return m_inferenceSpecification; }
106 inline bool InferenceSpecificationHasBeenSet() const { return m_inferenceSpecificationHasBeenSet; }
107 template<typename InferenceSpecificationT = InferenceSpecification>
108 void SetInferenceSpecification(InferenceSpecificationT&& value) { m_inferenceSpecificationHasBeenSet = true; m_inferenceSpecification = std::forward<InferenceSpecificationT>(value); }
109 template<typename InferenceSpecificationT = InferenceSpecification>
110 BatchDescribeModelPackageSummary& WithInferenceSpecification(InferenceSpecificationT&& value) { SetInferenceSpecification(std::forward<InferenceSpecificationT>(value)); return *this;}
112
114
117 inline ModelPackageStatus GetModelPackageStatus() const { return m_modelPackageStatus; }
118 inline bool ModelPackageStatusHasBeenSet() const { return m_modelPackageStatusHasBeenSet; }
119 inline void SetModelPackageStatus(ModelPackageStatus value) { m_modelPackageStatusHasBeenSet = true; m_modelPackageStatus = value; }
122
124
127 inline ModelApprovalStatus GetModelApprovalStatus() const { return m_modelApprovalStatus; }
128 inline bool ModelApprovalStatusHasBeenSet() const { return m_modelApprovalStatusHasBeenSet; }
129 inline void SetModelApprovalStatus(ModelApprovalStatus value) { m_modelApprovalStatusHasBeenSet = true; m_modelApprovalStatus = value; }
132 private:
133
134 Aws::String m_modelPackageGroupName;
135 bool m_modelPackageGroupNameHasBeenSet = false;
136
137 int m_modelPackageVersion{0};
138 bool m_modelPackageVersionHasBeenSet = false;
139
140 Aws::String m_modelPackageArn;
141 bool m_modelPackageArnHasBeenSet = false;
142
143 Aws::String m_modelPackageDescription;
144 bool m_modelPackageDescriptionHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationTime{};
147 bool m_creationTimeHasBeenSet = false;
148
149 InferenceSpecification m_inferenceSpecification;
150 bool m_inferenceSpecificationHasBeenSet = false;
151
153 bool m_modelPackageStatusHasBeenSet = false;
154
156 bool m_modelApprovalStatusHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace SageMaker
161} // namespace Aws
AWS_SAGEMAKER_API BatchDescribeModelPackageSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API BatchDescribeModelPackageSummary()=default
BatchDescribeModelPackageSummary & WithModelPackageDescription(ModelPackageDescriptionT &&value)
BatchDescribeModelPackageSummary & WithInferenceSpecification(InferenceSpecificationT &&value)
AWS_SAGEMAKER_API BatchDescribeModelPackageSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDescribeModelPackageSummary & WithModelPackageVersion(int value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
BatchDescribeModelPackageSummary & WithModelApprovalStatus(ModelApprovalStatus value)
BatchDescribeModelPackageSummary & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
BatchDescribeModelPackageSummary & WithModelPackageStatus(ModelPackageStatus value)
BatchDescribeModelPackageSummary & WithModelPackageArn(ModelPackageArnT &&value)
BatchDescribeModelPackageSummary & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue