AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetContextArn(const Aws::String& value) { m_contextArnHasBeenSet = true; m_contextArn = value; }
50 inline void SetContextArn(Aws::String&& value) { m_contextArnHasBeenSet = true; m_contextArn = std::move(value); }
51 inline void SetContextArn(const char* value) { m_contextArnHasBeenSet = true; m_contextArn.assign(value); }
52 inline ContextSummary& WithContextArn(const Aws::String& value) { SetContextArn(value); return *this;}
53 inline ContextSummary& WithContextArn(Aws::String&& value) { SetContextArn(std::move(value)); return *this;}
54 inline ContextSummary& WithContextArn(const char* value) { SetContextArn(value); return *this;}
56
58
61 inline const Aws::String& GetContextName() const{ return m_contextName; }
62 inline bool ContextNameHasBeenSet() const { return m_contextNameHasBeenSet; }
63 inline void SetContextName(const Aws::String& value) { m_contextNameHasBeenSet = true; m_contextName = value; }
64 inline void SetContextName(Aws::String&& value) { m_contextNameHasBeenSet = true; m_contextName = std::move(value); }
65 inline void SetContextName(const char* value) { m_contextNameHasBeenSet = true; m_contextName.assign(value); }
66 inline ContextSummary& WithContextName(const Aws::String& value) { SetContextName(value); return *this;}
67 inline ContextSummary& WithContextName(Aws::String&& value) { SetContextName(std::move(value)); return *this;}
68 inline ContextSummary& WithContextName(const char* value) { SetContextName(value); return *this;}
70
72
75 inline const ContextSource& GetSource() const{ return m_source; }
76 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
77 inline void SetSource(const ContextSource& value) { m_sourceHasBeenSet = true; m_source = value; }
78 inline void SetSource(ContextSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
79 inline ContextSummary& WithSource(const ContextSource& value) { SetSource(value); return *this;}
80 inline ContextSummary& WithSource(ContextSource&& value) { SetSource(std::move(value)); return *this;}
82
84
87 inline const Aws::String& GetContextType() const{ return m_contextType; }
88 inline bool ContextTypeHasBeenSet() const { return m_contextTypeHasBeenSet; }
89 inline void SetContextType(const Aws::String& value) { m_contextTypeHasBeenSet = true; m_contextType = value; }
90 inline void SetContextType(Aws::String&& value) { m_contextTypeHasBeenSet = true; m_contextType = std::move(value); }
91 inline void SetContextType(const char* value) { m_contextTypeHasBeenSet = true; m_contextType.assign(value); }
92 inline ContextSummary& WithContextType(const Aws::String& value) { SetContextType(value); return *this;}
93 inline ContextSummary& WithContextType(Aws::String&& value) { SetContextType(std::move(value)); return *this;}
94 inline ContextSummary& WithContextType(const char* value) { SetContextType(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
102 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
103 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
104 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
105 inline ContextSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
106 inline ContextSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
114 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
115 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
116 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
118 inline ContextSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
120 private:
121
122 Aws::String m_contextArn;
123 bool m_contextArnHasBeenSet = false;
124
125 Aws::String m_contextName;
126 bool m_contextNameHasBeenSet = false;
127
128 ContextSource m_source;
129 bool m_sourceHasBeenSet = false;
130
131 Aws::String m_contextType;
132 bool m_contextTypeHasBeenSet = false;
133
134 Aws::Utils::DateTime m_creationTime;
135 bool m_creationTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastModifiedTime;
138 bool m_lastModifiedTimeHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace SageMaker
143} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
ContextSummary & WithContextArn(const char *value)
ContextSummary & WithSource(const ContextSource &value)
ContextSummary & WithCreationTime(const Aws::Utils::DateTime &value)
ContextSummary & WithLastModifiedTime(Aws::Utils::DateTime &&value)
ContextSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetContextName(const char *value)
ContextSummary & WithContextType(const Aws::String &value)
ContextSummary & WithContextType(const char *value)
void SetContextName(Aws::String &&value)
AWS_SAGEMAKER_API ContextSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ContextSummary & WithContextName(const Aws::String &value)
void SetContextType(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
ContextSummary & WithContextType(Aws::String &&value)
void SetSource(const ContextSource &value)
ContextSummary & WithContextName(Aws::String &&value)
void SetContextName(const Aws::String &value)
const Aws::String & GetContextType() const
ContextSummary & WithContextArn(Aws::String &&value)
ContextSummary & WithLastModifiedTime(const Aws::Utils::DateTime &value)
void SetContextType(const char *value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
ContextSummary & WithContextName(const char *value)
void SetContextArn(const char *value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
void SetSource(ContextSource &&value)
const ContextSource & GetSource() const
ContextSummary & WithContextArn(const Aws::String &value)
const Aws::String & GetContextName() const
void SetContextType(const Aws::String &value)
void SetContextArn(const Aws::String &value)
const Aws::String & GetContextArn() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetContextArn(Aws::String &&value)
ContextSummary & WithSource(ContextSource &&value)
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