AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContextSummary.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/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API ContextSummary() = default;
38 AWS_SAGEMAKER_API ContextSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetContextArn() const { return m_contextArn; }
48 inline bool ContextArnHasBeenSet() const { return m_contextArnHasBeenSet; }
49 template<typename ContextArnT = Aws::String>
50 void SetContextArn(ContextArnT&& value) { m_contextArnHasBeenSet = true; m_contextArn = std::forward<ContextArnT>(value); }
51 template<typename ContextArnT = Aws::String>
52 ContextSummary& WithContextArn(ContextArnT&& value) { SetContextArn(std::forward<ContextArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetContextName() const { return m_contextName; }
60 inline bool ContextNameHasBeenSet() const { return m_contextNameHasBeenSet; }
61 template<typename ContextNameT = Aws::String>
62 void SetContextName(ContextNameT&& value) { m_contextNameHasBeenSet = true; m_contextName = std::forward<ContextNameT>(value); }
63 template<typename ContextNameT = Aws::String>
64 ContextSummary& WithContextName(ContextNameT&& value) { SetContextName(std::forward<ContextNameT>(value)); return *this;}
66
68
71 inline const ContextSource& GetSource() const { return m_source; }
72 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
73 template<typename SourceT = ContextSource>
74 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
75 template<typename SourceT = ContextSource>
76 ContextSummary& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
78
80
83 inline const Aws::String& GetContextType() const { return m_contextType; }
84 inline bool ContextTypeHasBeenSet() const { return m_contextTypeHasBeenSet; }
85 template<typename ContextTypeT = Aws::String>
86 void SetContextType(ContextTypeT&& value) { m_contextTypeHasBeenSet = true; m_contextType = std::forward<ContextTypeT>(value); }
87 template<typename ContextTypeT = Aws::String>
88 ContextSummary& WithContextType(ContextTypeT&& value) { SetContextType(std::forward<ContextTypeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template<typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
99 template<typename CreationTimeT = Aws::Utils::DateTime>
100 ContextSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
108 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
109 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
110 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
111 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
112 ContextSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
114 private:
115
116 Aws::String m_contextArn;
117 bool m_contextArnHasBeenSet = false;
118
119 Aws::String m_contextName;
120 bool m_contextNameHasBeenSet = false;
121
122 ContextSource m_source;
123 bool m_sourceHasBeenSet = false;
124
125 Aws::String m_contextType;
126 bool m_contextTypeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_creationTime{};
129 bool m_creationTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastModifiedTime{};
132 bool m_lastModifiedTimeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace SageMaker
137} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
ContextSummary & WithSource(SourceT &&value)
void SetContextType(ContextTypeT &&value)
ContextSummary & WithContextName(ContextNameT &&value)
AWS_SAGEMAKER_API ContextSummary()=default
AWS_SAGEMAKER_API ContextSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContextArn(ContextArnT &&value)
void SetContextName(ContextNameT &&value)
const Aws::String & GetContextType() const
ContextSummary & WithContextArn(ContextArnT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
ContextSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
ContextSummary & WithContextType(ContextTypeT &&value)
const ContextSource & GetSource() const
const Aws::String & GetContextName() const
ContextSummary & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetContextArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
AWS_SAGEMAKER_API ContextSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue