AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetAudienceGenerationJobResult.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/AudienceGenerationJobStatus.h>
11#include <aws/cleanroomsml/model/StatusDetails.h>
12#include <aws/cleanroomsml/model/AudienceGenerationJobDataSource.h>
13#include <aws/cleanroomsml/model/AudienceQualityMetrics.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace CleanRoomsML
30{
31namespace Model
32{
34 {
35 public:
36 AWS_CLEANROOMSML_API GetAudienceGenerationJobResult() = default;
39
40
42
45 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
46 template<typename CreateTimeT = Aws::Utils::DateTime>
47 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
48 template<typename CreateTimeT = Aws::Utils::DateTime>
49 GetAudienceGenerationJobResult& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
57 template<typename UpdateTimeT = Aws::Utils::DateTime>
58 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
59 template<typename UpdateTimeT = Aws::Utils::DateTime>
60 GetAudienceGenerationJobResult& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
62
64
67 inline const Aws::String& GetAudienceGenerationJobArn() const { return m_audienceGenerationJobArn; }
68 template<typename AudienceGenerationJobArnT = Aws::String>
69 void SetAudienceGenerationJobArn(AudienceGenerationJobArnT&& value) { m_audienceGenerationJobArnHasBeenSet = true; m_audienceGenerationJobArn = std::forward<AudienceGenerationJobArnT>(value); }
70 template<typename AudienceGenerationJobArnT = Aws::String>
71 GetAudienceGenerationJobResult& WithAudienceGenerationJobArn(AudienceGenerationJobArnT&& value) { SetAudienceGenerationJobArn(std::forward<AudienceGenerationJobArnT>(value)); return *this;}
73
75
78 inline const Aws::String& GetName() const { return m_name; }
79 template<typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
81 template<typename NameT = Aws::String>
82 GetAudienceGenerationJobResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const { return m_description; }
90 template<typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
92 template<typename DescriptionT = Aws::String>
93 GetAudienceGenerationJobResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
95
97
100 inline AudienceGenerationJobStatus GetStatus() const { return m_status; }
101 inline void SetStatus(AudienceGenerationJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
104
106
109 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
110 template<typename StatusDetailsT = StatusDetails>
111 void SetStatusDetails(StatusDetailsT&& value) { m_statusDetailsHasBeenSet = true; m_statusDetails = std::forward<StatusDetailsT>(value); }
112 template<typename StatusDetailsT = StatusDetails>
113 GetAudienceGenerationJobResult& WithStatusDetails(StatusDetailsT&& value) { SetStatusDetails(std::forward<StatusDetailsT>(value)); return *this;}
115
117
121 inline const Aws::String& GetConfiguredAudienceModelArn() const { return m_configuredAudienceModelArn; }
122 template<typename ConfiguredAudienceModelArnT = Aws::String>
123 void SetConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::forward<ConfiguredAudienceModelArnT>(value); }
124 template<typename ConfiguredAudienceModelArnT = Aws::String>
125 GetAudienceGenerationJobResult& WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) { SetConfiguredAudienceModelArn(std::forward<ConfiguredAudienceModelArnT>(value)); return *this;}
127
129
134 inline const AudienceGenerationJobDataSource& GetSeedAudience() const { return m_seedAudience; }
135 template<typename SeedAudienceT = AudienceGenerationJobDataSource>
136 void SetSeedAudience(SeedAudienceT&& value) { m_seedAudienceHasBeenSet = true; m_seedAudience = std::forward<SeedAudienceT>(value); }
137 template<typename SeedAudienceT = AudienceGenerationJobDataSource>
138 GetAudienceGenerationJobResult& WithSeedAudience(SeedAudienceT&& value) { SetSeedAudience(std::forward<SeedAudienceT>(value)); return *this;}
140
142
150 inline bool GetIncludeSeedInOutput() const { return m_includeSeedInOutput; }
151 inline void SetIncludeSeedInOutput(bool value) { m_includeSeedInOutputHasBeenSet = true; m_includeSeedInOutput = value; }
154
156
160 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
161 template<typename CollaborationIdT = Aws::String>
162 void SetCollaborationId(CollaborationIdT&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::forward<CollaborationIdT>(value); }
163 template<typename CollaborationIdT = Aws::String>
164 GetAudienceGenerationJobResult& WithCollaborationId(CollaborationIdT&& value) { SetCollaborationId(std::forward<CollaborationIdT>(value)); return *this;}
166
168
172 inline const AudienceQualityMetrics& GetMetrics() const { return m_metrics; }
173 template<typename MetricsT = AudienceQualityMetrics>
174 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
175 template<typename MetricsT = AudienceQualityMetrics>
176 GetAudienceGenerationJobResult& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
178
180
183 inline const Aws::String& GetStartedBy() const { return m_startedBy; }
184 template<typename StartedByT = Aws::String>
185 void SetStartedBy(StartedByT&& value) { m_startedByHasBeenSet = true; m_startedBy = std::forward<StartedByT>(value); }
186 template<typename StartedByT = Aws::String>
187 GetAudienceGenerationJobResult& WithStartedBy(StartedByT&& value) { SetStartedBy(std::forward<StartedByT>(value)); return *this;}
189
191
194 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
195 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
196 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
197 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
198 GetAudienceGenerationJobResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
199 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
200 GetAudienceGenerationJobResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
201 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
202 }
204
206
210 inline const Aws::String& GetProtectedQueryIdentifier() const { return m_protectedQueryIdentifier; }
211 template<typename ProtectedQueryIdentifierT = Aws::String>
212 void SetProtectedQueryIdentifier(ProtectedQueryIdentifierT&& value) { m_protectedQueryIdentifierHasBeenSet = true; m_protectedQueryIdentifier = std::forward<ProtectedQueryIdentifierT>(value); }
213 template<typename ProtectedQueryIdentifierT = Aws::String>
214 GetAudienceGenerationJobResult& WithProtectedQueryIdentifier(ProtectedQueryIdentifierT&& value) { SetProtectedQueryIdentifier(std::forward<ProtectedQueryIdentifierT>(value)); return *this;}
216
218
219 inline const Aws::String& GetRequestId() const { return m_requestId; }
220 template<typename RequestIdT = Aws::String>
221 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
222 template<typename RequestIdT = Aws::String>
223 GetAudienceGenerationJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
225 private:
226
227 Aws::Utils::DateTime m_createTime{};
228 bool m_createTimeHasBeenSet = false;
229
230 Aws::Utils::DateTime m_updateTime{};
231 bool m_updateTimeHasBeenSet = false;
232
233 Aws::String m_audienceGenerationJobArn;
234 bool m_audienceGenerationJobArnHasBeenSet = false;
235
236 Aws::String m_name;
237 bool m_nameHasBeenSet = false;
238
239 Aws::String m_description;
240 bool m_descriptionHasBeenSet = false;
241
243 bool m_statusHasBeenSet = false;
244
245 StatusDetails m_statusDetails;
246 bool m_statusDetailsHasBeenSet = false;
247
248 Aws::String m_configuredAudienceModelArn;
249 bool m_configuredAudienceModelArnHasBeenSet = false;
250
251 AudienceGenerationJobDataSource m_seedAudience;
252 bool m_seedAudienceHasBeenSet = false;
253
254 bool m_includeSeedInOutput{false};
255 bool m_includeSeedInOutputHasBeenSet = false;
256
257 Aws::String m_collaborationId;
258 bool m_collaborationIdHasBeenSet = false;
259
260 AudienceQualityMetrics m_metrics;
261 bool m_metricsHasBeenSet = false;
262
263 Aws::String m_startedBy;
264 bool m_startedByHasBeenSet = false;
265
267 bool m_tagsHasBeenSet = false;
268
269 Aws::String m_protectedQueryIdentifier;
270 bool m_protectedQueryIdentifierHasBeenSet = false;
271
272 Aws::String m_requestId;
273 bool m_requestIdHasBeenSet = false;
274 };
275
276} // namespace Model
277} // namespace CleanRoomsML
278} // namespace Aws
AWS_CLEANROOMSML_API GetAudienceGenerationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAudienceGenerationJobResult & WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT &&value)
GetAudienceGenerationJobResult & WithProtectedQueryIdentifier(ProtectedQueryIdentifierT &&value)
GetAudienceGenerationJobResult & WithMetrics(MetricsT &&value)
const AudienceGenerationJobDataSource & GetSeedAudience() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetAudienceGenerationJobResult & WithStatusDetails(StatusDetailsT &&value)
GetAudienceGenerationJobResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetAudienceGenerationJobResult & WithDescription(DescriptionT &&value)
GetAudienceGenerationJobResult & WithStartedBy(StartedByT &&value)
GetAudienceGenerationJobResult & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMSML_API GetAudienceGenerationJobResult()=default
GetAudienceGenerationJobResult & WithSeedAudience(SeedAudienceT &&value)
GetAudienceGenerationJobResult & WithRequestId(RequestIdT &&value)
GetAudienceGenerationJobResult & WithStatus(AudienceGenerationJobStatus value)
AWS_CLEANROOMSML_API GetAudienceGenerationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAudienceGenerationJobResult & WithAudienceGenerationJobArn(AudienceGenerationJobArnT &&value)
void SetConfiguredAudienceModelArn(ConfiguredAudienceModelArnT &&value)
GetAudienceGenerationJobResult & WithCollaborationId(CollaborationIdT &&value)
GetAudienceGenerationJobResult & WithIncludeSeedInOutput(bool value)
GetAudienceGenerationJobResult & WithUpdateTime(UpdateTimeT &&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