AWS SDK for C++  1.9.158
AWS SDK for C++
CreateModelPackageGroupRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace SageMaker
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "CreateModelPackageGroup"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetModelPackageGroupName() const{ return m_modelPackageGroupName; }
43 
47  inline bool ModelPackageGroupNameHasBeenSet() const { return m_modelPackageGroupNameHasBeenSet; }
48 
52  inline void SetModelPackageGroupName(const Aws::String& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = value; }
53 
57  inline void SetModelPackageGroupName(Aws::String&& value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName = std::move(value); }
58 
62  inline void SetModelPackageGroupName(const char* value) { m_modelPackageGroupNameHasBeenSet = true; m_modelPackageGroupName.assign(value); }
63 
67  inline CreateModelPackageGroupRequest& WithModelPackageGroupName(const Aws::String& value) { SetModelPackageGroupName(value); return *this;}
68 
72  inline CreateModelPackageGroupRequest& WithModelPackageGroupName(Aws::String&& value) { SetModelPackageGroupName(std::move(value)); return *this;}
73 
77  inline CreateModelPackageGroupRequest& WithModelPackageGroupName(const char* value) { SetModelPackageGroupName(value); return *this;}
78 
79 
83  inline const Aws::String& GetModelPackageGroupDescription() const{ return m_modelPackageGroupDescription; }
84 
88  inline bool ModelPackageGroupDescriptionHasBeenSet() const { return m_modelPackageGroupDescriptionHasBeenSet; }
89 
93  inline void SetModelPackageGroupDescription(const Aws::String& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = value; }
94 
98  inline void SetModelPackageGroupDescription(Aws::String&& value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription = std::move(value); }
99 
103  inline void SetModelPackageGroupDescription(const char* value) { m_modelPackageGroupDescriptionHasBeenSet = true; m_modelPackageGroupDescription.assign(value); }
104 
108  inline CreateModelPackageGroupRequest& WithModelPackageGroupDescription(const Aws::String& value) { SetModelPackageGroupDescription(value); return *this;}
109 
113  inline CreateModelPackageGroupRequest& WithModelPackageGroupDescription(Aws::String&& value) { SetModelPackageGroupDescription(std::move(value)); return *this;}
114 
118  inline CreateModelPackageGroupRequest& WithModelPackageGroupDescription(const char* value) { SetModelPackageGroupDescription(value); return *this;}
119 
120 
128  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
129 
137  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
138 
146  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
147 
155  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
156 
164  inline CreateModelPackageGroupRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
165 
173  inline CreateModelPackageGroupRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
174 
182  inline CreateModelPackageGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
183 
191  inline CreateModelPackageGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
192 
193  private:
194 
195  Aws::String m_modelPackageGroupName;
196  bool m_modelPackageGroupNameHasBeenSet;
197 
198  Aws::String m_modelPackageGroupDescription;
199  bool m_modelPackageGroupDescriptionHasBeenSet;
200 
201  Aws::Vector<Tag> m_tags;
202  bool m_tagsHasBeenSet;
203  };
204 
205 } // namespace Model
206 } // namespace SageMaker
207 } // namespace Aws
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithModelPackageGroupName
CreateModelPackageGroupRequest & WithModelPackageGroupName(const Aws::String &value)
Definition: CreateModelPackageGroupRequest.h:67
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetModelPackageGroupDescription
void SetModelPackageGroupDescription(const char *value)
Definition: CreateModelPackageGroupRequest.h:103
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateModelPackageGroupRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateModelPackageGroupRequest.h:32
Aws::SageMaker::Model::CreateModelPackageGroupRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateModelPackageGroupRequest.h:128
Aws::SageMaker::Model::CreateModelPackageGroupRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateModelPackageGroupRequest.h:137
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetModelPackageGroupDescription
void SetModelPackageGroupDescription(const Aws::String &value)
Definition: CreateModelPackageGroupRequest.h:93
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetModelPackageGroupName
void SetModelPackageGroupName(const Aws::String &value)
Definition: CreateModelPackageGroupRequest.h:52
Aws::SageMaker::Model::CreateModelPackageGroupRequest
Definition: CreateModelPackageGroupRequest.h:24
AWSVector.h
Aws::SageMaker::Model::CreateModelPackageGroupRequest::AddTags
CreateModelPackageGroupRequest & AddTags(Tag &&value)
Definition: CreateModelPackageGroupRequest.h:191
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithTags
CreateModelPackageGroupRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateModelPackageGroupRequest.h:173
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateModelPackageGroupRequest::ModelPackageGroupNameHasBeenSet
bool ModelPackageGroupNameHasBeenSet() const
Definition: CreateModelPackageGroupRequest.h:47
Aws::SageMaker::Model::CreateModelPackageGroupRequest::ModelPackageGroupDescriptionHasBeenSet
bool ModelPackageGroupDescriptionHasBeenSet() const
Definition: CreateModelPackageGroupRequest.h:88
Aws::SageMaker::Model::CreateModelPackageGroupRequest::AddTags
CreateModelPackageGroupRequest & AddTags(const Tag &value)
Definition: CreateModelPackageGroupRequest.h:182
Aws::SageMaker::Model::CreateModelPackageGroupRequest::GetModelPackageGroupName
const Aws::String & GetModelPackageGroupName() const
Definition: CreateModelPackageGroupRequest.h:42
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateModelPackageGroupRequest.h:155
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithModelPackageGroupDescription
CreateModelPackageGroupRequest & WithModelPackageGroupDescription(const char *value)
Definition: CreateModelPackageGroupRequest.h:118
AWSString.h
Aws::SageMaker::Model::CreateModelPackageGroupRequest::CreateModelPackageGroupRequest
CreateModelPackageGroupRequest()
Tag.h
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithModelPackageGroupName
CreateModelPackageGroupRequest & WithModelPackageGroupName(const char *value)
Definition: CreateModelPackageGroupRequest.h:77
Aws::SageMaker::Model::CreateModelPackageGroupRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithModelPackageGroupDescription
CreateModelPackageGroupRequest & WithModelPackageGroupDescription(Aws::String &&value)
Definition: CreateModelPackageGroupRequest.h:113
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithTags
CreateModelPackageGroupRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateModelPackageGroupRequest.h:164
Aws::SageMaker::Model::CreateModelPackageGroupRequest::GetModelPackageGroupDescription
const Aws::String & GetModelPackageGroupDescription() const
Definition: CreateModelPackageGroupRequest.h:83
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateModelPackageGroupRequest.h:146
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithModelPackageGroupDescription
CreateModelPackageGroupRequest & WithModelPackageGroupDescription(const Aws::String &value)
Definition: CreateModelPackageGroupRequest.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetModelPackageGroupName
void SetModelPackageGroupName(const char *value)
Definition: CreateModelPackageGroupRequest.h:62
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetModelPackageGroupName
void SetModelPackageGroupName(Aws::String &&value)
Definition: CreateModelPackageGroupRequest.h:57
Aws::SageMaker::Model::CreateModelPackageGroupRequest::WithModelPackageGroupName
CreateModelPackageGroupRequest & WithModelPackageGroupName(Aws::String &&value)
Definition: CreateModelPackageGroupRequest.h:72
Aws::SageMaker::Model::CreateModelPackageGroupRequest::SetModelPackageGroupDescription
void SetModelPackageGroupDescription(Aws::String &&value)
Definition: CreateModelPackageGroupRequest.h:98