AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrainingDatasetSummary.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanroomsml/model/TrainingDatasetStatus.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 CleanRoomsML
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CLEANROOMSML_API TrainingDatasetSummary();
38 AWS_CLEANROOMSML_API TrainingDatasetSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
48 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
49 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
50 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
51 inline TrainingDatasetSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
52 inline TrainingDatasetSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
54
56
59 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
60 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
61 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
62 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
63 inline TrainingDatasetSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
64 inline TrainingDatasetSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
66
68
71 inline const Aws::String& GetTrainingDatasetArn() const{ return m_trainingDatasetArn; }
72 inline bool TrainingDatasetArnHasBeenSet() const { return m_trainingDatasetArnHasBeenSet; }
73 inline void SetTrainingDatasetArn(const Aws::String& value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn = value; }
74 inline void SetTrainingDatasetArn(Aws::String&& value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn = std::move(value); }
75 inline void SetTrainingDatasetArn(const char* value) { m_trainingDatasetArnHasBeenSet = true; m_trainingDatasetArn.assign(value); }
77 inline TrainingDatasetSummary& WithTrainingDatasetArn(Aws::String&& value) { SetTrainingDatasetArn(std::move(value)); return *this;}
78 inline TrainingDatasetSummary& WithTrainingDatasetArn(const char* value) { SetTrainingDatasetArn(value); return *this;}
80
82
85 inline const Aws::String& GetName() const{ return m_name; }
86 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
87 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
88 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
89 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
90 inline TrainingDatasetSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
91 inline TrainingDatasetSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
92 inline TrainingDatasetSummary& WithName(const char* value) { SetName(value); return *this;}
94
96
99 inline const TrainingDatasetStatus& GetStatus() const{ return m_status; }
100 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
101 inline void SetStatus(const TrainingDatasetStatus& value) { m_statusHasBeenSet = true; m_status = value; }
102 inline void SetStatus(TrainingDatasetStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
103 inline TrainingDatasetSummary& WithStatus(const TrainingDatasetStatus& value) { SetStatus(value); return *this;}
104 inline TrainingDatasetSummary& WithStatus(TrainingDatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
106
108
111 inline const Aws::String& GetDescription() const{ return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
114 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
115 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
116 inline TrainingDatasetSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
117 inline TrainingDatasetSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
118 inline TrainingDatasetSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
120 private:
121
122 Aws::Utils::DateTime m_createTime;
123 bool m_createTimeHasBeenSet = false;
124
125 Aws::Utils::DateTime m_updateTime;
126 bool m_updateTimeHasBeenSet = false;
127
128 Aws::String m_trainingDatasetArn;
129 bool m_trainingDatasetArnHasBeenSet = false;
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 TrainingDatasetStatus m_status;
135 bool m_statusHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace CleanRoomsML
143} // namespace Aws
void SetCreateTime(const Aws::Utils::DateTime &value)
const TrainingDatasetStatus & GetStatus() const
TrainingDatasetSummary & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetStatus(const TrainingDatasetStatus &value)
TrainingDatasetSummary & WithStatus(const TrainingDatasetStatus &value)
TrainingDatasetSummary & WithTrainingDatasetArn(const Aws::String &value)
AWS_CLEANROOMSML_API TrainingDatasetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
TrainingDatasetSummary & WithDescription(const char *value)
TrainingDatasetSummary & WithName(Aws::String &&value)
AWS_CLEANROOMSML_API TrainingDatasetSummary(Aws::Utils::Json::JsonView jsonValue)
TrainingDatasetSummary & WithTrainingDatasetArn(const char *value)
TrainingDatasetSummary & WithTrainingDatasetArn(Aws::String &&value)
TrainingDatasetSummary & WithDescription(Aws::String &&value)
TrainingDatasetSummary & WithName(const Aws::String &value)
TrainingDatasetSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
TrainingDatasetSummary & WithCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
TrainingDatasetSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
TrainingDatasetSummary & WithCreateTime(Aws::Utils::DateTime &&value)
TrainingDatasetSummary & WithName(const char *value)
TrainingDatasetSummary & WithStatus(TrainingDatasetStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue