AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateWorkteamRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateWorkteam"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetWorkteamName() const{ return m_workteamName; }
44 
48  inline bool WorkteamNameHasBeenSet() const { return m_workteamNameHasBeenSet; }
49 
53  inline void SetWorkteamName(const Aws::String& value) { m_workteamNameHasBeenSet = true; m_workteamName = value; }
54 
58  inline void SetWorkteamName(Aws::String&& value) { m_workteamNameHasBeenSet = true; m_workteamName = std::move(value); }
59 
63  inline void SetWorkteamName(const char* value) { m_workteamNameHasBeenSet = true; m_workteamName.assign(value); }
64 
68  inline UpdateWorkteamRequest& WithWorkteamName(const Aws::String& value) { SetWorkteamName(value); return *this;}
69 
73  inline UpdateWorkteamRequest& WithWorkteamName(Aws::String&& value) { SetWorkteamName(std::move(value)); return *this;}
74 
78  inline UpdateWorkteamRequest& WithWorkteamName(const char* value) { SetWorkteamName(value); return *this;}
79 
80 
105  inline const Aws::Vector<MemberDefinition>& GetMemberDefinitions() const{ return m_memberDefinitions; }
106 
131  inline bool MemberDefinitionsHasBeenSet() const { return m_memberDefinitionsHasBeenSet; }
132 
157  inline void SetMemberDefinitions(const Aws::Vector<MemberDefinition>& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = value; }
158 
183  inline void SetMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = std::move(value); }
184 
209  inline UpdateWorkteamRequest& WithMemberDefinitions(const Aws::Vector<MemberDefinition>& value) { SetMemberDefinitions(value); return *this;}
210 
235  inline UpdateWorkteamRequest& WithMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { SetMemberDefinitions(std::move(value)); return *this;}
236 
261  inline UpdateWorkteamRequest& AddMemberDefinitions(const MemberDefinition& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(value); return *this; }
262 
287  inline UpdateWorkteamRequest& AddMemberDefinitions(MemberDefinition&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(std::move(value)); return *this; }
288 
289 
293  inline const Aws::String& GetDescription() const{ return m_description; }
294 
298  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
299 
303  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
304 
308  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
309 
313  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
314 
318  inline UpdateWorkteamRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
319 
323  inline UpdateWorkteamRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
324 
328  inline UpdateWorkteamRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
329 
330 
334  inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; }
335 
339  inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
340 
344  inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; }
345 
349  inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); }
350 
354  inline UpdateWorkteamRequest& WithNotificationConfiguration(const NotificationConfiguration& value) { SetNotificationConfiguration(value); return *this;}
355 
359  inline UpdateWorkteamRequest& WithNotificationConfiguration(NotificationConfiguration&& value) { SetNotificationConfiguration(std::move(value)); return *this;}
360 
361  private:
362 
363  Aws::String m_workteamName;
364  bool m_workteamNameHasBeenSet;
365 
366  Aws::Vector<MemberDefinition> m_memberDefinitions;
367  bool m_memberDefinitionsHasBeenSet;
368 
369  Aws::String m_description;
370  bool m_descriptionHasBeenSet;
371 
372  NotificationConfiguration m_notificationConfiguration;
373  bool m_notificationConfigurationHasBeenSet;
374  };
375 
376 } // namespace Model
377 } // namespace SageMaker
378 } // namespace Aws
Aws::SageMaker::Model::UpdateWorkteamRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::UpdateWorkteamRequest::WithNotificationConfiguration
UpdateWorkteamRequest & WithNotificationConfiguration(const NotificationConfiguration &value)
Definition: UpdateWorkteamRequest.h:354
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::UpdateWorkteamRequest::WorkteamNameHasBeenSet
bool WorkteamNameHasBeenSet() const
Definition: UpdateWorkteamRequest.h:48
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::UpdateWorkteamRequest::WithDescription
UpdateWorkteamRequest & WithDescription(const Aws::String &value)
Definition: UpdateWorkteamRequest.h:318
Aws::SageMaker::Model::UpdateWorkteamRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateWorkteamRequest.h:313
Aws::SageMaker::Model::UpdateWorkteamRequest::WithWorkteamName
UpdateWorkteamRequest & WithWorkteamName(const Aws::String &value)
Definition: UpdateWorkteamRequest.h:68
Aws::SageMaker::Model::UpdateWorkteamRequest::GetWorkteamName
const Aws::String & GetWorkteamName() const
Definition: UpdateWorkteamRequest.h:43
Aws::SageMaker::Model::UpdateWorkteamRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateWorkteamRequest.h:298
Aws::SageMaker::Model::UpdateWorkteamRequest::WithMemberDefinitions
UpdateWorkteamRequest & WithMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
Definition: UpdateWorkteamRequest.h:235
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::UpdateWorkteamRequest::SetNotificationConfiguration
void SetNotificationConfiguration(const NotificationConfiguration &value)
Definition: UpdateWorkteamRequest.h:344
Aws::SageMaker::Model::UpdateWorkteamRequest::AddMemberDefinitions
UpdateWorkteamRequest & AddMemberDefinitions(const MemberDefinition &value)
Definition: UpdateWorkteamRequest.h:261
Aws::SageMaker::Model::UpdateWorkteamRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateWorkteamRequest.h:303
AWSVector.h
MemberDefinition.h
Aws::SageMaker::Model::UpdateWorkteamRequest::WithMemberDefinitions
UpdateWorkteamRequest & WithMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
Definition: UpdateWorkteamRequest.h:209
Aws::SageMaker::Model::UpdateWorkteamRequest::WithWorkteamName
UpdateWorkteamRequest & WithWorkteamName(Aws::String &&value)
Definition: UpdateWorkteamRequest.h:73
Aws::SageMaker::Model::UpdateWorkteamRequest::SetWorkteamName
void SetWorkteamName(Aws::String &&value)
Definition: UpdateWorkteamRequest.h:58
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::MemberDefinition
Definition: MemberDefinition.h:34
Aws::SageMaker::Model::UpdateWorkteamRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateWorkteamRequest.h:308
Aws::SageMaker::Model::NotificationConfiguration
Definition: NotificationConfiguration.h:33
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::UpdateWorkteamRequest::WithWorkteamName
UpdateWorkteamRequest & WithWorkteamName(const char *value)
Definition: UpdateWorkteamRequest.h:78
Aws::SageMaker::Model::UpdateWorkteamRequest::SetWorkteamName
void SetWorkteamName(const char *value)
Definition: UpdateWorkteamRequest.h:63
Aws::SageMaker::Model::UpdateWorkteamRequest::AddMemberDefinitions
UpdateWorkteamRequest & AddMemberDefinitions(MemberDefinition &&value)
Definition: UpdateWorkteamRequest.h:287
AWSString.h
Aws::SageMaker::Model::UpdateWorkteamRequest::WithDescription
UpdateWorkteamRequest & WithDescription(Aws::String &&value)
Definition: UpdateWorkteamRequest.h:323
Aws::SageMaker::Model::UpdateWorkteamRequest::SetWorkteamName
void SetWorkteamName(const Aws::String &value)
Definition: UpdateWorkteamRequest.h:53
Aws::SageMaker::Model::UpdateWorkteamRequest::SetNotificationConfiguration
void SetNotificationConfiguration(NotificationConfiguration &&value)
Definition: UpdateWorkteamRequest.h:349
Aws::SageMaker::Model::UpdateWorkteamRequest::MemberDefinitionsHasBeenSet
bool MemberDefinitionsHasBeenSet() const
Definition: UpdateWorkteamRequest.h:131
Aws::SageMaker::Model::UpdateWorkteamRequest::SetMemberDefinitions
void SetMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
Definition: UpdateWorkteamRequest.h:157
Aws::SageMaker::Model::UpdateWorkteamRequest::GetNotificationConfiguration
const NotificationConfiguration & GetNotificationConfiguration() const
Definition: UpdateWorkteamRequest.h:334
Aws::SageMaker::Model::UpdateWorkteamRequest
Definition: UpdateWorkteamRequest.h:25
Aws::SageMaker::Model::UpdateWorkteamRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateWorkteamRequest.h:293
Aws::SageMaker::Model::UpdateWorkteamRequest::WithDescription
UpdateWorkteamRequest & WithDescription(const char *value)
Definition: UpdateWorkteamRequest.h:328
NotificationConfiguration.h
Aws::SageMaker::Model::UpdateWorkteamRequest::SetMemberDefinitions
void SetMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
Definition: UpdateWorkteamRequest.h:183
Aws
Definition: AccessManagementClient.h:15
SageMakerRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::UpdateWorkteamRequest::UpdateWorkteamRequest
UpdateWorkteamRequest()
Aws::SageMaker::Model::UpdateWorkteamRequest::GetMemberDefinitions
const Aws::Vector< MemberDefinition > & GetMemberDefinitions() const
Definition: UpdateWorkteamRequest.h:105
Aws::SageMaker::Model::UpdateWorkteamRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::UpdateWorkteamRequest::WithNotificationConfiguration
UpdateWorkteamRequest & WithNotificationConfiguration(NotificationConfiguration &&value)
Definition: UpdateWorkteamRequest.h:359
Aws::SageMaker::Model::UpdateWorkteamRequest::NotificationConfigurationHasBeenSet
bool NotificationConfigurationHasBeenSet() const
Definition: UpdateWorkteamRequest.h:339
Aws::SageMaker::Model::UpdateWorkteamRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateWorkteamRequest.h:33