AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeContextResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ContextSource.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/UserContext.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_SAGEMAKER_API DescribeContextResult();
37
38
40
43 inline const Aws::String& GetContextName() const{ return m_contextName; }
44 inline void SetContextName(const Aws::String& value) { m_contextName = value; }
45 inline void SetContextName(Aws::String&& value) { m_contextName = std::move(value); }
46 inline void SetContextName(const char* value) { m_contextName.assign(value); }
47 inline DescribeContextResult& WithContextName(const Aws::String& value) { SetContextName(value); return *this;}
48 inline DescribeContextResult& WithContextName(Aws::String&& value) { SetContextName(std::move(value)); return *this;}
49 inline DescribeContextResult& WithContextName(const char* value) { SetContextName(value); return *this;}
51
53
56 inline const Aws::String& GetContextArn() const{ return m_contextArn; }
57 inline void SetContextArn(const Aws::String& value) { m_contextArn = value; }
58 inline void SetContextArn(Aws::String&& value) { m_contextArn = std::move(value); }
59 inline void SetContextArn(const char* value) { m_contextArn.assign(value); }
60 inline DescribeContextResult& WithContextArn(const Aws::String& value) { SetContextArn(value); return *this;}
61 inline DescribeContextResult& WithContextArn(Aws::String&& value) { SetContextArn(std::move(value)); return *this;}
62 inline DescribeContextResult& WithContextArn(const char* value) { SetContextArn(value); return *this;}
64
66
69 inline const ContextSource& GetSource() const{ return m_source; }
70 inline void SetSource(const ContextSource& value) { m_source = value; }
71 inline void SetSource(ContextSource&& value) { m_source = std::move(value); }
72 inline DescribeContextResult& WithSource(const ContextSource& value) { SetSource(value); return *this;}
73 inline DescribeContextResult& WithSource(ContextSource&& value) { SetSource(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetContextType() const{ return m_contextType; }
81 inline void SetContextType(const Aws::String& value) { m_contextType = value; }
82 inline void SetContextType(Aws::String&& value) { m_contextType = std::move(value); }
83 inline void SetContextType(const char* value) { m_contextType.assign(value); }
84 inline DescribeContextResult& WithContextType(const Aws::String& value) { SetContextType(value); return *this;}
85 inline DescribeContextResult& WithContextType(Aws::String&& value) { SetContextType(std::move(value)); return *this;}
86 inline DescribeContextResult& WithContextType(const char* value) { SetContextType(value); return *this;}
88
90
93 inline const Aws::String& GetDescription() const{ return m_description; }
94 inline void SetDescription(const Aws::String& value) { m_description = value; }
95 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
96 inline void SetDescription(const char* value) { m_description.assign(value); }
97 inline DescribeContextResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
98 inline DescribeContextResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
99 inline DescribeContextResult& WithDescription(const char* value) { SetDescription(value); return *this;}
101
103
106 inline const Aws::Map<Aws::String, Aws::String>& GetProperties() const{ return m_properties; }
107 inline void SetProperties(const Aws::Map<Aws::String, Aws::String>& value) { m_properties = value; }
108 inline void SetProperties(Aws::Map<Aws::String, Aws::String>&& value) { m_properties = std::move(value); }
111 inline DescribeContextResult& AddProperties(const Aws::String& key, const Aws::String& value) { m_properties.emplace(key, value); return *this; }
112 inline DescribeContextResult& AddProperties(Aws::String&& key, const Aws::String& value) { m_properties.emplace(std::move(key), value); return *this; }
113 inline DescribeContextResult& AddProperties(const Aws::String& key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
114 inline DescribeContextResult& AddProperties(Aws::String&& key, Aws::String&& value) { m_properties.emplace(std::move(key), std::move(value)); return *this; }
115 inline DescribeContextResult& AddProperties(const char* key, Aws::String&& value) { m_properties.emplace(key, std::move(value)); return *this; }
116 inline DescribeContextResult& AddProperties(Aws::String&& key, const char* value) { m_properties.emplace(std::move(key), value); return *this; }
117 inline DescribeContextResult& AddProperties(const char* key, const char* value) { m_properties.emplace(key, value); return *this; }
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
125 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
126 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
127 inline DescribeContextResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
128 inline DescribeContextResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
130
132
133 inline const UserContext& GetCreatedBy() const{ return m_createdBy; }
134 inline void SetCreatedBy(const UserContext& value) { m_createdBy = value; }
135 inline void SetCreatedBy(UserContext&& value) { m_createdBy = std::move(value); }
136 inline DescribeContextResult& WithCreatedBy(const UserContext& value) { SetCreatedBy(value); return *this;}
137 inline DescribeContextResult& WithCreatedBy(UserContext&& value) { SetCreatedBy(std::move(value)); return *this;}
139
141
144 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
145 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
146 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
148 inline DescribeContextResult& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
150
152
153 inline const UserContext& GetLastModifiedBy() const{ return m_lastModifiedBy; }
154 inline void SetLastModifiedBy(const UserContext& value) { m_lastModifiedBy = value; }
155 inline void SetLastModifiedBy(UserContext&& value) { m_lastModifiedBy = std::move(value); }
156 inline DescribeContextResult& WithLastModifiedBy(const UserContext& value) { SetLastModifiedBy(value); return *this;}
157 inline DescribeContextResult& WithLastModifiedBy(UserContext&& value) { SetLastModifiedBy(std::move(value)); return *this;}
159
161
164 inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; }
165 inline void SetLineageGroupArn(const Aws::String& value) { m_lineageGroupArn = value; }
166 inline void SetLineageGroupArn(Aws::String&& value) { m_lineageGroupArn = std::move(value); }
167 inline void SetLineageGroupArn(const char* value) { m_lineageGroupArn.assign(value); }
168 inline DescribeContextResult& WithLineageGroupArn(const Aws::String& value) { SetLineageGroupArn(value); return *this;}
169 inline DescribeContextResult& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;}
170 inline DescribeContextResult& WithLineageGroupArn(const char* value) { SetLineageGroupArn(value); return *this;}
172
174
175 inline const Aws::String& GetRequestId() const{ return m_requestId; }
176 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
177 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
178 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
179 inline DescribeContextResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
180 inline DescribeContextResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
181 inline DescribeContextResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
183 private:
184
185 Aws::String m_contextName;
186
187 Aws::String m_contextArn;
188
189 ContextSource m_source;
190
191 Aws::String m_contextType;
192
193 Aws::String m_description;
194
196
197 Aws::Utils::DateTime m_creationTime;
198
199 UserContext m_createdBy;
200
201 Aws::Utils::DateTime m_lastModifiedTime;
202
203 UserContext m_lastModifiedBy;
204
205 Aws::String m_lineageGroupArn;
206
207 Aws::String m_requestId;
208 };
209
210} // namespace Model
211} // namespace SageMaker
212} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetProperties() const
DescribeContextResult & WithProperties(const Aws::Map< Aws::String, Aws::String > &value)
DescribeContextResult & WithSource(ContextSource &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
DescribeContextResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeContextResult & WithContextName(Aws::String &&value)
DescribeContextResult & WithDescription(const Aws::String &value)
DescribeContextResult & AddProperties(const Aws::String &key, Aws::String &&value)
DescribeContextResult & WithDescription(Aws::String &&value)
DescribeContextResult & AddProperties(Aws::String &&key, const Aws::String &value)
DescribeContextResult & AddProperties(Aws::String &&key, Aws::String &&value)
DescribeContextResult & AddProperties(const char *key, const char *value)
DescribeContextResult & WithContextArn(const char *value)
DescribeContextResult & WithLineageGroupArn(const Aws::String &value)
DescribeContextResult & WithContextType(const Aws::String &value)
DescribeContextResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeContextResult & WithLineageGroupArn(const char *value)
DescribeContextResult & WithRequestId(const Aws::String &value)
AWS_SAGEMAKER_API DescribeContextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeContextResult & WithSource(const ContextSource &value)
DescribeContextResult & WithCreatedBy(UserContext &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
DescribeContextResult & WithRequestId(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
DescribeContextResult & WithContextName(const Aws::String &value)
DescribeContextResult & WithContextType(const char *value)
AWS_SAGEMAKER_API DescribeContextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeContextResult & WithLastModifiedBy(UserContext &&value)
DescribeContextResult & WithCreatedBy(const UserContext &value)
DescribeContextResult & AddProperties(Aws::String &&key, const char *value)
DescribeContextResult & AddProperties(const Aws::String &key, const Aws::String &value)
DescribeContextResult & WithLastModifiedBy(const UserContext &value)
void SetProperties(Aws::Map< Aws::String, Aws::String > &&value)
DescribeContextResult & WithLineageGroupArn(Aws::String &&value)
DescribeContextResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeContextResult & AddProperties(const char *key, Aws::String &&value)
void SetCreationTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeContextResult & WithContextArn(Aws::String &&value)
DescribeContextResult & WithProperties(Aws::Map< Aws::String, Aws::String > &&value)
DescribeContextResult & WithRequestId(const char *value)
DescribeContextResult & WithContextName(const char *value)
DescribeContextResult & WithContextArn(const Aws::String &value)
DescribeContextResult & WithDescription(const char *value)
void SetProperties(const Aws::Map< Aws::String, Aws::String > &value)
DescribeContextResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeContextResult & WithContextType(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue