AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
ModelPackageGroupSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/ManagedConfiguration.h>
11#include <aws/sagemaker/model/ModelPackageGroupStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker {
23namespace Model {
24
31 public:
32 AWS_SAGEMAKER_API ModelPackageGroupSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
42 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
43 template <typename ModelPackageGroupNameT = Aws::String>
44 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) {
45 m_modelPackageGroupNameHasBeenSet = true;
46 m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value);
47 }
48 template <typename ModelPackageGroupNameT = Aws::String>
49 ModelPackageGroupSummary& WithModelPackageGroupName(ModelPackageGroupNameT&& value) {
50 SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetModelPackageGroupArn() const { return m_modelPackageGroupArn; }
60 inline bool ModelPackageGroupArnHasBeenSet() const { return m_modelPackageGroupArnHasBeenSet; }
61 template <typename ModelPackageGroupArnT = Aws::String>
62 void SetModelPackageGroupArn(ModelPackageGroupArnT&& value) {
63 m_modelPackageGroupArnHasBeenSet = true;
64 m_modelPackageGroupArn = std::forward<ModelPackageGroupArnT>(value);
65 }
66 template <typename ModelPackageGroupArnT = Aws::String>
67 ModelPackageGroupSummary& WithModelPackageGroupArn(ModelPackageGroupArnT&& value) {
68 SetModelPackageGroupArn(std::forward<ModelPackageGroupArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetModelPackageGroupDescription() const { return m_modelPackageGroupDescription; }
78 inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
79 template <typename ModelPackageGroupDescriptionT = Aws::String>
80 void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) {
81 m_modelPackageGroupDescriptionHasBeenSet = true;
82 m_modelPackageGroupDescription = std::forward<ModelPackageGroupDescriptionT>(value);
83 }
84 template <typename ModelPackageGroupDescriptionT = Aws::String>
85 ModelPackageGroupSummary& WithModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) {
86 SetModelPackageGroupDescription(std::forward<ModelPackageGroupDescriptionT>(value));
87 return *this;
88 }
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) {
99 m_creationTimeHasBeenSet = true;
100 m_creationTime = std::forward<CreationTimeT>(value);
101 }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
104 SetCreationTime(std::forward<CreationTimeT>(value));
105 return *this;
106 }
108
110
113 inline ModelPackageGroupStatus GetModelPackageGroupStatus() const { return m_modelPackageGroupStatus; }
114 inline bool ModelPackageGroupStatusHasBeenSet() const { return m_modelPackageGroupStatusHasBeenSet; }
116 m_modelPackageGroupStatusHasBeenSet = true;
117 m_modelPackageGroupStatus = value;
118 }
121 return *this;
122 }
124
126
129 inline const ManagedConfiguration& GetManagedConfiguration() const { return m_managedConfiguration; }
130 inline bool ManagedConfigurationHasBeenSet() const { return m_managedConfigurationHasBeenSet; }
131 template <typename ManagedConfigurationT = ManagedConfiguration>
132 void SetManagedConfiguration(ManagedConfigurationT&& value) {
133 m_managedConfigurationHasBeenSet = true;
134 m_managedConfiguration = std::forward<ManagedConfigurationT>(value);
135 }
136 template <typename ManagedConfigurationT = ManagedConfiguration>
137 ModelPackageGroupSummary& WithManagedConfiguration(ManagedConfigurationT&& value) {
138 SetManagedConfiguration(std::forward<ManagedConfigurationT>(value));
139 return *this;
140 }
142 private:
143 Aws::String m_modelPackageGroupName;
144
145 Aws::String m_modelPackageGroupArn;
146
147 Aws::String m_modelPackageGroupDescription;
148
149 Aws::Utils::DateTime m_creationTime{};
150
152
153 ManagedConfiguration m_managedConfiguration;
154 bool m_modelPackageGroupNameHasBeenSet = false;
155 bool m_modelPackageGroupArnHasBeenSet = false;
156 bool m_modelPackageGroupDescriptionHasBeenSet = false;
157 bool m_creationTimeHasBeenSet = false;
158 bool m_modelPackageGroupStatusHasBeenSet = false;
159 bool m_managedConfigurationHasBeenSet = false;
160};
161
162} // namespace Model
163} // namespace SageMaker
164} // namespace Aws
const ManagedConfiguration & GetManagedConfiguration() const
AWS_SAGEMAKER_API ModelPackageGroupSummary(Aws::Utils::Json::JsonView jsonValue)
void SetModelPackageGroupStatus(ModelPackageGroupStatus value)
ModelPackageGroupSummary & WithCreationTime(CreationTimeT &&value)
void SetModelPackageGroupArn(ModelPackageGroupArnT &&value)
void SetManagedConfiguration(ManagedConfigurationT &&value)
ModelPackageGroupSummary & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
AWS_SAGEMAKER_API ModelPackageGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroupSummary & WithModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
ModelPackageGroupSummary & WithModelPackageGroupArn(ModelPackageGroupArnT &&value)
ModelPackageGroupSummary & WithModelPackageGroupStatus(ModelPackageGroupStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelPackageGroupSummary & WithManagedConfiguration(ManagedConfigurationT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
AWS_SAGEMAKER_API ModelPackageGroupSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue