AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
AudienceExportJobSummary.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/AudienceExportJobStatus.h>
9#include <aws/cleanroomsml/model/AudienceSize.h>
10#include <aws/cleanroomsml/model/StatusDetails.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CleanRoomsML {
24namespace Model {
25
33 public:
34 AWS_CLEANROOMSML_API AudienceExportJobSummary() = default;
37 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
44 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
45 template <typename CreateTimeT = Aws::Utils::DateTime>
46 void SetCreateTime(CreateTimeT&& value) {
47 m_createTimeHasBeenSet = true;
48 m_createTime = std::forward<CreateTimeT>(value);
49 }
50 template <typename CreateTimeT = Aws::Utils::DateTime>
52 SetCreateTime(std::forward<CreateTimeT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
62 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
63 template <typename UpdateTimeT = Aws::Utils::DateTime>
64 void SetUpdateTime(UpdateTimeT&& value) {
65 m_updateTimeHasBeenSet = true;
66 m_updateTime = std::forward<UpdateTimeT>(value);
67 }
68 template <typename UpdateTimeT = Aws::Utils::DateTime>
70 SetUpdateTime(std::forward<UpdateTimeT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template <typename NameT = Aws::String>
82 void SetName(NameT&& value) {
83 m_nameHasBeenSet = true;
84 m_name = std::forward<NameT>(value);
85 }
86 template <typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetAudienceGenerationJobArn() const { return m_audienceGenerationJobArn; }
99 inline bool AudienceGenerationJobArnHasBeenSet() const { return m_audienceGenerationJobArnHasBeenSet; }
100 template <typename AudienceGenerationJobArnT = Aws::String>
101 void SetAudienceGenerationJobArn(AudienceGenerationJobArnT&& value) {
102 m_audienceGenerationJobArnHasBeenSet = true;
103 m_audienceGenerationJobArn = std::forward<AudienceGenerationJobArnT>(value);
104 }
105 template <typename AudienceGenerationJobArnT = Aws::String>
106 AudienceExportJobSummary& WithAudienceGenerationJobArn(AudienceGenerationJobArnT&& value) {
107 SetAudienceGenerationJobArn(std::forward<AudienceGenerationJobArnT>(value));
108 return *this;
109 }
111
113
114 inline const AudienceSize& GetAudienceSize() const { return m_audienceSize; }
115 inline bool AudienceSizeHasBeenSet() const { return m_audienceSizeHasBeenSet; }
116 template <typename AudienceSizeT = AudienceSize>
117 void SetAudienceSize(AudienceSizeT&& value) {
118 m_audienceSizeHasBeenSet = true;
119 m_audienceSize = std::forward<AudienceSizeT>(value);
120 }
121 template <typename AudienceSizeT = AudienceSize>
123 SetAudienceSize(std::forward<AudienceSizeT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetDescription() const { return m_description; }
133 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
134 template <typename DescriptionT = Aws::String>
135 void SetDescription(DescriptionT&& value) {
136 m_descriptionHasBeenSet = true;
137 m_description = std::forward<DescriptionT>(value);
138 }
139 template <typename DescriptionT = Aws::String>
141 SetDescription(std::forward<DescriptionT>(value));
142 return *this;
143 }
145
147
150 inline AudienceExportJobStatus GetStatus() const { return m_status; }
151 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
153 m_statusHasBeenSet = true;
154 m_status = value;
155 }
157 SetStatus(value);
158 return *this;
159 }
161
163
164 inline const StatusDetails& GetStatusDetails() const { return m_statusDetails; }
165 inline bool StatusDetailsHasBeenSet() const { return m_statusDetailsHasBeenSet; }
166 template <typename StatusDetailsT = StatusDetails>
167 void SetStatusDetails(StatusDetailsT&& value) {
168 m_statusDetailsHasBeenSet = true;
169 m_statusDetails = std::forward<StatusDetailsT>(value);
170 }
171 template <typename StatusDetailsT = StatusDetails>
173 SetStatusDetails(std::forward<StatusDetailsT>(value));
174 return *this;
175 }
177
179
182 inline const Aws::String& GetOutputLocation() const { return m_outputLocation; }
183 inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; }
184 template <typename OutputLocationT = Aws::String>
185 void SetOutputLocation(OutputLocationT&& value) {
186 m_outputLocationHasBeenSet = true;
187 m_outputLocation = std::forward<OutputLocationT>(value);
188 }
189 template <typename OutputLocationT = Aws::String>
191 SetOutputLocation(std::forward<OutputLocationT>(value));
192 return *this;
193 }
195 private:
196 Aws::Utils::DateTime m_createTime{};
197
198 Aws::Utils::DateTime m_updateTime{};
199
200 Aws::String m_name;
201
202 Aws::String m_audienceGenerationJobArn;
203
204 AudienceSize m_audienceSize;
205
206 Aws::String m_description;
207
209
210 StatusDetails m_statusDetails;
211
212 Aws::String m_outputLocation;
213 bool m_createTimeHasBeenSet = false;
214 bool m_updateTimeHasBeenSet = false;
215 bool m_nameHasBeenSet = false;
216 bool m_audienceGenerationJobArnHasBeenSet = false;
217 bool m_audienceSizeHasBeenSet = false;
218 bool m_descriptionHasBeenSet = false;
219 bool m_statusHasBeenSet = false;
220 bool m_statusDetailsHasBeenSet = false;
221 bool m_outputLocationHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace CleanRoomsML
226} // namespace Aws
void SetAudienceGenerationJobArn(AudienceGenerationJobArnT &&value)
AudienceExportJobSummary & WithStatus(AudienceExportJobStatus value)
AudienceExportJobSummary & WithUpdateTime(UpdateTimeT &&value)
AudienceExportJobSummary & WithStatusDetails(StatusDetailsT &&value)
AudienceExportJobSummary & WithDescription(DescriptionT &&value)
AudienceExportJobSummary & WithOutputLocation(OutputLocationT &&value)
AudienceExportJobSummary & WithAudienceGenerationJobArn(AudienceGenerationJobArnT &&value)
AudienceExportJobSummary & WithName(NameT &&value)
AudienceExportJobSummary & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMSML_API AudienceExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AudienceExportJobSummary & WithAudienceSize(AudienceSizeT &&value)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMSML_API AudienceExportJobSummary()=default
AWS_CLEANROOMSML_API AudienceExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue