AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetSchema.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/personalize/model/Domain.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 Personalize
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_PERSONALIZE_API DatasetSchema() = default;
39 AWS_PERSONALIZE_API DatasetSchema(Aws::Utils::Json::JsonView jsonValue);
40 AWS_PERSONALIZE_API DatasetSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 template<typename NameT = Aws::String>
51 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
52 template<typename NameT = Aws::String>
53 DatasetSchema& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
61 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
62 template<typename SchemaArnT = Aws::String>
63 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
64 template<typename SchemaArnT = Aws::String>
65 DatasetSchema& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
67
69
72 inline const Aws::String& GetSchema() const { return m_schema; }
73 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
74 template<typename SchemaT = Aws::String>
75 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
76 template<typename SchemaT = Aws::String>
77 DatasetSchema& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
85 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
86 template<typename CreationDateTimeT = Aws::Utils::DateTime>
87 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
88 template<typename CreationDateTimeT = Aws::Utils::DateTime>
89 DatasetSchema& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
97 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
98 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
99 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
100 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
101 DatasetSchema& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
103
105
109 inline Domain GetDomain() const { return m_domain; }
110 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
111 inline void SetDomain(Domain value) { m_domainHasBeenSet = true; m_domain = value; }
112 inline DatasetSchema& WithDomain(Domain value) { SetDomain(value); return *this;}
114 private:
115
116 Aws::String m_name;
117 bool m_nameHasBeenSet = false;
118
119 Aws::String m_schemaArn;
120 bool m_schemaArnHasBeenSet = false;
121
122 Aws::String m_schema;
123 bool m_schemaHasBeenSet = false;
124
125 Aws::Utils::DateTime m_creationDateTime{};
126 bool m_creationDateTimeHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedDateTime{};
129 bool m_lastUpdatedDateTimeHasBeenSet = false;
130
131 Domain m_domain{Domain::NOT_SET};
132 bool m_domainHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace Personalize
137} // namespace Aws
AWS_PERSONALIZE_API DatasetSchema()=default
DatasetSchema & WithCreationDateTime(CreationDateTimeT &&value)
DatasetSchema & WithSchema(SchemaT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetName() const
DatasetSchema & WithName(NameT &&value)
AWS_PERSONALIZE_API DatasetSchema(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(CreationDateTimeT &&value)
DatasetSchema & WithDomain(Domain value)
const Aws::String & GetSchema() const
AWS_PERSONALIZE_API DatasetSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
DatasetSchema & WithSchemaArn(SchemaArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetSchemaArn() const
DatasetSchema & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetSchemaArn(SchemaArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue