AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
AnalysisLogExport.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalysisLogExportError.h>
9#include <aws/cleanrooms/model/AnalysisLogExportResultConfiguration.h>
10#include <aws/cleanrooms/model/AnalysisLogExportStatus.h>
11#include <aws/cleanrooms/model/LogExportAnalysisType.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms {
25namespace Model {
26
34 public:
35 AWS_CLEANROOMS_API AnalysisLogExport() = default;
36 AWS_CLEANROOMS_API AnalysisLogExport(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetAnalysisLogExportId() const { return m_analysisLogExportId; }
45 inline bool AnalysisLogExportIdHasBeenSet() const { return m_analysisLogExportIdHasBeenSet; }
46 template <typename AnalysisLogExportIdT = Aws::String>
47 void SetAnalysisLogExportId(AnalysisLogExportIdT&& value) {
48 m_analysisLogExportIdHasBeenSet = true;
49 m_analysisLogExportId = std::forward<AnalysisLogExportIdT>(value);
50 }
51 template <typename AnalysisLogExportIdT = Aws::String>
52 AnalysisLogExport& WithAnalysisLogExportId(AnalysisLogExportIdT&& value) {
53 SetAnalysisLogExportId(std::forward<AnalysisLogExportIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetAnalysisId() const { return m_analysisId; }
64 inline bool AnalysisIdHasBeenSet() const { return m_analysisIdHasBeenSet; }
65 template <typename AnalysisIdT = Aws::String>
66 void SetAnalysisId(AnalysisIdT&& value) {
67 m_analysisIdHasBeenSet = true;
68 m_analysisId = std::forward<AnalysisIdT>(value);
69 }
70 template <typename AnalysisIdT = Aws::String>
71 AnalysisLogExport& WithAnalysisId(AnalysisIdT&& value) {
72 SetAnalysisId(std::forward<AnalysisIdT>(value));
73 return *this;
74 }
76
78
82 inline LogExportAnalysisType GetAnalysisType() const { return m_analysisType; }
83 inline bool AnalysisTypeHasBeenSet() const { return m_analysisTypeHasBeenSet; }
85 m_analysisTypeHasBeenSet = true;
86 m_analysisType = value;
87 }
89 SetAnalysisType(value);
90 return *this;
91 }
93
95
99 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
100 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
101 template <typename MembershipIdT = Aws::String>
102 void SetMembershipId(MembershipIdT&& value) {
103 m_membershipIdHasBeenSet = true;
104 m_membershipId = std::forward<MembershipIdT>(value);
105 }
106 template <typename MembershipIdT = Aws::String>
107 AnalysisLogExport& WithMembershipId(MembershipIdT&& value) {
108 SetMembershipId(std::forward<MembershipIdT>(value));
109 return *this;
110 }
112
114
121 inline AnalysisLogExportStatus GetStatus() const { return m_status; }
122 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 m_statusHasBeenSet = true;
125 m_status = value;
126 }
128 SetStatus(value);
129 return *this;
130 }
132
134
137 inline const AnalysisLogExportResultConfiguration& GetResultConfiguration() const { return m_resultConfiguration; }
138 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
139 template <typename ResultConfigurationT = AnalysisLogExportResultConfiguration>
140 void SetResultConfiguration(ResultConfigurationT&& value) {
141 m_resultConfigurationHasBeenSet = true;
142 m_resultConfiguration = std::forward<ResultConfigurationT>(value);
143 }
144 template <typename ResultConfigurationT = AnalysisLogExportResultConfiguration>
145 AnalysisLogExport& WithResultConfiguration(ResultConfigurationT&& value) {
146 SetResultConfiguration(std::forward<ResultConfigurationT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
156 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
157 template <typename CreateTimeT = Aws::Utils::DateTime>
158 void SetCreateTime(CreateTimeT&& value) {
159 m_createTimeHasBeenSet = true;
160 m_createTime = std::forward<CreateTimeT>(value);
161 }
162 template <typename CreateTimeT = Aws::Utils::DateTime>
163 AnalysisLogExport& WithCreateTime(CreateTimeT&& value) {
164 SetCreateTime(std::forward<CreateTimeT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
174 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
175 template <typename UpdateTimeT = Aws::Utils::DateTime>
176 void SetUpdateTime(UpdateTimeT&& value) {
177 m_updateTimeHasBeenSet = true;
178 m_updateTime = std::forward<UpdateTimeT>(value);
179 }
180 template <typename UpdateTimeT = Aws::Utils::DateTime>
181 AnalysisLogExport& WithUpdateTime(UpdateTimeT&& value) {
182 SetUpdateTime(std::forward<UpdateTimeT>(value));
183 return *this;
184 }
186
188
192 inline const AnalysisLogExportError& GetError() const { return m_error; }
193 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
194 template <typename ErrorT = AnalysisLogExportError>
195 void SetError(ErrorT&& value) {
196 m_errorHasBeenSet = true;
197 m_error = std::forward<ErrorT>(value);
198 }
199 template <typename ErrorT = AnalysisLogExportError>
200 AnalysisLogExport& WithError(ErrorT&& value) {
201 SetError(std::forward<ErrorT>(value));
202 return *this;
203 }
205 private:
206 Aws::String m_analysisLogExportId;
207
208 Aws::String m_analysisId;
209
211
212 Aws::String m_membershipId;
213
215
216 AnalysisLogExportResultConfiguration m_resultConfiguration;
217
218 Aws::Utils::DateTime m_createTime{};
219
220 Aws::Utils::DateTime m_updateTime{};
221
222 AnalysisLogExportError m_error;
223 bool m_analysisLogExportIdHasBeenSet = false;
224 bool m_analysisIdHasBeenSet = false;
225 bool m_analysisTypeHasBeenSet = false;
226 bool m_membershipIdHasBeenSet = false;
227 bool m_statusHasBeenSet = false;
228 bool m_resultConfigurationHasBeenSet = false;
229 bool m_createTimeHasBeenSet = false;
230 bool m_updateTimeHasBeenSet = false;
231 bool m_errorHasBeenSet = false;
232};
233
234} // namespace Model
235} // namespace CleanRooms
236} // namespace Aws
AWS_CLEANROOMS_API AnalysisLogExport()=default
void SetResultConfiguration(ResultConfigurationT &&value)
AnalysisLogExport & WithResultConfiguration(ResultConfigurationT &&value)
const AnalysisLogExportError & GetError() const
const Aws::String & GetAnalysisLogExportId() const
AnalysisLogExport & WithCreateTime(CreateTimeT &&value)
AnalysisLogExport & WithAnalysisId(AnalysisIdT &&value)
void SetMembershipId(MembershipIdT &&value)
AnalysisLogExport & WithMembershipId(MembershipIdT &&value)
AWS_CLEANROOMS_API AnalysisLogExport & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAnalysisType(LogExportAnalysisType value)
void SetAnalysisLogExportId(AnalysisLogExportIdT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreateTime() const
AnalysisLogExportStatus GetStatus() const
AnalysisLogExport & WithAnalysisLogExportId(AnalysisLogExportIdT &&value)
AnalysisLogExport & WithUpdateTime(UpdateTimeT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::String & GetMembershipId() const
const AnalysisLogExportResultConfiguration & GetResultConfiguration() const
const Aws::String & GetAnalysisId() const
AWS_CLEANROOMS_API AnalysisLogExport(Aws::Utils::Json::JsonView jsonValue)
LogExportAnalysisType GetAnalysisType() const
AnalysisLogExport & WithAnalysisType(LogExportAnalysisType value)
void SetStatus(AnalysisLogExportStatus value)
AnalysisLogExport & WithError(ErrorT &&value)
AnalysisLogExport & WithStatus(AnalysisLogExportStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue