AWS SDK for C++  1.9.160
AWS SDK for C++
ContextSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace SageMaker
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
46  inline const Aws::String& GetContextArn() const{ return m_contextArn; }
47 
51  inline bool ContextArnHasBeenSet() const { return m_contextArnHasBeenSet; }
52 
56  inline void SetContextArn(const Aws::String& value) { m_contextArnHasBeenSet = true; m_contextArn = value; }
57 
61  inline void SetContextArn(Aws::String&& value) { m_contextArnHasBeenSet = true; m_contextArn = std::move(value); }
62 
66  inline void SetContextArn(const char* value) { m_contextArnHasBeenSet = true; m_contextArn.assign(value); }
67 
71  inline ContextSummary& WithContextArn(const Aws::String& value) { SetContextArn(value); return *this;}
72 
76  inline ContextSummary& WithContextArn(Aws::String&& value) { SetContextArn(std::move(value)); return *this;}
77 
81  inline ContextSummary& WithContextArn(const char* value) { SetContextArn(value); return *this;}
82 
83 
87  inline const Aws::String& GetContextName() const{ return m_contextName; }
88 
92  inline bool ContextNameHasBeenSet() const { return m_contextNameHasBeenSet; }
93 
97  inline void SetContextName(const Aws::String& value) { m_contextNameHasBeenSet = true; m_contextName = value; }
98 
102  inline void SetContextName(Aws::String&& value) { m_contextNameHasBeenSet = true; m_contextName = std::move(value); }
103 
107  inline void SetContextName(const char* value) { m_contextNameHasBeenSet = true; m_contextName.assign(value); }
108 
112  inline ContextSummary& WithContextName(const Aws::String& value) { SetContextName(value); return *this;}
113 
117  inline ContextSummary& WithContextName(Aws::String&& value) { SetContextName(std::move(value)); return *this;}
118 
122  inline ContextSummary& WithContextName(const char* value) { SetContextName(value); return *this;}
123 
124 
128  inline const ContextSource& GetSource() const{ return m_source; }
129 
133  inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
134 
138  inline void SetSource(const ContextSource& value) { m_sourceHasBeenSet = true; m_source = value; }
139 
143  inline void SetSource(ContextSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
144 
148  inline ContextSummary& WithSource(const ContextSource& value) { SetSource(value); return *this;}
149 
153  inline ContextSummary& WithSource(ContextSource&& value) { SetSource(std::move(value)); return *this;}
154 
155 
159  inline const Aws::String& GetContextType() const{ return m_contextType; }
160 
164  inline bool ContextTypeHasBeenSet() const { return m_contextTypeHasBeenSet; }
165 
169  inline void SetContextType(const Aws::String& value) { m_contextTypeHasBeenSet = true; m_contextType = value; }
170 
174  inline void SetContextType(Aws::String&& value) { m_contextTypeHasBeenSet = true; m_contextType = std::move(value); }
175 
179  inline void SetContextType(const char* value) { m_contextTypeHasBeenSet = true; m_contextType.assign(value); }
180 
184  inline ContextSummary& WithContextType(const Aws::String& value) { SetContextType(value); return *this;}
185 
189  inline ContextSummary& WithContextType(Aws::String&& value) { SetContextType(std::move(value)); return *this;}
190 
194  inline ContextSummary& WithContextType(const char* value) { SetContextType(value); return *this;}
195 
196 
200  inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
201 
205  inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
206 
210  inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
211 
215  inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
216 
220  inline ContextSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
221 
225  inline ContextSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
226 
227 
231  inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
232 
236  inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
237 
241  inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
242 
246  inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
247 
251  inline ContextSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;}
252 
256  inline ContextSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
257 
258  private:
259 
260  Aws::String m_contextArn;
261  bool m_contextArnHasBeenSet;
262 
263  Aws::String m_contextName;
264  bool m_contextNameHasBeenSet;
265 
266  ContextSource m_source;
267  bool m_sourceHasBeenSet;
268 
269  Aws::String m_contextType;
270  bool m_contextTypeHasBeenSet;
271 
272  Aws::Utils::DateTime m_creationTime;
273  bool m_creationTimeHasBeenSet;
274 
275  Aws::Utils::DateTime m_lastModifiedTime;
276  bool m_lastModifiedTimeHasBeenSet;
277  };
278 
279 } // namespace Model
280 } // namespace SageMaker
281 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SageMaker::Model::ContextSummary
Definition: ContextSummary.h:35
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ContextSummary::ContextSummary
ContextSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ContextSummary::WithContextName
ContextSummary & WithContextName(Aws::String &&value)
Definition: ContextSummary.h:117
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ContextSummary::WithContextArn
ContextSummary & WithContextArn(const char *value)
Definition: ContextSummary.h:81
Aws::SageMaker::Model::ContextSummary::SetCreationTime
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition: ContextSummary.h:215
DateTime.h
Aws::SageMaker::Model::ContextSummary::WithSource
ContextSummary & WithSource(const ContextSource &value)
Definition: ContextSummary.h:148
Aws::SageMaker::Model::ContextSummary::SetSource
void SetSource(const ContextSource &value)
Definition: ContextSummary.h:138
Aws::SageMaker::Model::ContextSummary::ContextNameHasBeenSet
bool ContextNameHasBeenSet() const
Definition: ContextSummary.h:92
Aws::SageMaker::Model::ContextSummary::operator=
ContextSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ContextSummary::ContextTypeHasBeenSet
bool ContextTypeHasBeenSet() const
Definition: ContextSummary.h:164
Aws::SageMaker::Model::ContextSummary::WithLastModifiedTime
ContextSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: ContextSummary.h:251
Aws::SageMaker::Model::ContextSummary::SetContextArn
void SetContextArn(const char *value)
Definition: ContextSummary.h:66
Aws::SageMaker::Model::ContextSummary::WithContextName
ContextSummary & WithContextName(const Aws::String &value)
Definition: ContextSummary.h:112
Aws::SageMaker::Model::ContextSummary::ContextSummary
ContextSummary()
Aws::SageMaker::Model::ContextSummary::SetContextName
void SetContextName(const Aws::String &value)
Definition: ContextSummary.h:97
Aws::SageMaker::Model::ContextSummary::ContextArnHasBeenSet
bool ContextArnHasBeenSet() const
Definition: ContextSummary.h:51
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ContextSummary::GetCreationTime
const Aws::Utils::DateTime & GetCreationTime() const
Definition: ContextSummary.h:200
Aws::SageMaker::Model::ContextSummary::WithCreationTime
ContextSummary & WithCreationTime(const Aws::Utils::DateTime &value)
Definition: ContextSummary.h:220
Aws::SageMaker::Model::ContextSummary::GetSource
const ContextSource & GetSource() const
Definition: ContextSummary.h:128
Aws::SageMaker::Model::ContextSummary::GetContextName
const Aws::String & GetContextName() const
Definition: ContextSummary.h:87
Aws::SageMaker::Model::ContextSummary::WithSource
ContextSummary & WithSource(ContextSource &&value)
Definition: ContextSummary.h:153
ContextSource.h
Aws::SageMaker::Model::ContextSummary::GetContextArn
const Aws::String & GetContextArn() const
Definition: ContextSummary.h:46
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::SageMaker::Model::ContextSummary::CreationTimeHasBeenSet
bool CreationTimeHasBeenSet() const
Definition: ContextSummary.h:205
Aws::SageMaker::Model::ContextSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ContextSummary::WithContextName
ContextSummary & WithContextName(const char *value)
Definition: ContextSummary.h:122
Aws::SageMaker::Model::ContextSummary::LastModifiedTimeHasBeenSet
bool LastModifiedTimeHasBeenSet() const
Definition: ContextSummary.h:236
Aws::SageMaker::Model::ContextSummary::SetLastModifiedTime
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: ContextSummary.h:246
Aws::SageMaker::Model::ContextSummary::WithContextType
ContextSummary & WithContextType(Aws::String &&value)
Definition: ContextSummary.h:189
Aws::SageMaker::Model::ContextSummary::WithContextType
ContextSummary & WithContextType(const char *value)
Definition: ContextSummary.h:194
Aws::SageMaker::Model::ContextSummary::WithCreationTime
ContextSummary & WithCreationTime(Aws::Utils::DateTime &&value)
Definition: ContextSummary.h:225
Aws::SageMaker::Model::ContextSummary::GetContextType
const Aws::String & GetContextType() const
Definition: ContextSummary.h:159
Aws::SageMaker::Model::ContextSummary::SetCreationTime
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition: ContextSummary.h:210
Aws::SageMaker::Model::ContextSummary::SetContextName
void SetContextName(Aws::String &&value)
Definition: ContextSummary.h:102
Aws::SageMaker::Model::ContextSummary::SetContextArn
void SetContextArn(Aws::String &&value)
Definition: ContextSummary.h:61
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::ContextSummary::SetSource
void SetSource(ContextSource &&value)
Definition: ContextSummary.h:143
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ContextSummary::WithContextType
ContextSummary & WithContextType(const Aws::String &value)
Definition: ContextSummary.h:184
Aws::SageMaker::Model::ContextSummary::SourceHasBeenSet
bool SourceHasBeenSet() const
Definition: ContextSummary.h:133
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::ContextSummary::SetContextType
void SetContextType(const Aws::String &value)
Definition: ContextSummary.h:169
Aws::SageMaker::Model::ContextSummary::WithLastModifiedTime
ContextSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
Definition: ContextSummary.h:256
Aws::SageMaker::Model::ContextSummary::SetContextType
void SetContextType(Aws::String &&value)
Definition: ContextSummary.h:174
Aws::SageMaker::Model::ContextSummary::GetLastModifiedTime
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition: ContextSummary.h:231
Aws::SageMaker::Model::ContextSummary::WithContextArn
ContextSummary & WithContextArn(Aws::String &&value)
Definition: ContextSummary.h:76
Aws::SageMaker::Model::ContextSummary::SetContextArn
void SetContextArn(const Aws::String &value)
Definition: ContextSummary.h:56
Aws::SageMaker::Model::ContextSource
Definition: ContextSource.h:32
Aws::SageMaker::Model::ContextSummary::SetContextName
void SetContextName(const char *value)
Definition: ContextSummary.h:107
Aws::SageMaker::Model::ContextSummary::SetLastModifiedTime
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
Definition: ContextSummary.h:241
Aws::SageMaker::Model::ContextSummary::WithContextArn
ContextSummary & WithContextArn(const Aws::String &value)
Definition: ContextSummary.h:71
Aws::SageMaker::Model::ContextSummary::SetContextType
void SetContextType(const char *value)
Definition: ContextSummary.h:179