AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAudienceModelResult.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/AudienceModelStatus.h>
11#include <aws/cleanroomsml/model/StatusDetails.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace CleanRoomsML
28{
29namespace Model
30{
32 {
33 public:
34 AWS_CLEANROOMSML_API GetAudienceModelResult();
37
38
40
43 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
44 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTime = value; }
45 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTime = std::move(value); }
46 inline GetAudienceModelResult& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
47 inline GetAudienceModelResult& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
55 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTime = value; }
56 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTime = std::move(value); }
57 inline GetAudienceModelResult& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
58 inline GetAudienceModelResult& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetTrainingDataStartTime() const{ return m_trainingDataStartTime; }
66 inline void SetTrainingDataStartTime(const Aws::Utils::DateTime& value) { m_trainingDataStartTime = value; }
67 inline void SetTrainingDataStartTime(Aws::Utils::DateTime&& value) { m_trainingDataStartTime = std::move(value); }
71
73
76 inline const Aws::Utils::DateTime& GetTrainingDataEndTime() const{ return m_trainingDataEndTime; }
77 inline void SetTrainingDataEndTime(const Aws::Utils::DateTime& value) { m_trainingDataEndTime = value; }
78 inline void SetTrainingDataEndTime(Aws::Utils::DateTime&& value) { m_trainingDataEndTime = std::move(value); }
82
84
87 inline const Aws::String& GetAudienceModelArn() const{ return m_audienceModelArn; }
88 inline void SetAudienceModelArn(const Aws::String& value) { m_audienceModelArn = value; }
89 inline void SetAudienceModelArn(Aws::String&& value) { m_audienceModelArn = std::move(value); }
90 inline void SetAudienceModelArn(const char* value) { m_audienceModelArn.assign(value); }
91 inline GetAudienceModelResult& WithAudienceModelArn(const Aws::String& value) { SetAudienceModelArn(value); return *this;}
92 inline GetAudienceModelResult& WithAudienceModelArn(Aws::String&& value) { SetAudienceModelArn(std::move(value)); return *this;}
93 inline GetAudienceModelResult& WithAudienceModelArn(const char* value) { SetAudienceModelArn(value); return *this;}
95
97
100 inline const Aws::String& GetName() const{ return m_name; }
101 inline void SetName(const Aws::String& value) { m_name = value; }
102 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
103 inline void SetName(const char* value) { m_name.assign(value); }
104 inline GetAudienceModelResult& WithName(const Aws::String& value) { SetName(value); return *this;}
105 inline GetAudienceModelResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
106 inline GetAudienceModelResult& WithName(const char* value) { SetName(value); return *this;}
108
110
114 inline const Aws::String& GetTrainingDatasetArn() const{ return m_trainingDatasetArn; }
115 inline void SetTrainingDatasetArn(const Aws::String& value) { m_trainingDatasetArn = value; }
116 inline void SetTrainingDatasetArn(Aws::String&& value) { m_trainingDatasetArn = std::move(value); }
117 inline void SetTrainingDatasetArn(const char* value) { m_trainingDatasetArn.assign(value); }
119 inline GetAudienceModelResult& WithTrainingDatasetArn(Aws::String&& value) { SetTrainingDatasetArn(std::move(value)); return *this;}
120 inline GetAudienceModelResult& WithTrainingDatasetArn(const char* value) { SetTrainingDatasetArn(value); return *this;}
122
124
127 inline const AudienceModelStatus& GetStatus() const{ return m_status; }
128 inline void SetStatus(const AudienceModelStatus& value) { m_status = value; }
129 inline void SetStatus(AudienceModelStatus&& value) { m_status = std::move(value); }
130 inline GetAudienceModelResult& WithStatus(const AudienceModelStatus& value) { SetStatus(value); return *this;}
131 inline GetAudienceModelResult& WithStatus(AudienceModelStatus&& value) { SetStatus(std::move(value)); return *this;}
133
135
138 inline const StatusDetails& GetStatusDetails() const{ return m_statusDetails; }
139 inline void SetStatusDetails(const StatusDetails& value) { m_statusDetails = value; }
140 inline void SetStatusDetails(StatusDetails&& value) { m_statusDetails = std::move(value); }
141 inline GetAudienceModelResult& WithStatusDetails(const StatusDetails& value) { SetStatusDetails(value); return *this;}
142 inline GetAudienceModelResult& WithStatusDetails(StatusDetails&& value) { SetStatusDetails(std::move(value)); return *this;}
144
146
149 inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; }
150 inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArn = value; }
151 inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArn = std::move(value); }
152 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArn.assign(value); }
153 inline GetAudienceModelResult& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;}
154 inline GetAudienceModelResult& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;}
155 inline GetAudienceModelResult& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;}
157
159
162 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
163 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
164 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
165 inline GetAudienceModelResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
166 inline GetAudienceModelResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
167 inline GetAudienceModelResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
168 inline GetAudienceModelResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
169 inline GetAudienceModelResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
170 inline GetAudienceModelResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
171 inline GetAudienceModelResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
172 inline GetAudienceModelResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
173 inline GetAudienceModelResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
175
177
180 inline const Aws::String& GetDescription() const{ return m_description; }
181 inline void SetDescription(const Aws::String& value) { m_description = value; }
182 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
183 inline void SetDescription(const char* value) { m_description.assign(value); }
184 inline GetAudienceModelResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
185 inline GetAudienceModelResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
186 inline GetAudienceModelResult& WithDescription(const char* value) { SetDescription(value); return *this;}
188
190
191 inline const Aws::String& GetRequestId() const{ return m_requestId; }
192 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
193 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
194 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
195 inline GetAudienceModelResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
196 inline GetAudienceModelResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
197 inline GetAudienceModelResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
199 private:
200
201 Aws::Utils::DateTime m_createTime;
202
203 Aws::Utils::DateTime m_updateTime;
204
205 Aws::Utils::DateTime m_trainingDataStartTime;
206
207 Aws::Utils::DateTime m_trainingDataEndTime;
208
209 Aws::String m_audienceModelArn;
210
211 Aws::String m_name;
212
213 Aws::String m_trainingDatasetArn;
214
215 AudienceModelStatus m_status;
216
217 StatusDetails m_statusDetails;
218
219 Aws::String m_kmsKeyArn;
220
222
223 Aws::String m_description;
224
225 Aws::String m_requestId;
226 };
227
228} // namespace Model
229} // namespace CleanRoomsML
230} // namespace Aws
AWS_CLEANROOMSML_API GetAudienceModelResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTrainingDataStartTime(const Aws::Utils::DateTime &value)
GetAudienceModelResult & WithCreateTime(const Aws::Utils::DateTime &value)
GetAudienceModelResult & WithStatusDetails(const StatusDetails &value)
GetAudienceModelResult & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
const Aws::Utils::DateTime & GetUpdateTime() const
GetAudienceModelResult & WithRequestId(const Aws::String &value)
GetAudienceModelResult & WithName(Aws::String &&value)
GetAudienceModelResult & WithCreateTime(Aws::Utils::DateTime &&value)
GetAudienceModelResult & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
GetAudienceModelResult & AddTags(const Aws::String &key, const Aws::String &value)
GetAudienceModelResult & WithTrainingDatasetArn(Aws::String &&value)
GetAudienceModelResult & WithTrainingDataEndTime(const Aws::Utils::DateTime &value)
GetAudienceModelResult & WithTrainingDataEndTime(Aws::Utils::DateTime &&value)
GetAudienceModelResult & WithStatusDetails(StatusDetails &&value)
GetAudienceModelResult & WithStatus(const AudienceModelStatus &value)
GetAudienceModelResult & WithAudienceModelArn(Aws::String &&value)
GetAudienceModelResult & AddTags(const char *key, const char *value)
GetAudienceModelResult & WithKmsKeyArn(Aws::String &&value)
void SetTrainingDataEndTime(Aws::Utils::DateTime &&value)
GetAudienceModelResult & WithAudienceModelArn(const char *value)
GetAudienceModelResult & WithKmsKeyArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetTrainingDataStartTime() const
const Aws::Utils::DateTime & GetTrainingDataEndTime() const
void SetStatus(const AudienceModelStatus &value)
GetAudienceModelResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAudienceModelResult & AddTags(Aws::String &&key, const Aws::String &value)
GetAudienceModelResult & WithKmsKeyArn(const Aws::String &value)
GetAudienceModelResult & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetTrainingDataEndTime(const Aws::Utils::DateTime &value)
GetAudienceModelResult & WithRequestId(Aws::String &&value)
GetAudienceModelResult & WithName(const Aws::String &value)
void SetCreateTime(const Aws::Utils::DateTime &value)
GetAudienceModelResult & WithTrainingDataStartTime(const Aws::Utils::DateTime &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetAudienceModelResult & AddTags(const char *key, Aws::String &&value)
GetAudienceModelResult & WithTrainingDatasetArn(const char *value)
GetAudienceModelResult & WithName(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetAudienceModelResult & WithTrainingDataStartTime(Aws::Utils::DateTime &&value)
GetAudienceModelResult & WithDescription(const char *value)
GetAudienceModelResult & AddTags(Aws::String &&key, const char *value)
AWS_CLEANROOMSML_API GetAudienceModelResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTrainingDataStartTime(Aws::Utils::DateTime &&value)
GetAudienceModelResult & WithAudienceModelArn(const Aws::String &value)
GetAudienceModelResult & WithStatus(AudienceModelStatus &&value)
GetAudienceModelResult & WithDescription(Aws::String &&value)
GetAudienceModelResult & AddTags(Aws::String &&key, Aws::String &&value)
GetAudienceModelResult & WithRequestId(const char *value)
GetAudienceModelResult & WithTrainingDatasetArn(const Aws::String &value)
GetAudienceModelResult & AddTags(const Aws::String &key, Aws::String &&value)
GetAudienceModelResult & WithTags(Aws::Map< Aws::String, 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
Aws::Utils::Json::JsonValue JsonValue