AWS SDK for C++  1.9.108
AWS SDK for C++
FilterSummary.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Personalize
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetName() const{ return m_name; }
45 
49  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
50 
54  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 
59  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
60 
64  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 
69  inline FilterSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
70 
74  inline FilterSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 
79  inline FilterSummary& WithName(const char* value) { SetName(value); return *this;}
80 
81 
85  inline const Aws::String& GetFilterArn() const{ return m_filterArn; }
86 
90  inline bool FilterArnHasBeenSet() const { return m_filterArnHasBeenSet; }
91 
95  inline void SetFilterArn(const Aws::String& value) { m_filterArnHasBeenSet = true; m_filterArn = value; }
96 
100  inline void SetFilterArn(Aws::String&& value) { m_filterArnHasBeenSet = true; m_filterArn = std::move(value); }
101 
105  inline void SetFilterArn(const char* value) { m_filterArnHasBeenSet = true; m_filterArn.assign(value); }
106 
110  inline FilterSummary& WithFilterArn(const Aws::String& value) { SetFilterArn(value); return *this;}
111 
115  inline FilterSummary& WithFilterArn(Aws::String&& value) { SetFilterArn(std::move(value)); return *this;}
116 
120  inline FilterSummary& WithFilterArn(const char* value) { SetFilterArn(value); return *this;}
121 
122 
126  inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
127 
131  inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
132 
136  inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
137 
141  inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
142 
146  inline FilterSummary& WithCreationDateTime(const Aws::Utils::DateTime& value) { SetCreationDateTime(value); return *this;}
147 
151  inline FilterSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
152 
153 
157  inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
158 
162  inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
163 
167  inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
168 
172  inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
173 
177  inline FilterSummary& WithLastUpdatedDateTime(const Aws::Utils::DateTime& value) { SetLastUpdatedDateTime(value); return *this;}
178 
182  inline FilterSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
183 
184 
188  inline const Aws::String& GetDatasetGroupArn() const{ return m_datasetGroupArn; }
189 
193  inline bool DatasetGroupArnHasBeenSet() const { return m_datasetGroupArnHasBeenSet; }
194 
198  inline void SetDatasetGroupArn(const Aws::String& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = value; }
199 
203  inline void SetDatasetGroupArn(Aws::String&& value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn = std::move(value); }
204 
208  inline void SetDatasetGroupArn(const char* value) { m_datasetGroupArnHasBeenSet = true; m_datasetGroupArn.assign(value); }
209 
213  inline FilterSummary& WithDatasetGroupArn(const Aws::String& value) { SetDatasetGroupArn(value); return *this;}
214 
218  inline FilterSummary& WithDatasetGroupArn(Aws::String&& value) { SetDatasetGroupArn(std::move(value)); return *this;}
219 
223  inline FilterSummary& WithDatasetGroupArn(const char* value) { SetDatasetGroupArn(value); return *this;}
224 
225 
229  inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
230 
234  inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
235 
239  inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
240 
244  inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
245 
249  inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
250 
254  inline FilterSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
255 
259  inline FilterSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
260 
264  inline FilterSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
265 
266 
270  inline const Aws::String& GetStatus() const{ return m_status; }
271 
275  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
276 
280  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
281 
285  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
286 
290  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
291 
295  inline FilterSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
296 
300  inline FilterSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
301 
305  inline FilterSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
306 
307  private:
308 
309  Aws::String m_name;
310  bool m_nameHasBeenSet;
311 
312  Aws::String m_filterArn;
313  bool m_filterArnHasBeenSet;
314 
315  Aws::Utils::DateTime m_creationDateTime;
316  bool m_creationDateTimeHasBeenSet;
317 
318  Aws::Utils::DateTime m_lastUpdatedDateTime;
319  bool m_lastUpdatedDateTimeHasBeenSet;
320 
321  Aws::String m_datasetGroupArn;
322  bool m_datasetGroupArnHasBeenSet;
323 
324  Aws::String m_failureReason;
325  bool m_failureReasonHasBeenSet;
326 
327  Aws::String m_status;
328  bool m_statusHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace Personalize
333 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Personalize::Model::FilterSummary::WithStatus
FilterSummary & WithStatus(const Aws::String &value)
Definition: FilterSummary.h:295
Aws::Personalize::Model::FilterSummary::LastUpdatedDateTimeHasBeenSet
bool LastUpdatedDateTimeHasBeenSet() const
Definition: FilterSummary.h:162
Aws::Personalize::Model::FilterSummary::SetName
void SetName(Aws::String &&value)
Definition: FilterSummary.h:59
Aws::Personalize::Model::FilterSummary::SetCreationDateTime
void SetCreationDateTime(const Aws::Utils::DateTime &value)
Definition: FilterSummary.h:136
Aws::Personalize::Model::FilterSummary::WithDatasetGroupArn
FilterSummary & WithDatasetGroupArn(const char *value)
Definition: FilterSummary.h:223
Aws::Personalize::Model::FilterSummary::SetFilterArn
void SetFilterArn(Aws::String &&value)
Definition: FilterSummary.h:100
Aws::Personalize::Model::FilterSummary::WithCreationDateTime
FilterSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
Definition: FilterSummary.h:146
Aws::Personalize::Model::FilterSummary::GetName
const Aws::String & GetName() const
Definition: FilterSummary.h:44
Aws::Personalize::Model::FilterSummary::WithStatus
FilterSummary & WithStatus(const char *value)
Definition: FilterSummary.h:305
Aws::Personalize::Model::FilterSummary::SetDatasetGroupArn
void SetDatasetGroupArn(Aws::String &&value)
Definition: FilterSummary.h:203
Aws::Personalize::Model::FilterSummary::WithFailureReason
FilterSummary & WithFailureReason(Aws::String &&value)
Definition: FilterSummary.h:259
Aws::Personalize::Model::FilterSummary::SetFailureReason
void SetFailureReason(Aws::String &&value)
Definition: FilterSummary.h:244
DateTime.h
Aws::Personalize::Model::FilterSummary::SetName
void SetName(const char *value)
Definition: FilterSummary.h:64
Aws::Personalize::Model::FilterSummary::GetStatus
const Aws::String & GetStatus() const
Definition: FilterSummary.h:270
Aws::Personalize::Model::FilterSummary::SetStatus
void SetStatus(const Aws::String &value)
Definition: FilterSummary.h:280
Aws::Personalize::Model::FilterSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: FilterSummary.h:172
AWS_PERSONALIZE_API
#define AWS_PERSONALIZE_API
Definition: Personalize_EXPORTS.h:28
Aws::Personalize::Model::FilterSummary::WithDatasetGroupArn
FilterSummary & WithDatasetGroupArn(Aws::String &&value)
Definition: FilterSummary.h:218
Aws::Personalize::Model::FilterSummary::DatasetGroupArnHasBeenSet
bool DatasetGroupArnHasBeenSet() const
Definition: FilterSummary.h:193
Aws::Personalize::Model::FilterSummary::FilterSummary
FilterSummary()
Aws::Personalize::Model::FilterSummary::SetFailureReason
void SetFailureReason(const char *value)
Definition: FilterSummary.h:249
Aws::Personalize::Model::FilterSummary::SetFilterArn
void SetFilterArn(const char *value)
Definition: FilterSummary.h:105
Aws::Personalize::Model::FilterSummary::WithLastUpdatedDateTime
FilterSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: FilterSummary.h:177
Aws::Personalize::Model::FilterSummary::WithFailureReason
FilterSummary & WithFailureReason(const char *value)
Definition: FilterSummary.h:264
Aws::Personalize::Model::FilterSummary::WithStatus
FilterSummary & WithStatus(Aws::String &&value)
Definition: FilterSummary.h:300
Aws::Personalize::Model::FilterSummary::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: FilterSummary.h:275
Aws::Personalize::Model::FilterSummary::GetFilterArn
const Aws::String & GetFilterArn() const
Definition: FilterSummary.h:85
Aws::Personalize::Model::FilterSummary::WithName
FilterSummary & WithName(Aws::String &&value)
Definition: FilterSummary.h:74
Aws::Personalize::Model::FilterSummary::FilterSummary
FilterSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Personalize::Model::FilterSummary::WithDatasetGroupArn
FilterSummary & WithDatasetGroupArn(const Aws::String &value)
Definition: FilterSummary.h:213
Aws::Personalize::Model::FilterSummary::SetFailureReason
void SetFailureReason(const Aws::String &value)
Definition: FilterSummary.h:239
Aws::Personalize::Model::FilterSummary::WithCreationDateTime
FilterSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
Definition: FilterSummary.h:151
Aws::Personalize::Model::FilterSummary::WithFilterArn
FilterSummary & WithFilterArn(Aws::String &&value)
Definition: FilterSummary.h:115
Aws::Personalize::Model::FilterSummary::WithName
FilterSummary & WithName(const char *value)
Definition: FilterSummary.h:79
Aws::Personalize::Model::FilterSummary::GetCreationDateTime
const Aws::Utils::DateTime & GetCreationDateTime() const
Definition: FilterSummary.h:126
Aws::Personalize::Model::FilterSummary::operator=
FilterSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Personalize::Model::FilterSummary::CreationDateTimeHasBeenSet
bool CreationDateTimeHasBeenSet() const
Definition: FilterSummary.h:131
Aws::Personalize::Model::FilterSummary::SetName
void SetName(const Aws::String &value)
Definition: FilterSummary.h:54
Aws::Personalize::Model::FilterSummary::SetStatus
void SetStatus(const char *value)
Definition: FilterSummary.h:290
Aws::Personalize::Model::FilterSummary::SetDatasetGroupArn
void SetDatasetGroupArn(const Aws::String &value)
Definition: FilterSummary.h:198
Aws::Personalize::Model::FilterSummary::WithLastUpdatedDateTime
FilterSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition: FilterSummary.h:182
Aws::Personalize::Model::FilterSummary::WithFailureReason
FilterSummary & WithFailureReason(const Aws::String &value)
Definition: FilterSummary.h:254
Aws::Personalize::Model::FilterSummary::GetDatasetGroupArn
const Aws::String & GetDatasetGroupArn() const
Definition: FilterSummary.h:188
Aws::Personalize::Model::FilterSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Personalize::Model::FilterSummary::WithFilterArn
FilterSummary & WithFilterArn(const char *value)
Definition: FilterSummary.h:120
Aws::Personalize::Model::FilterSummary::SetLastUpdatedDateTime
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition: FilterSummary.h:167
Aws::Personalize::Model::FilterSummary::SetCreationDateTime
void SetCreationDateTime(Aws::Utils::DateTime &&value)
Definition: FilterSummary.h:141
Aws::Personalize::Model::FilterSummary::WithFilterArn
FilterSummary & WithFilterArn(const Aws::String &value)
Definition: FilterSummary.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::Personalize::Model::FilterSummary::SetFilterArn
void SetFilterArn(const Aws::String &value)
Definition: FilterSummary.h:95
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Personalize::Model::FilterSummary::GetLastUpdatedDateTime
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition: FilterSummary.h:157
Aws::Personalize::Model::FilterSummary::FilterArnHasBeenSet
bool FilterArnHasBeenSet() const
Definition: FilterSummary.h:90
Aws::Personalize::Model::FilterSummary::SetStatus
void SetStatus(Aws::String &&value)
Definition: FilterSummary.h:285
Personalize_EXPORTS.h
Aws::Personalize::Model::FilterSummary::FailureReasonHasBeenSet
bool FailureReasonHasBeenSet() const
Definition: FilterSummary.h:234
Aws::Personalize::Model::FilterSummary::WithName
FilterSummary & WithName(const Aws::String &value)
Definition: FilterSummary.h:69
Aws::Personalize::Model::FilterSummary::NameHasBeenSet
bool NameHasBeenSet() const
Definition: FilterSummary.h:49
Aws::Personalize::Model::FilterSummary
Definition: FilterSummary.h:33
Aws::Personalize::Model::FilterSummary::GetFailureReason
const Aws::String & GetFailureReason() const
Definition: FilterSummary.h:229
Aws::Personalize::Model::FilterSummary::SetDatasetGroupArn
void SetDatasetGroupArn(const char *value)
Definition: FilterSummary.h:208