AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DatasetSchemaSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/Personalize_EXPORTS.h>
10#include <aws/personalize/model/Domain.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Personalize {
22namespace Model {
23
33 public:
34 AWS_PERSONALIZE_API DatasetSchemaSummary() = default;
35 AWS_PERSONALIZE_API DatasetSchemaSummary(Aws::Utils::Json::JsonView jsonValue);
37 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
62 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
63 template <typename SchemaArnT = Aws::String>
64 void SetSchemaArn(SchemaArnT&& value) {
65 m_schemaArnHasBeenSet = true;
66 m_schemaArn = std::forward<SchemaArnT>(value);
67 }
68 template <typename SchemaArnT = Aws::String>
69 DatasetSchemaSummary& WithSchemaArn(SchemaArnT&& value) {
70 SetSchemaArn(std::forward<SchemaArnT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
80 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
81 template <typename CreationDateTimeT = Aws::Utils::DateTime>
82 void SetCreationDateTime(CreationDateTimeT&& value) {
83 m_creationDateTimeHasBeenSet = true;
84 m_creationDateTime = std::forward<CreationDateTimeT>(value);
85 }
86 template <typename CreationDateTimeT = Aws::Utils::DateTime>
87 DatasetSchemaSummary& WithCreationDateTime(CreationDateTimeT&& value) {
88 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
98 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
99 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
100 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
101 m_lastUpdatedDateTimeHasBeenSet = true;
102 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
103 }
104 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
105 DatasetSchemaSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
106 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
107 return *this;
108 }
110
112
116 inline Domain GetDomain() const { return m_domain; }
117 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
118 inline void SetDomain(Domain value) {
119 m_domainHasBeenSet = true;
120 m_domain = value;
121 }
123 SetDomain(value);
124 return *this;
125 }
127 private:
128 Aws::String m_name;
129
130 Aws::String m_schemaArn;
131
132 Aws::Utils::DateTime m_creationDateTime{};
133
134 Aws::Utils::DateTime m_lastUpdatedDateTime{};
135
136 Domain m_domain{Domain::NOT_SET};
137 bool m_nameHasBeenSet = false;
138 bool m_schemaArnHasBeenSet = false;
139 bool m_creationDateTimeHasBeenSet = false;
140 bool m_lastUpdatedDateTimeHasBeenSet = false;
141 bool m_domainHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Personalize
146} // namespace Aws
AWS_PERSONALIZE_API DatasetSchemaSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetSchemaSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetSchemaSummary & WithDomain(Domain value)
AWS_PERSONALIZE_API DatasetSchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSchemaSummary & WithSchemaArn(SchemaArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetSchemaSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API DatasetSchemaSummary()=default
DatasetSchemaSummary & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue