AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelPackageGroup.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/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>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_SAGEMAKER_API ModelPackageGroup() = default;
41 AWS_SAGEMAKER_API ModelPackageGroup(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetModelPackageGroupName() const { return m_modelPackageGroupName; }
51 inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
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>
55 ModelPackageGroup& WithModelPackageGroupName(ModelPackageGroupNameT&& value) { SetModelPackageGroupName(std::forward<ModelPackageGroupNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetModelPackageGroupArn() const { return m_modelPackageGroupArn; }
63 inline bool ModelPackageGroupArnHasBeenSet() const { return m_modelPackageGroupArnHasBeenSet; }
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>
67 ModelPackageGroup& WithModelPackageGroupArn(ModelPackageGroupArnT&& value) { SetModelPackageGroupArn(std::forward<ModelPackageGroupArnT>(value)); return *this;}
69
71
74 inline const Aws::String& GetModelPackageGroupDescription() const { return m_modelPackageGroupDescription; }
75 inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
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>
79 ModelPackageGroup& WithModelPackageGroupDescription(ModelPackageGroupDescriptionT&& value) { SetModelPackageGroupDescription(std::forward<ModelPackageGroupDescriptionT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
87 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
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>
91 ModelPackageGroup& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
93
95
96 inline const UserContext& GetCreatedBy() const { return m_createdBy; }
97 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
98 template<typename CreatedByT = UserContext>
99 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet = true; m_createdBy = std::forward<CreatedByT>(value); }
100 template<typename CreatedByT = UserContext>
101 ModelPackageGroup& WithCreatedBy(CreatedByT&& value) { SetCreatedBy(std::forward<CreatedByT>(value)); return *this;}
103
105
116 inline ModelPackageGroupStatus GetModelPackageGroupStatus() const { return m_modelPackageGroupStatus; }
117 inline bool ModelPackageGroupStatusHasBeenSet() const { return m_modelPackageGroupStatusHasBeenSet; }
118 inline void SetModelPackageGroupStatus(ModelPackageGroupStatus value) { m_modelPackageGroupStatusHasBeenSet = true; m_modelPackageGroupStatus = value; }
121
123
129 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
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>>
134 ModelPackageGroup& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
135 template<typename TagsT = Tag>
136 ModelPackageGroup& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
138 private:
139
140 Aws::String m_modelPackageGroupName;
141 bool m_modelPackageGroupNameHasBeenSet = false;
142
143 Aws::String m_modelPackageGroupArn;
144 bool m_modelPackageGroupArnHasBeenSet = false;
145
146 Aws::String m_modelPackageGroupDescription;
147 bool m_modelPackageGroupDescriptionHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationTime{};
150 bool m_creationTimeHasBeenSet = false;
151
152 UserContext m_createdBy;
153 bool m_createdByHasBeenSet = false;
154
156 bool m_modelPackageGroupStatusHasBeenSet = false;
157
158 Aws::Vector<Tag> m_tags;
159 bool m_tagsHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace SageMaker
164} // namespace Aws
const Aws::String & GetModelPackageGroupArn() 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)
const UserContext & GetCreatedBy() const
AWS_SAGEMAKER_API ModelPackageGroup()=default
ModelPackageGroup & WithModelPackageGroupDescription(ModelPackageGroupDescriptionT &&value)
AWS_SAGEMAKER_API ModelPackageGroup(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroup & WithModelPackageGroupStatus(ModelPackageGroupStatus value)
AWS_SAGEMAKER_API ModelPackageGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroup & AddTags(TagsT &&value)
ModelPackageGroupStatus GetModelPackageGroupStatus() const
void SetModelPackageGroupName(ModelPackageGroupNameT &&value)
const Aws::String & GetModelPackageGroupDescription() const
const Aws::Vector< Tag > & GetTags() 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