AWS SDK for C++  1.9.159
AWS SDK for C++
CreateWorkteamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace SageMaker
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "CreateWorkteam"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetWorkteamName() const{ return m_workteamName; }
45 
49  inline bool WorkteamNameHasBeenSet() const { return m_workteamNameHasBeenSet; }
50 
54  inline void SetWorkteamName(const Aws::String& value) { m_workteamNameHasBeenSet = true; m_workteamName = value; }
55 
59  inline void SetWorkteamName(Aws::String&& value) { m_workteamNameHasBeenSet = true; m_workteamName = std::move(value); }
60 
64  inline void SetWorkteamName(const char* value) { m_workteamNameHasBeenSet = true; m_workteamName.assign(value); }
65 
69  inline CreateWorkteamRequest& WithWorkteamName(const Aws::String& value) { SetWorkteamName(value); return *this;}
70 
74  inline CreateWorkteamRequest& WithWorkteamName(Aws::String&& value) { SetWorkteamName(std::move(value)); return *this;}
75 
79  inline CreateWorkteamRequest& WithWorkteamName(const char* value) { SetWorkteamName(value); return *this;}
80 
81 
85  inline const Aws::String& GetWorkforceName() const{ return m_workforceName; }
86 
90  inline bool WorkforceNameHasBeenSet() const { return m_workforceNameHasBeenSet; }
91 
95  inline void SetWorkforceName(const Aws::String& value) { m_workforceNameHasBeenSet = true; m_workforceName = value; }
96 
100  inline void SetWorkforceName(Aws::String&& value) { m_workforceNameHasBeenSet = true; m_workforceName = std::move(value); }
101 
105  inline void SetWorkforceName(const char* value) { m_workforceNameHasBeenSet = true; m_workforceName.assign(value); }
106 
110  inline CreateWorkteamRequest& WithWorkforceName(const Aws::String& value) { SetWorkforceName(value); return *this;}
111 
115  inline CreateWorkteamRequest& WithWorkforceName(Aws::String&& value) { SetWorkforceName(std::move(value)); return *this;}
116 
120  inline CreateWorkteamRequest& WithWorkforceName(const char* value) { SetWorkforceName(value); return *this;}
121 
122 
144  inline const Aws::Vector<MemberDefinition>& GetMemberDefinitions() const{ return m_memberDefinitions; }
145 
167  inline bool MemberDefinitionsHasBeenSet() const { return m_memberDefinitionsHasBeenSet; }
168 
190  inline void SetMemberDefinitions(const Aws::Vector<MemberDefinition>& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = value; }
191 
213  inline void SetMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = std::move(value); }
214 
236  inline CreateWorkteamRequest& WithMemberDefinitions(const Aws::Vector<MemberDefinition>& value) { SetMemberDefinitions(value); return *this;}
237 
259  inline CreateWorkteamRequest& WithMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { SetMemberDefinitions(std::move(value)); return *this;}
260 
282  inline CreateWorkteamRequest& AddMemberDefinitions(const MemberDefinition& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(value); return *this; }
283 
305  inline CreateWorkteamRequest& AddMemberDefinitions(MemberDefinition&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(std::move(value)); return *this; }
306 
307 
311  inline const Aws::String& GetDescription() const{ return m_description; }
312 
316  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
317 
321  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
322 
326  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
327 
331  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
332 
336  inline CreateWorkteamRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
337 
341  inline CreateWorkteamRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
342 
346  inline CreateWorkteamRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
347 
348 
353  inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; }
354 
359  inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
360 
365  inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; }
366 
371  inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); }
372 
377  inline CreateWorkteamRequest& WithNotificationConfiguration(const NotificationConfiguration& value) { SetNotificationConfiguration(value); return *this;}
378 
383  inline CreateWorkteamRequest& WithNotificationConfiguration(NotificationConfiguration&& value) { SetNotificationConfiguration(std::move(value)); return *this;}
384 
385 
394  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
395 
404  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
405 
414  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
415 
424  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
425 
434  inline CreateWorkteamRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
435 
444  inline CreateWorkteamRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
445 
454  inline CreateWorkteamRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
455 
464  inline CreateWorkteamRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
465 
466  private:
467 
468  Aws::String m_workteamName;
469  bool m_workteamNameHasBeenSet;
470 
471  Aws::String m_workforceName;
472  bool m_workforceNameHasBeenSet;
473 
474  Aws::Vector<MemberDefinition> m_memberDefinitions;
475  bool m_memberDefinitionsHasBeenSet;
476 
477  Aws::String m_description;
478  bool m_descriptionHasBeenSet;
479 
480  NotificationConfiguration m_notificationConfiguration;
481  bool m_notificationConfigurationHasBeenSet;
482 
483  Aws::Vector<Tag> m_tags;
484  bool m_tagsHasBeenSet;
485  };
486 
487 } // namespace Model
488 } // namespace SageMaker
489 } // namespace Aws
Aws::SageMaker::Model::CreateWorkteamRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateWorkteamRequest.h:321
Aws::SageMaker::Model::CreateWorkteamRequest::WithWorkteamName
CreateWorkteamRequest & WithWorkteamName(const Aws::String &value)
Definition: CreateWorkteamRequest.h:69
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateWorkteamRequest::CreateWorkteamRequest
CreateWorkteamRequest()
Aws::SageMaker::Model::CreateWorkteamRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateWorkteamRequest.h:316
SageMaker_EXPORTS.h
Aws::SageMaker::Model::CreateWorkteamRequest::SetWorkforceName
void SetWorkforceName(Aws::String &&value)
Definition: CreateWorkteamRequest.h:100
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateWorkteamRequest::SetWorkteamName
void SetWorkteamName(const Aws::String &value)
Definition: CreateWorkteamRequest.h:54
Aws::SageMaker::Model::CreateWorkteamRequest::WithWorkforceName
CreateWorkteamRequest & WithWorkforceName(const Aws::String &value)
Definition: CreateWorkteamRequest.h:110
Aws::SageMaker::Model::CreateWorkteamRequest::GetWorkforceName
const Aws::String & GetWorkforceName() const
Definition: CreateWorkteamRequest.h:85
Aws::SageMaker::Model::CreateWorkteamRequest::WorkteamNameHasBeenSet
bool WorkteamNameHasBeenSet() const
Definition: CreateWorkteamRequest.h:49
Aws::SageMaker::Model::CreateWorkteamRequest::GetWorkteamName
const Aws::String & GetWorkteamName() const
Definition: CreateWorkteamRequest.h:44
Aws::SageMaker::Model::CreateWorkteamRequest
Definition: CreateWorkteamRequest.h:26
Aws::SageMaker::Model::CreateWorkteamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateWorkteamRequest.h:34
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateWorkteamRequest::SetWorkteamName
void SetWorkteamName(const char *value)
Definition: CreateWorkteamRequest.h:64
Aws::SageMaker::Model::CreateWorkteamRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateWorkteamRequest.h:404
Aws::SageMaker::Model::CreateWorkteamRequest::AddMemberDefinitions
CreateWorkteamRequest & AddMemberDefinitions(MemberDefinition &&value)
Definition: CreateWorkteamRequest.h:305
AWSVector.h
MemberDefinition.h
Aws::SageMaker::Model::CreateWorkteamRequest::SetMemberDefinitions
void SetMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
Definition: CreateWorkteamRequest.h:190
Aws::SageMaker::Model::CreateWorkteamRequest::WithDescription
CreateWorkteamRequest & WithDescription(const char *value)
Definition: CreateWorkteamRequest.h:346
Aws::SageMaker::Model::CreateWorkteamRequest::WithTags
CreateWorkteamRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateWorkteamRequest.h:434
Aws::SageMaker::Model::CreateWorkteamRequest::WithMemberDefinitions
CreateWorkteamRequest & WithMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
Definition: CreateWorkteamRequest.h:259
Aws::SageMaker::Model::CreateWorkteamRequest::GetMemberDefinitions
const Aws::Vector< MemberDefinition > & GetMemberDefinitions() const
Definition: CreateWorkteamRequest.h:144
Aws::SageMaker::Model::CreateWorkteamRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateWorkteamRequest.h:394
Aws::SageMaker::Model::CreateWorkteamRequest::WithWorkteamName
CreateWorkteamRequest & WithWorkteamName(const char *value)
Definition: CreateWorkteamRequest.h:79
Aws::SageMaker::Model::CreateWorkteamRequest::WithTags
CreateWorkteamRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateWorkteamRequest.h:444
Aws::SageMaker::Model::CreateWorkteamRequest::AddTags
CreateWorkteamRequest & AddTags(const Tag &value)
Definition: CreateWorkteamRequest.h:454
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::MemberDefinition
Definition: MemberDefinition.h:34
Aws::SageMaker::Model::CreateWorkteamRequest::WithMemberDefinitions
CreateWorkteamRequest & WithMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
Definition: CreateWorkteamRequest.h:236
Aws::SageMaker::Model::CreateWorkteamRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateWorkteamRequest.h:424
Aws::SageMaker::Model::NotificationConfiguration
Definition: NotificationConfiguration.h:33
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateWorkteamRequest::SetWorkforceName
void SetWorkforceName(const char *value)
Definition: CreateWorkteamRequest.h:105
Aws::SageMaker::Model::CreateWorkteamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::CreateWorkteamRequest::SetWorkteamName
void SetWorkteamName(Aws::String &&value)
Definition: CreateWorkteamRequest.h:59
Aws::SageMaker::Model::CreateWorkteamRequest::SetNotificationConfiguration
void SetNotificationConfiguration(const NotificationConfiguration &value)
Definition: CreateWorkteamRequest.h:365
Aws::SageMaker::Model::CreateWorkteamRequest::SetNotificationConfiguration
void SetNotificationConfiguration(NotificationConfiguration &&value)
Definition: CreateWorkteamRequest.h:371
Aws::SageMaker::Model::CreateWorkteamRequest::WithDescription
CreateWorkteamRequest & WithDescription(const Aws::String &value)
Definition: CreateWorkteamRequest.h:336
AWSString.h
Aws::SageMaker::Model::CreateWorkteamRequest::SerializePayload
Aws::String SerializePayload() const override
Tag.h
Aws::SageMaker::Model::CreateWorkteamRequest::WithWorkforceName
CreateWorkteamRequest & WithWorkforceName(const char *value)
Definition: CreateWorkteamRequest.h:120
Aws::SageMaker::Model::CreateWorkteamRequest::WorkforceNameHasBeenSet
bool WorkforceNameHasBeenSet() const
Definition: CreateWorkteamRequest.h:90
Aws::SageMaker::Model::CreateWorkteamRequest::WithDescription
CreateWorkteamRequest & WithDescription(Aws::String &&value)
Definition: CreateWorkteamRequest.h:341
Aws::SageMaker::Model::CreateWorkteamRequest::WithWorkteamName
CreateWorkteamRequest & WithWorkteamName(Aws::String &&value)
Definition: CreateWorkteamRequest.h:74
NotificationConfiguration.h
Aws::SageMaker::Model::CreateWorkteamRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateWorkteamRequest.h:311
Aws::SageMaker::Model::CreateWorkteamRequest::MemberDefinitionsHasBeenSet
bool MemberDefinitionsHasBeenSet() const
Definition: CreateWorkteamRequest.h:167
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::SageMaker::Model::CreateWorkteamRequest::GetNotificationConfiguration
const NotificationConfiguration & GetNotificationConfiguration() const
Definition: CreateWorkteamRequest.h:353
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateWorkteamRequest::AddTags
CreateWorkteamRequest & AddTags(Tag &&value)
Definition: CreateWorkteamRequest.h:464
Aws::SageMaker::Model::CreateWorkteamRequest::NotificationConfigurationHasBeenSet
bool NotificationConfigurationHasBeenSet() const
Definition: CreateWorkteamRequest.h:359
Aws::SageMaker::Model::CreateWorkteamRequest::WithWorkforceName
CreateWorkteamRequest & WithWorkforceName(Aws::String &&value)
Definition: CreateWorkteamRequest.h:115
Aws::SageMaker::Model::CreateWorkteamRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateWorkteamRequest.h:331
Aws::SageMaker::Model::CreateWorkteamRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateWorkteamRequest.h:326
Aws::SageMaker::Model::CreateWorkteamRequest::WithNotificationConfiguration
CreateWorkteamRequest & WithNotificationConfiguration(const NotificationConfiguration &value)
Definition: CreateWorkteamRequest.h:377
Aws::SageMaker::Model::CreateWorkteamRequest::SetMemberDefinitions
void SetMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
Definition: CreateWorkteamRequest.h:213
Aws::SageMaker::Model::CreateWorkteamRequest::AddMemberDefinitions
CreateWorkteamRequest & AddMemberDefinitions(const MemberDefinition &value)
Definition: CreateWorkteamRequest.h:282
Aws::SageMaker::Model::CreateWorkteamRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateWorkteamRequest.h:414
Aws::SageMaker::Model::CreateWorkteamRequest::SetWorkforceName
void SetWorkforceName(const Aws::String &value)
Definition: CreateWorkteamRequest.h:95
Aws::SageMaker::Model::CreateWorkteamRequest::WithNotificationConfiguration
CreateWorkteamRequest & WithNotificationConfiguration(NotificationConfiguration &&value)
Definition: CreateWorkteamRequest.h:383