AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DatasetUpdateSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_PERSONALIZE_API DatasetUpdateSummary();
36 AWS_PERSONALIZE_API DatasetUpdateSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
47 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
48 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
49 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
50 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
51 inline DatasetUpdateSummary& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
52 inline DatasetUpdateSummary& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
53 inline DatasetUpdateSummary& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
55
57
60 inline const Aws::String& GetStatus() const{ return m_status; }
61 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
62 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
63 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
64 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
65 inline DatasetUpdateSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
66 inline DatasetUpdateSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
67 inline DatasetUpdateSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
69
71
74 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
75 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
76 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
77 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
78 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
79 inline DatasetUpdateSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
80 inline DatasetUpdateSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
81 inline DatasetUpdateSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
89 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
90 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
91 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
93 inline DatasetUpdateSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
101 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
102 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
103 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
107 private:
108
109 Aws::String m_schemaArn;
110 bool m_schemaArnHasBeenSet = false;
111
112 Aws::String m_status;
113 bool m_statusHasBeenSet = false;
114
115 Aws::String m_failureReason;
116 bool m_failureReasonHasBeenSet = false;
117
118 Aws::Utils::DateTime m_creationDateTime;
119 bool m_creationDateTimeHasBeenSet = false;
120
121 Aws::Utils::DateTime m_lastUpdatedDateTime;
122 bool m_lastUpdatedDateTimeHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Personalize
127} // namespace Aws
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DatasetUpdateSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetUpdateSummary & WithSchemaArn(const Aws::String &value)
DatasetUpdateSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetUpdateSummary & WithStatus(const Aws::String &value)
DatasetUpdateSummary & WithSchemaArn(const char *value)
DatasetUpdateSummary & WithFailureReason(const Aws::String &value)
DatasetUpdateSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetUpdateSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
DatasetUpdateSummary & WithFailureReason(const char *value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DatasetUpdateSummary & WithStatus(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetUpdateSummary & WithSchemaArn(Aws::String &&value)
AWS_PERSONALIZE_API DatasetUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetUpdateSummary & WithFailureReason(Aws::String &&value)
AWS_PERSONALIZE_API DatasetUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetUpdateSummary & WithStatus(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue