AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename SchemaArnT = Aws::String>
49 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
50 template<typename SchemaArnT = Aws::String>
51 DatasetUpdateSummary& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetStatus() const { return m_status; }
59 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
60 template<typename StatusT = Aws::String>
61 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
62 template<typename StatusT = Aws::String>
63 DatasetUpdateSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
65
67
70 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
71 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
72 template<typename FailureReasonT = Aws::String>
73 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
74 template<typename FailureReasonT = Aws::String>
75 DatasetUpdateSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
77
79
82 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
83 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
84 template<typename CreationDateTimeT = Aws::Utils::DateTime>
85 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
86 template<typename CreationDateTimeT = Aws::Utils::DateTime>
87 DatasetUpdateSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
95 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
96 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
97 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
98 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
99 DatasetUpdateSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
101 private:
102
103 Aws::String m_schemaArn;
104 bool m_schemaArnHasBeenSet = false;
105
106 Aws::String m_status;
107 bool m_statusHasBeenSet = false;
108
109 Aws::String m_failureReason;
110 bool m_failureReasonHasBeenSet = false;
111
112 Aws::Utils::DateTime m_creationDateTime{};
113 bool m_creationDateTimeHasBeenSet = false;
114
115 Aws::Utils::DateTime m_lastUpdatedDateTime{};
116 bool m_lastUpdatedDateTimeHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Personalize
121} // namespace Aws
DatasetUpdateSummary & WithSchemaArn(SchemaArnT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetUpdateSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetUpdateSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API DatasetUpdateSummary()=default
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetUpdateSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetUpdateSummary & WithFailureReason(FailureReasonT &&value)
AWS_PERSONALIZE_API DatasetUpdateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API DatasetUpdateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue