AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetSchemaSummary.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
37 {
38 public:
39 AWS_PERSONALIZE_API DatasetSchemaSummary() = default;
40 AWS_PERSONALIZE_API DatasetSchemaSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const { return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 DatasetSchemaSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
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) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
65 template<typename SchemaArnT = Aws::String>
66 DatasetSchemaSummary& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
68
70
73 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
74 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
75 template<typename CreationDateTimeT = Aws::Utils::DateTime>
76 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
77 template<typename CreationDateTimeT = Aws::Utils::DateTime>
78 DatasetSchemaSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
86 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
87 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
88 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
89 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
90 DatasetSchemaSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
92
94
98 inline Domain GetDomain() const { return m_domain; }
99 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
100 inline void SetDomain(Domain value) { m_domainHasBeenSet = true; m_domain = value; }
101 inline DatasetSchemaSummary& WithDomain(Domain value) { SetDomain(value); return *this;}
103 private:
104
105 Aws::String m_name;
106 bool m_nameHasBeenSet = false;
107
108 Aws::String m_schemaArn;
109 bool m_schemaArnHasBeenSet = false;
110
111 Aws::Utils::DateTime m_creationDateTime{};
112 bool m_creationDateTimeHasBeenSet = false;
113
114 Aws::Utils::DateTime m_lastUpdatedDateTime{};
115 bool m_lastUpdatedDateTimeHasBeenSet = false;
116
117 Domain m_domain{Domain::NOT_SET};
118 bool m_domainHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Personalize
123} // 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