AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeContextResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace SageMaker
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetContextName() const{ return m_contextName; }
43 
47  inline void SetContextName(const Aws::String& value) { m_contextName = value; }
48 
52  inline void SetContextName(Aws::String&& value) { m_contextName = std::move(value); }
53 
57  inline void SetContextName(const char* value) { m_contextName.assign(value); }
58 
62  inline DescribeContextResult& WithContextName(const Aws::String& value) { SetContextName(value); return *this;}
63 
67  inline DescribeContextResult& WithContextName(Aws::String&& value) { SetContextName(std::move(value)); return *this;}
68 
72  inline DescribeContextResult& WithContextName(const char* value) { SetContextName(value); return *this;}
73 
74 
78  inline const Aws::String& GetContextArn() const{ return m_contextArn; }
79 
83  inline void SetContextArn(const Aws::String& value) { m_contextArn = value; }
84 
88  inline void SetContextArn(Aws::String&& value) { m_contextArn = std::move(value); }
89 
93  inline void SetContextArn(const char* value) { m_contextArn.assign(value); }
94 
98  inline DescribeContextResult& WithContextArn(const Aws::String& value) { SetContextArn(value); return *this;}
99 
103  inline DescribeContextResult& WithContextArn(Aws::String&& value) { SetContextArn(std::move(value)); return *this;}
104 
108  inline DescribeContextResult& WithContextArn(const char* value) { SetContextArn(value); return *this;}
109 
110 
114  inline const ContextSource& GetSource() const{ return m_source; }
115 
119  inline void SetSource(const ContextSource& value) { m_source = value; }
120 
124  inline void SetSource(ContextSource&& value) { m_source = std::move(value); }
125 
129  inline DescribeContextResult& WithSource(const ContextSource& value) { SetSource(value); return *this;}
130 
134  inline DescribeContextResult& WithSource(ContextSource&& value) { SetSource(std::move(value)); return *this;}
135 
136 
140  inline const Aws::String& GetContextType() const{ return m_contextType; }
141 
145  inline void SetContextType(const Aws::String& value) { m_contextType = value; }
146 
150  inline void SetContextType(Aws::String&& value) { m_contextType = std::move(value); }
151 
155  inline void SetContextType(const char* value) { m_contextType.assign(value); }
156 
160  inline DescribeContextResult& WithContextType(const Aws::String& value) { SetContextType(value); return *this;}
161 
165  inline DescribeContextResult& WithContextType(Aws::String&& value) { SetContextType(std::move(value)); return *this;}
166 
170  inline DescribeContextResult& WithContextType(const char* value) { SetContextType(value); return *this;}
171 
172 
176  inline const Aws::String& GetDescription() const{ return m_description; }
177 
181  inline void SetDescription(const Aws::String& value) { m_description = value; }
182 
186  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
187 
191  inline void SetDescription(const char* value) { m_description.assign(value); }
192 
196  inline DescribeContextResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
197 
201  inline DescribeContextResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
202 
206  inline DescribeContextResult& WithDescription(const char* value) { SetDescription(value); return *this;}
207 
208 
212  inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
213 
217  inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_properties = value; }
218 
222  inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_properties = std::move(value); }
223 
227  inline DescribeContextResult& WithProperties(const Aws::Map<Aws::String, Aws::String>& value) { SetProperties(value); return *this;}
228 
232  inline DescribeContextResult& WithProperties(Aws::Map<Aws::String, Aws::String>&& value) { SetProperties(std::move(value)); return *this;}
233 
237  inline DescribeContextResult& AddProperties(const Aws::String& key, const Aws::String& value) { m_properties.emplace(key, value); return *this; }
238 
242  inline DescribeContextResult& AddProperties(Aws::String&& key, const Aws::String& value) { m_properties.emplace(std::move(key), value); return *this; }
243 
247  inline DescribeContextResult& AddProperties(const Aws::String& key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
248 
252  inline DescribeContextResult& AddProperties(Aws::String&& key, Aws::String&& value) { m_properties.emplace(std::move(key), std::move(value)); return *this; }
253 
257  inline DescribeContextResult& AddProperties(const char* key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
258 
262  inline DescribeContextResult& AddProperties(Aws::String&& key, const char* value) { m_properties.emplace(std::move(key), value); return *this; }
263 
267  inline DescribeContextResult& AddProperties(const char* key, const char* value) { m_properties.emplace(key, value); return *this; }
268 
269 
273  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
274 
278  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
279 
283  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
284 
288  inline DescribeContextResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
289 
293  inline DescribeContextResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
294 
295 
296 
297  inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
298 
299 
300  inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
301 
302 
303  inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
304 
305 
306  inline DescribeContextResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
307 
308 
309  inline DescribeContextResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
310 
311 
315  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
316 
320  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
321 
325  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
326 
330  inline DescribeContextResult& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
331 
335  inline DescribeContextResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
336 
337 
338 
339  inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
340 
341 
342  inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
343 
344 
345  inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
346 
347 
348  inline DescribeContextResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
349 
350 
351  inline DescribeContextResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
352 
353  private:
354 
355  Aws::String m_contextName;
356 
357  Aws::String m_contextArn;
358 
359  ContextSource m_source;
360 
361  Aws::String m_contextType;
362 
363  Aws::String m_description;
364 
366 
367  Aws::Utils::DateTime m_creationTime;
368 
369  UserContext m_createdBy;
370 
371  Aws::Utils::DateTime m_lastModifiedTime;
372 
373  UserContext m_lastModifiedBy;
374  };
375 
376 } // namespace Model
377 } // namespace SageMaker
378 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::DescribeContextResult::WithCreatedBy
DescribeContextResult & WithCreatedBy(const UserContext &value)
Definition: DescribeContextResult.h:306
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SageMaker::Model::DescribeContextResult::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeContextResult.h:320
Aws::SageMaker::Model::UserContext
Definition: UserContext.h:33
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeContextResult::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeContextResult.h:325
Aws::SageMaker::Model::DescribeContextResult::SetSource
void SetSource(const ContextSource &value)
Definition: DescribeContextResult.h:119
Aws::SageMaker::Model::DescribeContextResult::SetContextName
void SetContextName(const Aws::String &value)
Definition: DescribeContextResult.h:47
Aws::SageMaker::Model::DescribeContextResult::WithSource
DescribeContextResult & WithSource(const ContextSource &value)
Definition: DescribeContextResult.h:129
Aws::SageMaker::Model::DescribeContextResult::WithContextArn
DescribeContextResult & WithContextArn(Aws::String &&value)
Definition: DescribeContextResult.h:103
Aws::SageMaker::Model::DescribeContextResult::GetLastModifiedBy
const UserContext & GetLastModifiedBy() const
Definition: DescribeContextResult.h:339
Aws::SageMaker::Model::DescribeContextResult::WithProperties
DescribeContextResult & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeContextResult.h:227
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(const Aws::String &key, const Aws::String &value)
Definition: DescribeContextResult.h:237
Aws::SageMaker::Model::DescribeContextResult::WithDescription
DescribeContextResult & WithDescription(Aws::String &&value)
Definition: DescribeContextResult.h:201
DateTime.h
Aws::SageMaker::Model::DescribeContextResult::SetProperties
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DescribeContextResult.h:217
Aws::SageMaker::Model::DescribeContextResult::operator=
DescribeContextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(const char *key, const char *value)
Definition: DescribeContextResult.h:267
Aws::SageMaker::Model::DescribeContextResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: DescribeContextResult.h:186
Aws::SageMaker::Model::DescribeContextResult::SetContextName
void SetContextName(Aws::String &&value)
Definition: DescribeContextResult.h:52
Aws::SageMaker::Model::DescribeContextResult::WithContextName
DescribeContextResult & WithContextName(const Aws::String &value)
Definition: DescribeContextResult.h:62
Aws::SageMaker::Model::DescribeContextResult::WithContextArn
DescribeContextResult & WithContextArn(const char *value)
Definition: DescribeContextResult.h:108
Aws::SageMaker::Model::DescribeContextResult::WithContextArn
DescribeContextResult & WithContextArn(const Aws::String &value)
Definition: DescribeContextResult.h:98
Aws::SageMaker::Model::DescribeContextResult::SetContextArn
void SetContextArn(const Aws::String &value)
Definition: DescribeContextResult.h:83
UserContext.h
Aws::SageMaker::Model::DescribeContextResult::DescribeContextResult
DescribeContextResult()
Aws::SageMaker::Model::DescribeContextResult::SetContextName
void SetContextName(const char *value)
Definition: DescribeContextResult.h:57
Aws::SageMaker::Model::DescribeContextResult::GetProperties
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
Definition: DescribeContextResult.h:212
Aws::SageMaker::Model::DescribeContextResult::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: DescribeContextResult.h:315
Aws::SageMaker::Model::DescribeContextResult::SetLastModifiedBy
void SetLastModifiedBy(const UserContext &value)
Definition: DescribeContextResult.h:342
Aws::SageMaker::Model::DescribeContextResult::SetContextArn
void SetContextArn(const char *value)
Definition: DescribeContextResult.h:93
Aws::SageMaker::Model::DescribeContextResult::SetContextType
void SetContextType(const Aws::String &value)
Definition: DescribeContextResult.h:145
Aws::SageMaker::Model::DescribeContextResult::WithLastModifiedBy
DescribeContextResult & WithLastModifiedBy(UserContext &&value)
Definition: DescribeContextResult.h:351
Aws::SageMaker::Model::DescribeContextResult::GetContextName
const Aws::String & GetContextName() const
Definition: DescribeContextResult.h:42
Aws::SageMaker::Model::DescribeContextResult::GetContextType
const Aws::String & GetContextType() const
Definition: DescribeContextResult.h:140
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeContextResult::WithLastModifiedTime
DescribeContextResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: DescribeContextResult.h:335
Aws::SageMaker::Model::DescribeContextResult::SetDescription
void SetDescription(const char *value)
Definition: DescribeContextResult.h:191
Aws::SageMaker::Model::DescribeContextResult::WithContextName
DescribeContextResult & WithContextName(Aws::String &&value)
Definition: DescribeContextResult.h:67
Aws::SageMaker::Model::DescribeContextResult::SetContextArn
void SetContextArn(Aws::String &&value)
Definition: DescribeContextResult.h:88
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(const Aws::String &key, Aws::String &&value)
Definition: DescribeContextResult.h:247
Aws::SageMaker::Model::DescribeContextResult::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: DescribeContextResult.h:273
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(const char *key, Aws::String &&value)
Definition: DescribeContextResult.h:257
Aws::SageMaker::Model::DescribeContextResult::GetContextArn
const Aws::String & GetContextArn() const
Definition: DescribeContextResult.h:78
Aws::SageMaker::Model::DescribeContextResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: DescribeContextResult.h:181
ContextSource.h
AWSString.h
Aws::SageMaker::Model::DescribeContextResult::WithContextType
DescribeContextResult & WithContextType(const char *value)
Definition: DescribeContextResult.h:170
Aws::SageMaker::Model::DescribeContextResult::WithCreationTime
DescribeContextResult & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeContextResult.h:288
Aws::SageMaker::Model::DescribeContextResult::SetProperties
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeContextResult.h:222
Aws::SageMaker::Model::DescribeContextResult::WithCreationTime
DescribeContextResult & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeContextResult.h:293
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(Aws::String &&key, const char *value)
Definition: DescribeContextResult.h:262
Aws::SageMaker::Model::DescribeContextResult::SetSource
void SetSource(ContextSource &&value)
Definition: DescribeContextResult.h:124
Aws::SageMaker::Model::DescribeContextResult::GetDescription
const Aws::String & GetDescription() const
Definition: DescribeContextResult.h:176
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(Aws::String &&key, const Aws::String &value)
Definition: DescribeContextResult.h:242
Aws::SageMaker::Model::DescribeContextResult::WithDescription
DescribeContextResult & WithDescription(const char *value)
Definition: DescribeContextResult.h:206
Aws::SageMaker::Model::DescribeContextResult::SetContextType
void SetContextType(const char *value)
Definition: DescribeContextResult.h:155
Aws::SageMaker::Model::DescribeContextResult::WithDescription
DescribeContextResult & WithDescription(const Aws::String &value)
Definition: DescribeContextResult.h:196
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeContextResult::GetSource
const ContextSource & GetSource() const
Definition: DescribeContextResult.h:114
Aws::SageMaker::Model::DescribeContextResult::DescribeContextResult
DescribeContextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SageMaker::Model::DescribeContextResult::SetLastModifiedBy
void SetLastModifiedBy(UserContext &&value)
Definition: DescribeContextResult.h:345
Aws::SageMaker::Model::DescribeContextResult::SetContextType
void SetContextType(Aws::String &&value)
Definition: DescribeContextResult.h:150
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeContextResult::WithCreatedBy
DescribeContextResult & WithCreatedBy(UserContext &&value)
Definition: DescribeContextResult.h:309
Aws::SageMaker::Model::DescribeContextResult::GetCreatedBy
const UserContext & GetCreatedBy() const
Definition: DescribeContextResult.h:297
Aws::SageMaker::Model::DescribeContextResult::WithSource
DescribeContextResult & WithSource(ContextSource &&value)
Definition: DescribeContextResult.h:134
Aws::SageMaker::Model::DescribeContextResult::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: DescribeContextResult.h:278
Aws::SageMaker::Model::DescribeContextResult
Definition: DescribeContextResult.h:32
Aws::SageMaker::Model::DescribeContextResult::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: DescribeContextResult.h:283
Aws::SageMaker::Model::DescribeContextResult::SetCreatedBy
void SetCreatedBy(const UserContext &value)
Definition: DescribeContextResult.h:300
Aws::SageMaker::Model::ContextSource
Definition: ContextSource.h:32
AWSMap.h
Aws::SageMaker::Model::DescribeContextResult::SetCreatedBy
void SetCreatedBy(UserContext &&value)
Definition: DescribeContextResult.h:303
Aws::SageMaker::Model::DescribeContextResult::WithProperties
DescribeContextResult & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DescribeContextResult.h:232
Aws::SageMaker::Model::DescribeContextResult::WithLastModifiedTime
DescribeContextResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: DescribeContextResult.h:330
Aws::SageMaker::Model::DescribeContextResult::WithContextType
DescribeContextResult & WithContextType(Aws::String &&value)
Definition: DescribeContextResult.h:165
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::SageMaker::Model::DescribeContextResult::WithContextName
DescribeContextResult & WithContextName(const char *value)
Definition: DescribeContextResult.h:72
Aws::SageMaker::Model::DescribeContextResult::WithLastModifiedBy
DescribeContextResult & WithLastModifiedBy(const UserContext &value)
Definition: DescribeContextResult.h:348
Aws::SageMaker::Model::DescribeContextResult::WithContextType
DescribeContextResult & WithContextType(const Aws::String &value)
Definition: DescribeContextResult.h:160
Aws::SageMaker::Model::DescribeContextResult::AddProperties
DescribeContextResult & AddProperties(Aws::String &&key, Aws::String &&value)
Definition: DescribeContextResult.h:252