AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTrainingDatasetResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/cleanroomsml/model/TrainingDatasetStatus.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/cleanroomsml/model/Dataset.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace CleanRoomsML
29{
30namespace Model
31{
33 {
34 public:
35 AWS_CLEANROOMSML_API GetTrainingDatasetResult();
38
39
41
44 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
45 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
46 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
47 inline GetTrainingDatasetResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
48 inline GetTrainingDatasetResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
50
52
55 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
56 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
57 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
58 inline GetTrainingDatasetResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
59 inline GetTrainingDatasetResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
61
63
66 inline const Aws::String& GetTrainingDatasetArn() const{ return m_trainingDatasetArn; }
67 inline void SetTrainingDatasetArn(const Aws::String& value) { m_trainingDatasetArn = value; }
68 inline void SetTrainingDatasetArn(Aws::String&& value) { m_trainingDatasetArn = std::move(value); }
69 inline void SetTrainingDatasetArn(const char* value) { m_trainingDatasetArn.assign(value); }
71 inline GetTrainingDatasetResult& WithTrainingDatasetArn(Aws::String&& value) { SetTrainingDatasetArn(std::move(value)); return *this;}
72 inline GetTrainingDatasetResult& WithTrainingDatasetArn(const char* value) { SetTrainingDatasetArn(value); return *this;}
74
76
79 inline const Aws::String& GetName() const{ return m_name; }
80 inline void SetName(const Aws::String& value) { m_name = value; }
81 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
82 inline void SetName(const char* value) { m_name.assign(value); }
83 inline GetTrainingDatasetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
84 inline GetTrainingDatasetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
85 inline GetTrainingDatasetResult& WithName(const char* value) { SetName(value); return *this;}
87
89
92 inline const Aws::Vector<Dataset>& GetTrainingData() const{ return m_trainingData; }
93 inline void SetTrainingData(const Aws::Vector<Dataset>& value) { m_trainingData = value; }
94 inline void SetTrainingData(Aws::Vector<Dataset>&& value) { m_trainingData = std::move(value); }
96 inline GetTrainingDatasetResult& WithTrainingData(Aws::Vector<Dataset>&& value) { SetTrainingData(std::move(value)); return *this;}
97 inline GetTrainingDatasetResult& AddTrainingData(const Dataset& value) { m_trainingData.push_back(value); return *this; }
98 inline GetTrainingDatasetResult& AddTrainingData(Dataset&& value) { m_trainingData.push_back(std::move(value)); return *this; }
100
102
105 inline const TrainingDatasetStatus& GetStatus() const{ return m_status; }
106 inline void SetStatus(const TrainingDatasetStatus& value) { m_status = value; }
107 inline void SetStatus(TrainingDatasetStatus&& value) { m_status = std::move(value); }
108 inline GetTrainingDatasetResult& WithStatus(const TrainingDatasetStatus& value) { SetStatus(value); return *this;}
109 inline GetTrainingDatasetResult& WithStatus(TrainingDatasetStatus&& value) { SetStatus(std::move(value)); return *this;}
111
113
116 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
117 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
118 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
119 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
120 inline GetTrainingDatasetResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
121 inline GetTrainingDatasetResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
122 inline GetTrainingDatasetResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
124
126
129 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
130 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
131 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
133 inline GetTrainingDatasetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
134 inline GetTrainingDatasetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
135 inline GetTrainingDatasetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
136 inline GetTrainingDatasetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
137 inline GetTrainingDatasetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
138 inline GetTrainingDatasetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
139 inline GetTrainingDatasetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
140 inline GetTrainingDatasetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
142
144
147 inline const Aws::String& GetDescription() const{ return m_description; }
148 inline void SetDescription(const Aws::String& value) { m_description = value; }
149 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
150 inline void SetDescription(const char* value) { m_description.assign(value); }
151 inline GetTrainingDatasetResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
152 inline GetTrainingDatasetResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 inline GetTrainingDatasetResult& WithDescription(const char* value) { SetDescription(value); return *this;}
155
157
158 inline const Aws::String& GetRequestId() const{ return m_requestId; }
159 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
160 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
161 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
162 inline GetTrainingDatasetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
163 inline GetTrainingDatasetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
164 inline GetTrainingDatasetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
166 private:
167
168 Aws::Utils::DateTime m_createTime;
169
170 Aws::Utils::DateTime m_updateTime;
171
172 Aws::String m_trainingDatasetArn;
173
174 Aws::String m_name;
175
176 Aws::Vector<Dataset> m_trainingData;
177
178 TrainingDatasetStatus m_status;
179
180 Aws::String m_roleArn;
181
183
184 Aws::String m_description;
185
186 Aws::String m_requestId;
187 };
188
189} // namespace Model
190} // namespace CleanRoomsML
191} // namespace Aws
GetTrainingDatasetResult & WithRequestId(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetStatus(const TrainingDatasetStatus &value)
GetTrainingDatasetResult & WithName(const char *value)
GetTrainingDatasetResult & WithUpdateTime(Aws::Utils::DateTime &&value)
GetTrainingDatasetResult & AddTags(const Aws::String &key, Aws::String &&value)
GetTrainingDatasetResult & AddTrainingData(const Dataset &value)
GetTrainingDatasetResult & AddTags(const char *key, Aws::String &&value)
GetTrainingDatasetResult & WithCreateTime(const Aws::Utils::DateTime &value)
GetTrainingDatasetResult & WithRoleArn(Aws::String &&value)
GetTrainingDatasetResult & AddTrainingData(Dataset &&value)
GetTrainingDatasetResult & WithTrainingData(Aws::Vector< Dataset > &&value)
GetTrainingDatasetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetTrainingDatasetResult & WithTrainingData(const Aws::Vector< Dataset > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetTrainingDatasetResult & WithStatus(const TrainingDatasetStatus &value)
GetTrainingDatasetResult & WithDescription(const char *value)
GetTrainingDatasetResult & AddTags(Aws::String &&key, const Aws::String &value)
GetTrainingDatasetResult & AddTags(Aws::String &&key, Aws::String &&value)
GetTrainingDatasetResult & AddTags(const char *key, const char *value)
GetTrainingDatasetResult & WithRequestId(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
GetTrainingDatasetResult & WithName(Aws::String &&value)
GetTrainingDatasetResult & WithTrainingDatasetArn(const char *value)
AWS_CLEANROOMSML_API GetTrainingDatasetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTrainingDatasetResult & WithCreateTime(Aws::Utils::DateTime &&value)
GetTrainingDatasetResult & WithUpdateTime(const Aws::Utils::DateTime &value)
GetTrainingDatasetResult & WithStatus(TrainingDatasetStatus &&value)
GetTrainingDatasetResult & WithRoleArn(const char *value)
void SetTrainingData(const Aws::Vector< Dataset > &value)
GetTrainingDatasetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_CLEANROOMSML_API GetTrainingDatasetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTrainingDatasetResult & WithRoleArn(const Aws::String &value)
GetTrainingDatasetResult & WithDescription(const Aws::String &value)
GetTrainingDatasetResult & AddTags(const Aws::String &key, const Aws::String &value)
GetTrainingDatasetResult & AddTags(Aws::String &&key, const char *value)
GetTrainingDatasetResult & WithRequestId(Aws::String &&value)
GetTrainingDatasetResult & WithTrainingDatasetArn(Aws::String &&value)
const Aws::Vector< Dataset > & GetTrainingData() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
GetTrainingDatasetResult & WithName(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetTrainingDatasetResult & WithTrainingDatasetArn(const Aws::String &value)
GetTrainingDatasetResult & WithDescription(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue