AWS SDK for C++  1.9.109
AWS SDK for C++
DatasetSchema.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline DatasetSchema& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline DatasetSchema& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline DatasetSchema& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
87 
91  inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
92 
96  inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
97 
101  inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
102 
106  inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
107 
111  inline DatasetSchema& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
112 
116  inline DatasetSchema& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
117 
121  inline DatasetSchema& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
122 
123 
127  inline const Aws::String& GetSchema() const{ return m_schema; }
128 
132  inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
133 
137  inline void SetSchema(const Aws::String& value) { m_schemaHasBeenSet = true; m_schema = value; }
138 
142  inline void SetSchema(Aws::String&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
143 
147  inline void SetSchema(const char* value) { m_schemaHasBeenSet = true; m_schema.assign(value); }
148 
152  inline DatasetSchema& WithSchema(const Aws::String& value) { SetSchema(value); return *this;}
153 
157  inline DatasetSchema& WithSchema(Aws::String&& value) { SetSchema(std::move(value)); return *this;}
158 
162  inline DatasetSchema& WithSchema(const char* value) { SetSchema(value); return *this;}
163 
164 
168  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
169 
173  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
174 
178  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
179 
183  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
184 
188  inline DatasetSchema& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
189 
193  inline DatasetSchema& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
194 
195 
199  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
200 
204  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
205 
209  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
210 
214  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
215 
219  inline DatasetSchema& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
220 
224  inline DatasetSchema& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
225 
226  private:
227 
228  Aws::String m_name;
229  bool m_nameHasBeenSet;
230 
231  Aws::String m_schemaArn;
232  bool m_schemaArnHasBeenSet;
233 
234  Aws::String m_schema;
235  bool m_schemaHasBeenSet;
236 
237  Aws::Utils::DateTime m_creationDateTime;
238  bool m_creationDateTimeHasBeenSet;
239 
240  Aws::Utils::DateTime m_lastUpdatedDateTime;
241  bool m_lastUpdatedDateTimeHasBeenSet;
242  };
243 
244 } // namespace Model
245 } // namespace Personalize
246 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::DatasetSchema::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: DatasetSchema.h:199
Aws::Personalize::Model::DatasetSchema::SetName
void SetName(Aws::String &&value)
Definition: DatasetSchema.h:60
Aws::Personalize::Model::DatasetSchema::WithLastUpdatedDateTime
DatasetSchema & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSchema.h:224
Aws::Personalize::Model::DatasetSchema::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: DatasetSchema.h:204
Aws::Personalize::Model::DatasetSchema::GetName
const Aws::String & GetName() const
Definition: DatasetSchema.h:45
Aws::Personalize::Model::DatasetSchema::SetSchema
void SetSchema(const char *value)
Definition: DatasetSchema.h:147
Aws::Personalize::Model::DatasetSchema::GetSchema
const Aws::String & GetSchema() const
Definition: DatasetSchema.h:127
Aws::Personalize::Model::DatasetSchema::WithName
DatasetSchema & WithName(const Aws::String &value)
Definition: DatasetSchema.h:70
Aws::Personalize::Model::DatasetSchema::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: DatasetSchema.h:173
DateTime.h
Aws::Personalize::Model::DatasetSchema::operator=
DatasetSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::DatasetSchema::WithName
DatasetSchema & WithName(const char *value)
Definition: DatasetSchema.h:80
Aws::Personalize::Model::DatasetSchema::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DatasetSchema.h:50
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::DatasetSchema::WithName
DatasetSchema & WithName(Aws::String &&value)
Definition: DatasetSchema.h:75
Aws::Personalize::Model::DatasetSchema::WithSchema
DatasetSchema & WithSchema(const Aws::String &value)
Definition: DatasetSchema.h:152
Aws::Personalize::Model::DatasetSchema::WithSchema
DatasetSchema & WithSchema(const char *value)
Definition: DatasetSchema.h:162
Aws::Personalize::Model::DatasetSchema::SetSchema
void SetSchema(Aws::String &&value)
Definition: DatasetSchema.h:142
Aws::Personalize::Model::DatasetSchema::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSchema.h:209
Aws::Personalize::Model::DatasetSchema::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::DatasetSchema::WithSchemaArn
DatasetSchema & WithSchemaArn(const Aws::String &value)
Definition: DatasetSchema.h:111
Aws::Personalize::Model::DatasetSchema::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSchema.h:214
Aws::Personalize::Model::DatasetSchema::WithSchema
DatasetSchema & WithSchema(Aws::String &&value)
Definition: DatasetSchema.h:157
Aws::Personalize::Model::DatasetSchema::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSchema.h:178
Aws::Personalize::Model::DatasetSchema::SetSchemaArn
void SetSchemaArn(Aws::String &&value)
Definition: DatasetSchema.h:101
Aws::Personalize::Model::DatasetSchema::SetSchema
void SetSchema(const Aws::String &value)
Definition: DatasetSchema.h:137
Aws::Personalize::Model::DatasetSchema::SetSchemaArn
void SetSchemaArn(const char *value)
Definition: DatasetSchema.h:106
Aws::Personalize::Model::DatasetSchema::SchemaHasBeenSet
bool SchemaHasBeenSet() const
Definition: DatasetSchema.h:132
Aws::Personalize::Model::DatasetSchema::SchemaArnHasBeenSet
bool SchemaArnHasBeenSet() const
Definition: DatasetSchema.h:91
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Personalize::Model::DatasetSchema::SetName
void SetName(const Aws::String &value)
Definition: DatasetSchema.h:55
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::DatasetSchema::DatasetSchema
DatasetSchema()
Aws::Personalize::Model::DatasetSchema::WithSchemaArn
DatasetSchema & WithSchemaArn(Aws::String &&value)
Definition: DatasetSchema.h:116
Aws::Personalize::Model::DatasetSchema::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSchema.h:183
Aws::Personalize::Model::DatasetSchema::DatasetSchema
DatasetSchema(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::DatasetSchema::WithCreationDateTime
DatasetSchema & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSchema.h:188
Aws::Personalize::Model::DatasetSchema::WithLastUpdatedDateTime
DatasetSchema & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: DatasetSchema.h:219
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::DatasetSchema::GetSchemaArn
const Aws::String & GetSchemaArn() const
Definition: DatasetSchema.h:86
Aws::Personalize::Model::DatasetSchema::WithCreationDateTime
DatasetSchema & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: DatasetSchema.h:193
Aws::Personalize::Model::DatasetSchema::SetSchemaArn
void SetSchemaArn(const Aws::String &value)
Definition: DatasetSchema.h:96
Personalize_EXPORTS.h
Aws::Personalize::Model::DatasetSchema::WithSchemaArn
DatasetSchema & WithSchemaArn(const char *value)
Definition: DatasetSchema.h:121
Aws::Personalize::Model::DatasetSchema::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: DatasetSchema.h:168
Aws::Personalize::Model::DatasetSchema::SetName
void SetName(const char *value)
Definition: DatasetSchema.h:65
Aws::Personalize::Model::DatasetSchema
Definition: DatasetSchema.h:34