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/UserContext.h>
11#include <aws/sagemaker/model/ModelPackageGroupStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/sagemaker/model/Tag.h>
52 template<
typename ModelPackageGroupNameT = Aws::String>
53 void SetModelPackageGroupName(ModelPackageGroupNameT&& value) { m_modelPackageGroupNameHasBeenSet =
true; m_modelPackageGroupName = std::forward<ModelPackageGroupNameT>(value); }
54 template<
typename ModelPackageGroupNameT = Aws::String>
64 template<
typename ModelPackageGroupArnT = Aws::String>
65 void SetModelPackageGroupArn(ModelPackageGroupArnT&& value) { m_modelPackageGroupArnHasBeenSet =
true; m_modelPackageGroupArn = std::forward<ModelPackageGroupArnT>(value); }
66 template<
typename ModelPackageGroupArnT = Aws::String>
76 template<
typename ModelPackageGroupDescriptionT = Aws::String>
77 void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) { m_modelPackageGroupDescriptionHasBeenSet =
true; m_modelPackageGroupDescription = std::forward<ModelPackageGroupDescriptionT>(value); }
78 template<
typename ModelPackageGroupDescriptionT = Aws::String>
88 template<
typename CreationTimeT = Aws::Utils::DateTime>
89 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
90 template<
typename CreationTimeT = Aws::Utils::DateTime>
98 template<
typename CreatedByT = UserContext>
99 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
100 template<
typename CreatedByT = UserContext>
131 template<
typename TagsT = Aws::Vector<Tag>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
133 template<
typename TagsT = Aws::Vector<Tag>>
135 template<
typename TagsT = Tag>
136 ModelPackageGroup&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
141 bool m_modelPackageGroupNameHasBeenSet =
false;
144 bool m_modelPackageGroupArnHasBeenSet =
false;
147 bool m_modelPackageGroupDescriptionHasBeenSet =
false;
150 bool m_creationTimeHasBeenSet =
false;
152 UserContext m_createdBy;
153 bool m_createdByHasBeenSet =
false;
156 bool m_modelPackageGroupStatusHasBeenSet =
false;
159 bool m_tagsHasBeenSet =
false;
bool ModelPackageGroupNameHasBeenSet() const
const Aws::String & GetModelPackageGroupArn() const
void SetTags(TagsT &&value)
bool ModelPackageGroupDescriptionHasBeenSet() const
void SetCreationTime(CreationTimeT &&value)
void SetModelPackageGroupStatus(ModelPackageGroupStatus value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
ModelPackageGroup & WithCreationTime(CreationTimeT &&value)
ModelPackageGroup & WithModelPackageGroupArn(ModelPackageGroupArnT &&value)
ModelPackageGroup & WithTags(TagsT &&value)
const Aws::String & GetModelPackageGroupName() const
void SetModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
ModelPackageGroup & WithModelPackageGroupName(ModelPackageGroupNameT &&value)
void SetModelPackageGroupArn(ModelPackageGroupArnT &&value)
ModelPackageGroup & WithCreatedBy(CreatedByT &&value)
bool ModelPackageGroupStatusHasBeenSet() const
bool ModelPackageGroupArnHasBeenSet() const
const UserContext & GetCreatedBy() const
AWS_SAGEMAKER_API ModelPackageGroup()=default
ModelPackageGroup & WithModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
void SetCreatedBy(CreatedByT &&value)
bool CreatedByHasBeenSet() const
AWS_SAGEMAKER_API ModelPackageGroup(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroup & WithModelPackageGroupStatus(ModelPackageGroupStatus value)
AWS_SAGEMAKER_API ModelPackageGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TagsHasBeenSet() const
ModelPackageGroup & AddTags(TagsT &&value)
ModelPackageGroupStatus GetModelPackageGroupStatus() const
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
const Aws::String & GetModelPackageGroupDescription() const
const Aws::Vector< Tag > & GetTags() const
bool CreationTimeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue