AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
51 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
52 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
53 inline DatasetSchema& WithName(const Aws::String& value) { SetName(value); return *this;}
54 inline DatasetSchema& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
55 inline DatasetSchema& WithName(const char* value) { SetName(value); return *this;}
57
59
62 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
63 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
64 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
65 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
66 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
67 inline DatasetSchema& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
68 inline DatasetSchema& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
69 inline DatasetSchema& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
71
73
76 inline const Aws::String& GetSchema() const{ return m_schema; }
77 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
78 inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
79 inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
80 inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
81 inline DatasetSchema& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
82 inline DatasetSchema& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
83 inline DatasetSchema& WithSchema(const char* value) { SetSchema(value); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
91 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
92 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
93 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
94 inline DatasetSchema& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
95 inline DatasetSchema& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
103 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
104 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
105 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
107 inline DatasetSchema& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
109
111
115 inline const Domain& GetDomain() const{ return m_domain; }
116 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
117 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
118 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
119 inline DatasetSchema& WithDomain(const Domain& value) { SetDomain(value); return *this;}
120 inline DatasetSchema& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
122 private:
123
124 Aws::String m_name;
125 bool m_nameHasBeenSet = false;
126
127 Aws::String m_schemaArn;
128 bool m_schemaArnHasBeenSet = false;
129
130 Aws::String m_schema;
131 bool m_schemaHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationDateTime;
134 bool m_creationDateTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedDateTime;
137 bool m_lastUpdatedDateTimeHasBeenSet = false;
138
139 Domain m_domain;
140 bool m_domainHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Personalize
145} // namespace Aws
DatasetSchema & WithSchemaArn(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetSchema & WithDomain(const Domain &value)
void SetSchema(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetSchemaArn(const char *value)
DatasetSchema & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetName(Aws::String &&value)
DatasetSchema & WithName(const Aws::String &value)
DatasetSchema & WithCreationDateTime(const Aws::Utils::DateTime &value)
DatasetSchema & WithSchemaArn(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetSchemaArn(Aws::String &&value)
DatasetSchema & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetSchema & WithSchema(const char *value)
const Aws::String & GetName() const
DatasetSchema & WithSchemaArn(const Aws::String &value)
DatasetSchema & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetSchema(Aws::String &&value)
AWS_PERSONALIZE_API DatasetSchema(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSchema() const
DatasetSchema & WithName(Aws::String &&value)
AWS_PERSONALIZE_API DatasetSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetName(const Aws::String &value)
const Aws::String & GetSchemaArn() const
void SetSchemaArn(const Aws::String &value)
DatasetSchema & WithName(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetDomain(const Domain &value)
DatasetSchema & WithSchema(Aws::String &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetSchema & WithSchema(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetSchema & WithDomain(Domain &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue