AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateWorkteamRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/NotificationConfiguration.h>
12#include <aws/sagemaker/model/WorkerAccessConfiguration.h>
13#include <aws/sagemaker/model/MemberDefinition.h>
14#include <utility>
15
16namespace Aws
17{
18namespace SageMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKER_API UpdateWorkteamRequest();
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 "UpdateWorkteam"; }
35
36 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetWorkteamName() const{ return m_workteamName; }
46 inline bool WorkteamNameHasBeenSet() const { return m_workteamNameHasBeenSet; }
47 inline void SetWorkteamName(const Aws::String& value) { m_workteamNameHasBeenSet = true; m_workteamName = value; }
48 inline void SetWorkteamName(Aws::String&& value) { m_workteamNameHasBeenSet = true; m_workteamName = std::move(value); }
49 inline void SetWorkteamName(const char* value) { m_workteamNameHasBeenSet = true; m_workteamName.assign(value); }
50 inline UpdateWorkteamRequest& WithWorkteamName(const Aws::String& value) { SetWorkteamName(value); return *this;}
51 inline UpdateWorkteamRequest& WithWorkteamName(Aws::String&& value) { SetWorkteamName(std::move(value)); return *this;}
52 inline UpdateWorkteamRequest& WithWorkteamName(const char* value) { SetWorkteamName(value); return *this;}
54
56
80 inline const Aws::Vector<MemberDefinition>& GetMemberDefinitions() const{ return m_memberDefinitions; }
81 inline bool MemberDefinitionsHasBeenSet() const { return m_memberDefinitionsHasBeenSet; }
82 inline void SetMemberDefinitions(const Aws::Vector<MemberDefinition>& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = value; }
83 inline void SetMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = std::move(value); }
86 inline UpdateWorkteamRequest& AddMemberDefinitions(const MemberDefinition& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(value); return *this; }
87 inline UpdateWorkteamRequest& AddMemberDefinitions(MemberDefinition&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(std::move(value)); return *this; }
89
91
94 inline const Aws::String& GetDescription() const{ return m_description; }
95 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
96 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
98 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
99 inline UpdateWorkteamRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
100 inline UpdateWorkteamRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
101 inline UpdateWorkteamRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
103
105
108 inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; }
109 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
110 inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; }
111 inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); }
115
117
122 inline const WorkerAccessConfiguration& GetWorkerAccessConfiguration() const{ return m_workerAccessConfiguration; }
123 inline bool WorkerAccessConfigurationHasBeenSet() const { return m_workerAccessConfigurationHasBeenSet; }
124 inline void SetWorkerAccessConfiguration(const WorkerAccessConfiguration& value) { m_workerAccessConfigurationHasBeenSet = true; m_workerAccessConfiguration = value; }
125 inline void SetWorkerAccessConfiguration(WorkerAccessConfiguration&& value) { m_workerAccessConfigurationHasBeenSet = true; m_workerAccessConfiguration = std::move(value); }
129 private:
130
131 Aws::String m_workteamName;
132 bool m_workteamNameHasBeenSet = false;
133
134 Aws::Vector<MemberDefinition> m_memberDefinitions;
135 bool m_memberDefinitionsHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 NotificationConfiguration m_notificationConfiguration;
141 bool m_notificationConfigurationHasBeenSet = false;
142
143 WorkerAccessConfiguration m_workerAccessConfiguration;
144 bool m_workerAccessConfigurationHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SageMaker
149} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateWorkteamRequest & WithWorkerAccessConfiguration(const WorkerAccessConfiguration &value)
UpdateWorkteamRequest & WithMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
UpdateWorkteamRequest & WithWorkteamName(Aws::String &&value)
UpdateWorkteamRequest & AddMemberDefinitions(MemberDefinition &&value)
void SetMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
virtual const char * GetServiceRequestName() const override
UpdateWorkteamRequest & WithWorkteamName(const Aws::String &value)
UpdateWorkteamRequest & WithDescription(Aws::String &&value)
UpdateWorkteamRequest & WithWorkerAccessConfiguration(WorkerAccessConfiguration &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateWorkteamRequest & WithWorkteamName(const char *value)
UpdateWorkteamRequest & WithNotificationConfiguration(const NotificationConfiguration &value)
const NotificationConfiguration & GetNotificationConfiguration() const
void SetNotificationConfiguration(NotificationConfiguration &&value)
void SetMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
void SetNotificationConfiguration(const NotificationConfiguration &value)
UpdateWorkteamRequest & WithDescription(const char *value)
UpdateWorkteamRequest & WithMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
const Aws::Vector< MemberDefinition > & GetMemberDefinitions() const
UpdateWorkteamRequest & AddMemberDefinitions(const MemberDefinition &value)
UpdateWorkteamRequest & WithNotificationConfiguration(NotificationConfiguration &&value)
UpdateWorkteamRequest & WithDescription(const Aws::String &value)
void SetWorkerAccessConfiguration(WorkerAccessConfiguration &&value)
const WorkerAccessConfiguration & GetWorkerAccessConfiguration() const
void SetWorkerAccessConfiguration(const WorkerAccessConfiguration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector