AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
53 inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
54 inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
56 inline ModelPackageGroup& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;}
57 inline ModelPackageGroup& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
59
61
64 inline const Aws::String& GetModelPackageGroupArn() const{ return m_modelPackageGroupArn; }
65 inline bool ModelPackageGroupArnHasBeenSet() const { return m_modelPackageGroupArnHasBeenSet; }
66 inline void SetModelPackageGroupArn(const Aws::String& value) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn = value; }
67 inline void SetModelPackageGroupArn(Aws::String&& value) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn = std::move(value); }
68 inline void SetModelPackageGroupArn(const char* value) { m_modelPackageGroupArnHasBeenSet = true; m_modelPackageGroupArn.assign(value); }
70 inline ModelPackageGroup& WithModelPackageGroupArn(Aws::String&& value) { SetModelPackageGroupArn(std::move(value)); return *this;}
71 inline ModelPackageGroup& WithModelPackageGroupArn(const char* value) { SetModelPackageGroupArn(value); return *this;}
73
75
78 inline const Aws::String& GetModelPackageGroupDescription() const{ return m_modelPackageGroupDescription; }
79 inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
80 inline void SetModelPackageGroupDescription(const Aws::String& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = value; }
81 inline void SetModelPackageGroupDescription(Aws::String&& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = std::move(value); }
82 inline void SetModelPackageGroupDescription(const char* value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription.assign(value); }
87
89
92 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
93 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
94 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
95 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
96 inline ModelPackageGroup& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
97 inline ModelPackageGroup& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
99
101
102 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
103 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
104 inline void SetCreatedBy(const UserContext& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
105 inline void SetCreatedBy(UserContext&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
106 inline ModelPackageGroup& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
107 inline ModelPackageGroup& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
109
111
122 inline const ModelPackageGroupStatus& GetModelPackageGroupStatus() const{ return m_modelPackageGroupStatus; }
123 inline bool ModelPackageGroupStatusHasBeenSet() const { return m_modelPackageGroupStatusHasBeenSet; }
124 inline void SetModelPackageGroupStatus(const ModelPackageGroupStatus& value) { m_modelPackageGroupStatusHasBeenSet = true; m_modelPackageGroupStatus = value; }
125 inline void SetModelPackageGroupStatus(ModelPackageGroupStatus&& value) { m_modelPackageGroupStatusHasBeenSet = true; m_modelPackageGroupStatus = std::move(value); }
129
131
137 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
138 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
139 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
140 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
141 inline ModelPackageGroup& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
142 inline ModelPackageGroup& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
143 inline ModelPackageGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
144 inline ModelPackageGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
146 private:
147
148 Aws::String m_modelPackageGroupName;
149 bool m_modelPackageGroupNameHasBeenSet = false;
150
151 Aws::String m_modelPackageGroupArn;
152 bool m_modelPackageGroupArnHasBeenSet = false;
153
154 Aws::String m_modelPackageGroupDescription;
155 bool m_modelPackageGroupDescriptionHasBeenSet = false;
156
157 Aws::Utils::DateTime m_creationTime;
158 bool m_creationTimeHasBeenSet = false;
159
160 UserContext m_createdBy;
161 bool m_createdByHasBeenSet = false;
162
163 ModelPackageGroupStatus m_modelPackageGroupStatus;
164 bool m_modelPackageGroupStatusHasBeenSet = false;
165
166 Aws::Vector<Tag> m_tags;
167 bool m_tagsHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace SageMaker
172} // namespace Aws
ModelPackageGroup & WithModelPackageGroupName(Aws::String &&value)
ModelPackageGroup & WithCreatedBy(UserContext &&value)
ModelPackageGroup & WithModelPackageGroupName(const Aws::String &value)
const Aws::String & GetModelPackageGroupArn() const
ModelPackageGroup & WithModelPackageGroupStatus(const ModelPackageGroupStatus &value)
void SetModelPackageGroupStatus(const ModelPackageGroupStatus &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModelPackageGroupName(Aws::String &&value)
ModelPackageGroup & AddTags(Tag &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ModelPackageGroup & AddTags(const Tag &value)
ModelPackageGroup & WithTags(const Aws::Vector< Tag > &value)
ModelPackageGroup & WithModelPackageGroupDescription(const Aws::String &value)
ModelPackageGroup & WithCreatedBy(const UserContext &value)
ModelPackageGroup & WithModelPackageGroupArn(Aws::String &&value)
const Aws::String & GetModelPackageGroupName() const
ModelPackageGroup & WithModelPackageGroupArn(const char *value)
ModelPackageGroup & WithTags(Aws::Vector< Tag > &&value)
void SetModelPackageGroupName(const char *value)
ModelPackageGroup & WithModelPackageGroupDescription(Aws::String &&value)
void SetModelPackageGroupArn(Aws::String &&value)
const ModelPackageGroupStatus & GetModelPackageGroupStatus() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetModelPackageGroupArn(const char *value)
void SetModelPackageGroupDescription(const char *value)
ModelPackageGroup & WithModelPackageGroupArn(const Aws::String &value)
ModelPackageGroup & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API ModelPackageGroup(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroup & WithModelPackageGroupName(const char *value)
void SetModelPackageGroupStatus(ModelPackageGroupStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Vector< Tag > &&value)
void SetModelPackageGroupName(const Aws::String &value)
void SetModelPackageGroupDescription(const Aws::String &value)
AWS_SAGEMAKER_API ModelPackageGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
ModelPackageGroup & WithCreationTime(Aws::Utils::DateTime &&value)
void SetModelPackageGroupDescription(Aws::String &&value)
ModelPackageGroup & WithModelPackageGroupDescription(const char *value)
ModelPackageGroup & WithModelPackageGroupStatus(ModelPackageGroupStatus &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetCreatedBy(const UserContext &value)
const Aws::String & GetModelPackageGroupDescription() const
void SetModelPackageGroupArn(const Aws::String &value)
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