AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Workteam.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/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.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 Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SAGEMAKER_API Workteam();
40 AWS_SAGEMAKER_API Workteam(Aws::Utils::Json::JsonView jsonValue);
41 AWS_SAGEMAKER_API Workteam& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetWorkteamName() const{ return m_workteamName; }
50 inline bool WorkteamNameHasBeenSet() const { return m_workteamNameHasBeenSet; }
51 inline void SetWorkteamName(const Aws::String& value) { m_workteamNameHasBeenSet = true; m_workteamName = value; }
52 inline void SetWorkteamName(Aws::String&& value) { m_workteamNameHasBeenSet = true; m_workteamName = std::move(value); }
53 inline void SetWorkteamName(const char* value) { m_workteamNameHasBeenSet = true; m_workteamName.assign(value); }
54 inline Workteam& WithWorkteamName(const Aws::String& value) { SetWorkteamName(value); return *this;}
55 inline Workteam& WithWorkteamName(Aws::String&& value) { SetWorkteamName(std::move(value)); return *this;}
56 inline Workteam& WithWorkteamName(const char* value) { SetWorkteamName(value); return *this;}
58
60
68 inline const Aws::Vector<MemberDefinition>& GetMemberDefinitions() const{ return m_memberDefinitions; }
69 inline bool MemberDefinitionsHasBeenSet() const { return m_memberDefinitionsHasBeenSet; }
70 inline void SetMemberDefinitions(const Aws::Vector<MemberDefinition>& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = value; }
71 inline void SetMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = std::move(value); }
73 inline Workteam& WithMemberDefinitions(Aws::Vector<MemberDefinition>&& value) { SetMemberDefinitions(std::move(value)); return *this;}
74 inline Workteam& AddMemberDefinitions(const MemberDefinition& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(value); return *this; }
75 inline Workteam& AddMemberDefinitions(MemberDefinition&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(std::move(value)); return *this; }
77
79
82 inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; }
83 inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; }
84 inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; }
85 inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); }
86 inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); }
87 inline Workteam& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;}
88 inline Workteam& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;}
89 inline Workteam& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;}
91
93
96 inline const Aws::String& GetWorkforceArn() const{ return m_workforceArn; }
97 inline bool WorkforceArnHasBeenSet() const { return m_workforceArnHasBeenSet; }
98 inline void SetWorkforceArn(const Aws::String& value) { m_workforceArnHasBeenSet = true; m_workforceArn = value; }
99 inline void SetWorkforceArn(Aws::String&& value) { m_workforceArnHasBeenSet = true; m_workforceArn = std::move(value); }
100 inline void SetWorkforceArn(const char* value) { m_workforceArnHasBeenSet = true; m_workforceArn.assign(value); }
101 inline Workteam& WithWorkforceArn(const Aws::String& value) { SetWorkforceArn(value); return *this;}
102 inline Workteam& WithWorkforceArn(Aws::String&& value) { SetWorkforceArn(std::move(value)); return *this;}
103 inline Workteam& WithWorkforceArn(const char* value) { SetWorkforceArn(value); return *this;}
105
107
110 inline const Aws::Vector<Aws::String>& GetProductListingIds() const{ return m_productListingIds; }
111 inline bool ProductListingIdsHasBeenSet() const { return m_productListingIdsHasBeenSet; }
112 inline void SetProductListingIds(const Aws::Vector<Aws::String>& value) { m_productListingIdsHasBeenSet = true; m_productListingIds = value; }
113 inline void SetProductListingIds(Aws::Vector<Aws::String>&& value) { m_productListingIdsHasBeenSet = true; m_productListingIds = std::move(value); }
115 inline Workteam& WithProductListingIds(Aws::Vector<Aws::String>&& value) { SetProductListingIds(std::move(value)); return *this;}
116 inline Workteam& AddProductListingIds(const Aws::String& value) { m_productListingIdsHasBeenSet = true; m_productListingIds.push_back(value); return *this; }
117 inline Workteam& AddProductListingIds(Aws::String&& value) { m_productListingIdsHasBeenSet = true; m_productListingIds.push_back(std::move(value)); return *this; }
118 inline Workteam& AddProductListingIds(const char* value) { m_productListingIdsHasBeenSet = true; m_productListingIds.push_back(value); return *this; }
120
122
125 inline const Aws::String& GetDescription() const{ return m_description; }
126 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
127 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
128 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
129 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
130 inline Workteam& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
131 inline Workteam& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
132 inline Workteam& WithDescription(const char* value) { SetDescription(value); return *this;}
134
136
140 inline const Aws::String& GetSubDomain() const{ return m_subDomain; }
141 inline bool SubDomainHasBeenSet() const { return m_subDomainHasBeenSet; }
142 inline void SetSubDomain(const Aws::String& value) { m_subDomainHasBeenSet = true; m_subDomain = value; }
143 inline void SetSubDomain(Aws::String&& value) { m_subDomainHasBeenSet = true; m_subDomain = std::move(value); }
144 inline void SetSubDomain(const char* value) { m_subDomainHasBeenSet = true; m_subDomain.assign(value); }
145 inline Workteam& WithSubDomain(const Aws::String& value) { SetSubDomain(value); return *this;}
146 inline Workteam& WithSubDomain(Aws::String&& value) { SetSubDomain(std::move(value)); return *this;}
147 inline Workteam& WithSubDomain(const char* value) { SetSubDomain(value); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
155 inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
156 inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
157 inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
158 inline Workteam& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
159 inline Workteam& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
161
163
166 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
167 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
168 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
169 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
170 inline Workteam& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;}
171 inline Workteam& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
173
175
179 inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; }
180 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
181 inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; }
182 inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); }
186
188
192 inline const WorkerAccessConfiguration& GetWorkerAccessConfiguration() const{ return m_workerAccessConfiguration; }
193 inline bool WorkerAccessConfigurationHasBeenSet() const { return m_workerAccessConfigurationHasBeenSet; }
194 inline void SetWorkerAccessConfiguration(const WorkerAccessConfiguration& value) { m_workerAccessConfigurationHasBeenSet = true; m_workerAccessConfiguration = value; }
195 inline void SetWorkerAccessConfiguration(WorkerAccessConfiguration&& value) { m_workerAccessConfigurationHasBeenSet = true; m_workerAccessConfiguration = std::move(value); }
199 private:
200
201 Aws::String m_workteamName;
202 bool m_workteamNameHasBeenSet = false;
203
204 Aws::Vector<MemberDefinition> m_memberDefinitions;
205 bool m_memberDefinitionsHasBeenSet = false;
206
207 Aws::String m_workteamArn;
208 bool m_workteamArnHasBeenSet = false;
209
210 Aws::String m_workforceArn;
211 bool m_workforceArnHasBeenSet = false;
212
213 Aws::Vector<Aws::String> m_productListingIds;
214 bool m_productListingIdsHasBeenSet = false;
215
216 Aws::String m_description;
217 bool m_descriptionHasBeenSet = false;
218
219 Aws::String m_subDomain;
220 bool m_subDomainHasBeenSet = false;
221
222 Aws::Utils::DateTime m_createDate;
223 bool m_createDateHasBeenSet = false;
224
225 Aws::Utils::DateTime m_lastUpdatedDate;
226 bool m_lastUpdatedDateHasBeenSet = false;
227
228 NotificationConfiguration m_notificationConfiguration;
229 bool m_notificationConfigurationHasBeenSet = false;
230
231 WorkerAccessConfiguration m_workerAccessConfiguration;
232 bool m_workerAccessConfigurationHasBeenSet = false;
233 };
234
235} // namespace Model
236} // namespace SageMaker
237} // namespace Aws
Workteam & WithWorkforceArn(const char *value)
Definition Workteam.h:103
Workteam & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition Workteam.h:170
Workteam & WithMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
Definition Workteam.h:73
void SetWorkforceArn(const char *value)
Definition Workteam.h:100
const Aws::Utils::DateTime & GetLastUpdatedDate() const
Definition Workteam.h:166
bool WorkteamNameHasBeenSet() const
Definition Workteam.h:50
Workteam & WithProductListingIds(const Aws::Vector< Aws::String > &value)
Definition Workteam.h:114
const NotificationConfiguration & GetNotificationConfiguration() const
Definition Workteam.h:179
void SetProductListingIds(Aws::Vector< Aws::String > &&value)
Definition Workteam.h:113
Workteam & WithNotificationConfiguration(NotificationConfiguration &&value)
Definition Workteam.h:184
bool WorkteamArnHasBeenSet() const
Definition Workteam.h:83
void SetWorkteamName(const char *value)
Definition Workteam.h:53
bool WorkerAccessConfigurationHasBeenSet() const
Definition Workteam.h:193
Workteam & WithWorkteamName(const Aws::String &value)
Definition Workteam.h:54
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Workteam & AddProductListingIds(const char *value)
Definition Workteam.h:118
void SetNotificationConfiguration(const NotificationConfiguration &value)
Definition Workteam.h:181
Workteam & WithSubDomain(Aws::String &&value)
Definition Workteam.h:146
void SetDescription(const Aws::String &value)
Definition Workteam.h:127
Workteam & WithSubDomain(const char *value)
Definition Workteam.h:147
const Aws::String & GetWorkforceArn() const
Definition Workteam.h:96
void SetSubDomain(const Aws::String &value)
Definition Workteam.h:142
void SetProductListingIds(const Aws::Vector< Aws::String > &value)
Definition Workteam.h:112
AWS_SAGEMAKER_API Workteam(Aws::Utils::Json::JsonView jsonValue)
bool ProductListingIdsHasBeenSet() const
Definition Workteam.h:111
Workteam & WithProductListingIds(Aws::Vector< Aws::String > &&value)
Definition Workteam.h:115
Workteam & WithDescription(Aws::String &&value)
Definition Workteam.h:131
Workteam & WithMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
Definition Workteam.h:72
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition Workteam.h:169
void SetWorkforceArn(const Aws::String &value)
Definition Workteam.h:98
void SetWorkforceArn(Aws::String &&value)
Definition Workteam.h:99
bool WorkforceArnHasBeenSet() const
Definition Workteam.h:97
Workteam & WithWorkteamName(const char *value)
Definition Workteam.h:56
void SetWorkteamArn(Aws::String &&value)
Definition Workteam.h:85
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
Definition Workteam.h:168
void SetWorkteamArn(const char *value)
Definition Workteam.h:86
Workteam & WithWorkerAccessConfiguration(WorkerAccessConfiguration &&value)
Definition Workteam.h:197
Workteam & WithWorkforceArn(const Aws::String &value)
Definition Workteam.h:101
void SetDescription(const char *value)
Definition Workteam.h:129
void SetWorkerAccessConfiguration(const WorkerAccessConfiguration &value)
Definition Workteam.h:194
const Aws::Vector< MemberDefinition > & GetMemberDefinitions() const
Definition Workteam.h:68
Workteam & WithDescription(const Aws::String &value)
Definition Workteam.h:130
bool NotificationConfigurationHasBeenSet() const
Definition Workteam.h:180
Workteam & AddProductListingIds(Aws::String &&value)
Definition Workteam.h:117
const Aws::String & GetWorkteamName() const
Definition Workteam.h:49
Workteam & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
Definition Workteam.h:171
Workteam & WithWorkteamName(Aws::String &&value)
Definition Workteam.h:55
Workteam & WithWorkteamArn(const char *value)
Definition Workteam.h:89
void SetWorkteamName(const Aws::String &value)
Definition Workteam.h:51
void SetWorkteamArn(const Aws::String &value)
Definition Workteam.h:84
Workteam & WithCreateDate(Aws::Utils::DateTime &&value)
Definition Workteam.h:159
void SetNotificationConfiguration(NotificationConfiguration &&value)
Definition Workteam.h:182
AWS_SAGEMAKER_API Workteam & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetWorkerAccessConfiguration(WorkerAccessConfiguration &&value)
Definition Workteam.h:195
Workteam & WithWorkforceArn(Aws::String &&value)
Definition Workteam.h:102
const Aws::Utils::DateTime & GetCreateDate() const
Definition Workteam.h:154
const Aws::String & GetSubDomain() const
Definition Workteam.h:140
void SetSubDomain(const char *value)
Definition Workteam.h:144
void SetSubDomain(Aws::String &&value)
Definition Workteam.h:143
Workteam & AddProductListingIds(const Aws::String &value)
Definition Workteam.h:116
const Aws::Vector< Aws::String > & GetProductListingIds() const
Definition Workteam.h:110
Workteam & WithWorkteamArn(Aws::String &&value)
Definition Workteam.h:88
const Aws::String & GetWorkteamArn() const
Definition Workteam.h:82
Workteam & WithWorkteamArn(const Aws::String &value)
Definition Workteam.h:87
Workteam & WithWorkerAccessConfiguration(const WorkerAccessConfiguration &value)
Definition Workteam.h:196
void SetWorkteamName(Aws::String &&value)
Definition Workteam.h:52
Workteam & AddMemberDefinitions(const MemberDefinition &value)
Definition Workteam.h:74
Workteam & AddMemberDefinitions(MemberDefinition &&value)
Definition Workteam.h:75
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition Workteam.h:157
Workteam & WithCreateDate(const Aws::Utils::DateTime &value)
Definition Workteam.h:158
bool MemberDefinitionsHasBeenSet() const
Definition Workteam.h:69
bool LastUpdatedDateHasBeenSet() const
Definition Workteam.h:167
AWS_SAGEMAKER_API Workteam()
Workteam & WithSubDomain(const Aws::String &value)
Definition Workteam.h:145
const Aws::String & GetDescription() const
Definition Workteam.h:125
void SetMemberDefinitions(const Aws::Vector< MemberDefinition > &value)
Definition Workteam.h:70
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition Workteam.h:156
void SetMemberDefinitions(Aws::Vector< MemberDefinition > &&value)
Definition Workteam.h:71
Workteam & WithNotificationConfiguration(const NotificationConfiguration &value)
Definition Workteam.h:183
const WorkerAccessConfiguration & GetWorkerAccessConfiguration() const
Definition Workteam.h:192
void SetDescription(Aws::String &&value)
Definition Workteam.h:128
Workteam & WithDescription(const char *value)
Definition Workteam.h:132
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue