AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline DatasetGroupSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline DatasetGroupSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline DatasetGroupSummary& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
64 inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
65 inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
66 inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
67 inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
68 inline DatasetGroupSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
69 inline DatasetGroupSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
70 inline DatasetGroupSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
72
74
79 inline const Aws::String& GetStatus() const{ return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
82 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
83 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
84 inline DatasetGroupSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
85 inline DatasetGroupSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
86 inline DatasetGroupSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
88
90
93 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
94 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
95 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
96 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
98 inline DatasetGroupSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
100
102
105 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
106 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
107 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
108 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
112
114
117 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
118 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
119 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
120 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
121 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
122 inline DatasetGroupSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
123 inline DatasetGroupSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
124 inline DatasetGroupSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
126
128
131 inline const Domain& GetDomain() const{ return m_domain; }
132 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
133 inline void SetDomain(const Domain& value) { m_domainHasBeenSet = true; m_domain = value; }
134 inline void SetDomain(Domain&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
135 inline DatasetGroupSummary& WithDomain(const Domain& value) { SetDomain(value); return *this;}
136 inline DatasetGroupSummary& WithDomain(Domain&& value) { SetDomain(std::move(value)); return *this;}
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_datasetGroupArn;
144 bool m_datasetGroupArnHasBeenSet = false;
145
146 Aws::String m_status;
147 bool m_statusHasBeenSet = false;
148
149 Aws::Utils::DateTime m_creationDateTime;
150 bool m_creationDateTimeHasBeenSet = false;
151
152 Aws::Utils::DateTime m_lastUpdatedDateTime;
153 bool m_lastUpdatedDateTimeHasBeenSet = false;
154
155 Aws::String m_failureReason;
156 bool m_failureReasonHasBeenSet = false;
157
158 Domain m_domain;
159 bool m_domainHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace Personalize
164} // namespace Aws
DatasetGroupSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
DatasetGroupSummary & WithStatus(const char *value)
DatasetGroupSummary & WithFailureReason(const char *value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
DatasetGroupSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
DatasetGroupSummary & WithDomain(const Domain &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetDatasetGroupArn(const Aws::String &value)
DatasetGroupSummary & WithFailureReason(const Aws::String &value)
AWS_PERSONALIZE_API DatasetGroupSummary(Aws::Utils::Json::JsonView jsonValue)
DatasetGroupSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
DatasetGroupSummary & WithDatasetGroupArn(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetFailureReason(const Aws::String &value)
DatasetGroupSummary & WithName(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
DatasetGroupSummary & WithStatus(Aws::String &&value)
AWS_PERSONALIZE_API DatasetGroupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
DatasetGroupSummary & WithDatasetGroupArn(const Aws::String &value)
DatasetGroupSummary & WithName(Aws::String &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetGroupSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
DatasetGroupSummary & WithDatasetGroupArn(const char *value)
DatasetGroupSummary & WithDomain(Domain &&value)
DatasetGroupSummary & WithFailureReason(Aws::String &&value)
DatasetGroupSummary & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
DatasetGroupSummary & WithStatus(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue