AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DatasetGroupSummary.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 DatasetGroupSummary() = default;
40 AWS_PERSONALIZE_API DatasetGroupSummary(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 DatasetGroupSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetDatasetGroupArn() const { return m_datasetGroupArn; }
62 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
63 template<typename DatasetGroupArnT = Aws::String>
64 void SetDatasetGroupArn(DatasetGroupArnT&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::forward<DatasetGroupArnT>(value); }
65 template<typename DatasetGroupArnT = Aws::String>
66 DatasetGroupSummary& WithDatasetGroupArn(DatasetGroupArnT&& value) { SetDatasetGroupArn(std::forward<DatasetGroupArnT>(value)); return *this;}
68
70
75 inline const Aws::String& GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 template<typename StatusT = Aws::String>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
79 template<typename StatusT = Aws::String>
80 DatasetGroupSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
88 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
89 template<typename CreationDateTimeT = Aws::Utils::DateTime>
90 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
91 template<typename CreationDateTimeT = Aws::Utils::DateTime>
92 DatasetGroupSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
94
96
99 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
100 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
101 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
102 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
103 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
104 DatasetGroupSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
106
108
111 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
112 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
113 template<typename FailureReasonT = Aws::String>
114 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
115 template<typename FailureReasonT = Aws::String>
116 DatasetGroupSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
118
120
123 inline Domain GetDomain() const { return m_domain; }
124 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
125 inline void SetDomain(Domain value) { m_domainHasBeenSet = true; m_domain = value; }
126 inline DatasetGroupSummary& WithDomain(Domain value) { SetDomain(value); return *this;}
128 private:
129
130 Aws::String m_name;
131 bool m_nameHasBeenSet = false;
132
133 Aws::String m_datasetGroupArn;
134 bool m_datasetGroupArnHasBeenSet = false;
135
136 Aws::String m_status;
137 bool m_statusHasBeenSet = false;
138
139 Aws::Utils::DateTime m_creationDateTime{};
140 bool m_creationDateTimeHasBeenSet = false;
141
142 Aws::Utils::DateTime m_lastUpdatedDateTime{};
143 bool m_lastUpdatedDateTimeHasBeenSet = false;
144
145 Aws::String m_failureReason;
146 bool m_failureReasonHasBeenSet = false;
147
148 Domain m_domain{Domain::NOT_SET};
149 bool m_domainHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace Personalize
154} // namespace Aws
void SetCreationDateTime(CreationDateTimeT &&value)
DatasetGroupSummary & WithName(NameT &&value)
DatasetGroupSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PERSONALIZE_API DatasetGroupSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetGroupSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
DatasetGroupSummary & WithFailureReason(FailureReasonT &&value)
DatasetGroupSummary & WithStatus(StatusT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API DatasetGroupSummary()=default
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_PERSONALIZE_API DatasetGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatasetGroupArn(DatasetGroupArnT &&value)
DatasetGroupSummary & WithDomain(Domain value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetGroupSummary & WithDatasetGroupArn(DatasetGroupArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue