AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProtectedQuery.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cleanrooms/model/ProtectedQuerySQLParameters.h>
11#include <aws/cleanrooms/model/ProtectedQueryStatus.h>
12#include <aws/cleanrooms/model/ProtectedQueryResultConfiguration.h>
13#include <aws/cleanrooms/model/ProtectedQueryStatistics.h>
14#include <aws/cleanrooms/model/ProtectedQueryResult.h>
15#include <aws/cleanrooms/model/ProtectedQueryError.h>
16#include <aws/cleanrooms/model/DifferentialPrivacyParameters.h>
17#include <aws/cleanrooms/model/ComputeConfiguration.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace CleanRooms
31{
32namespace Model
33{
34
42 {
43 public:
44 AWS_CLEANROOMS_API ProtectedQuery();
45 AWS_CLEANROOMS_API ProtectedQuery(Aws::Utils::Json::JsonView jsonValue);
46 AWS_CLEANROOMS_API ProtectedQuery& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetId() const{ return m_id; }
55 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
56 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
57 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
58 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
59 inline ProtectedQuery& WithId(const Aws::String& value) { SetId(value); return *this;}
60 inline ProtectedQuery& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
61 inline ProtectedQuery& WithId(const char* value) { SetId(value); return *this;}
63
65
68 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
69 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
70 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
71 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
72 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
73 inline ProtectedQuery& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
74 inline ProtectedQuery& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
75 inline ProtectedQuery& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
77
79
82 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
83 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
84 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
85 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
86 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
87 inline ProtectedQuery& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
88 inline ProtectedQuery& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
89 inline ProtectedQuery& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
97 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
98 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
99 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
100 inline ProtectedQuery& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
101 inline ProtectedQuery& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
103
105
108 inline const ProtectedQuerySQLParameters& GetSqlParameters() const{ return m_sqlParameters; }
109 inline bool SqlParametersHasBeenSet() const { return m_sqlParametersHasBeenSet; }
110 inline void SetSqlParameters(const ProtectedQuerySQLParameters& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = value; }
111 inline void SetSqlParameters(ProtectedQuerySQLParameters&& value) { m_sqlParametersHasBeenSet = true; m_sqlParameters = std::move(value); }
113 inline ProtectedQuery& WithSqlParameters(ProtectedQuerySQLParameters&& value) { SetSqlParameters(std::move(value)); return *this;}
115
117
120 inline const ProtectedQueryStatus& GetStatus() const{ return m_status; }
121 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
122 inline void SetStatus(const ProtectedQueryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
123 inline void SetStatus(ProtectedQueryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
124 inline ProtectedQuery& WithStatus(const ProtectedQueryStatus& value) { SetStatus(value); return *this;}
125 inline ProtectedQuery& WithStatus(ProtectedQueryStatus&& value) { SetStatus(std::move(value)); return *this;}
127
129
132 inline const ProtectedQueryResultConfiguration& GetResultConfiguration() const{ return m_resultConfiguration; }
133 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
134 inline void SetResultConfiguration(const ProtectedQueryResultConfiguration& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = value; }
135 inline void SetResultConfiguration(ProtectedQueryResultConfiguration&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::move(value); }
139
141
144 inline const ProtectedQueryStatistics& GetStatistics() const{ return m_statistics; }
145 inline bool StatisticsHasBeenSet() const { return m_statisticsHasBeenSet; }
146 inline void SetStatistics(const ProtectedQueryStatistics& value) { m_statisticsHasBeenSet = true; m_statistics = value; }
147 inline void SetStatistics(ProtectedQueryStatistics&& value) { m_statisticsHasBeenSet = true; m_statistics = std::move(value); }
148 inline ProtectedQuery& WithStatistics(const ProtectedQueryStatistics& value) { SetStatistics(value); return *this;}
149 inline ProtectedQuery& WithStatistics(ProtectedQueryStatistics&& value) { SetStatistics(std::move(value)); return *this;}
151
153
156 inline const ProtectedQueryResult& GetResult() const{ return m_result; }
157 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
158 inline void SetResult(const ProtectedQueryResult& value) { m_resultHasBeenSet = true; m_result = value; }
159 inline void SetResult(ProtectedQueryResult&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
160 inline ProtectedQuery& WithResult(const ProtectedQueryResult& value) { SetResult(value); return *this;}
161 inline ProtectedQuery& WithResult(ProtectedQueryResult&& value) { SetResult(std::move(value)); return *this;}
163
165
168 inline const ProtectedQueryError& GetError() const{ return m_error; }
169 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
170 inline void SetError(const ProtectedQueryError& value) { m_errorHasBeenSet = true; m_error = value; }
171 inline void SetError(ProtectedQueryError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
172 inline ProtectedQuery& WithError(const ProtectedQueryError& value) { SetError(value); return *this;}
173 inline ProtectedQuery& WithError(ProtectedQueryError&& value) { SetError(std::move(value)); return *this;}
175
177
181 inline const DifferentialPrivacyParameters& GetDifferentialPrivacy() const{ return m_differentialPrivacy; }
182 inline bool DifferentialPrivacyHasBeenSet() const { return m_differentialPrivacyHasBeenSet; }
183 inline void SetDifferentialPrivacy(const DifferentialPrivacyParameters& value) { m_differentialPrivacyHasBeenSet = true; m_differentialPrivacy = value; }
184 inline void SetDifferentialPrivacy(DifferentialPrivacyParameters&& value) { m_differentialPrivacyHasBeenSet = true; m_differentialPrivacy = std::move(value); }
188
190
193 inline const ComputeConfiguration& GetComputeConfiguration() const{ return m_computeConfiguration; }
194 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
195 inline void SetComputeConfiguration(const ComputeConfiguration& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = value; }
196 inline void SetComputeConfiguration(ComputeConfiguration&& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = std::move(value); }
198 inline ProtectedQuery& WithComputeConfiguration(ComputeConfiguration&& value) { SetComputeConfiguration(std::move(value)); return *this;}
200 private:
201
202 Aws::String m_id;
203 bool m_idHasBeenSet = false;
204
205 Aws::String m_membershipId;
206 bool m_membershipIdHasBeenSet = false;
207
208 Aws::String m_membershipArn;
209 bool m_membershipArnHasBeenSet = false;
210
211 Aws::Utils::DateTime m_createTime;
212 bool m_createTimeHasBeenSet = false;
213
214 ProtectedQuerySQLParameters m_sqlParameters;
215 bool m_sqlParametersHasBeenSet = false;
216
217 ProtectedQueryStatus m_status;
218 bool m_statusHasBeenSet = false;
219
220 ProtectedQueryResultConfiguration m_resultConfiguration;
221 bool m_resultConfigurationHasBeenSet = false;
222
223 ProtectedQueryStatistics m_statistics;
224 bool m_statisticsHasBeenSet = false;
225
226 ProtectedQueryResult m_result;
227 bool m_resultHasBeenSet = false;
228
229 ProtectedQueryError m_error;
230 bool m_errorHasBeenSet = false;
231
232 DifferentialPrivacyParameters m_differentialPrivacy;
233 bool m_differentialPrivacyHasBeenSet = false;
234
235 ComputeConfiguration m_computeConfiguration;
236 bool m_computeConfigurationHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace CleanRooms
241} // namespace Aws
const Aws::Utils::DateTime & GetCreateTime() const
const ProtectedQuerySQLParameters & GetSqlParameters() const
const ProtectedQueryError & GetError() const
ProtectedQuery & WithCreateTime(const Aws::Utils::DateTime &value)
ProtectedQuery & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMS_API ProtectedQuery & operator=(Aws::Utils::Json::JsonView jsonValue)
ProtectedQuery & WithMembershipArn(const Aws::String &value)
void SetMembershipId(const Aws::String &value)
ProtectedQuery & WithResultConfiguration(const ProtectedQueryResultConfiguration &value)
void SetMembershipId(const char *value)
void SetError(ProtectedQueryError &&value)
ProtectedQuery & WithId(const Aws::String &value)
ProtectedQuery & WithStatus(const ProtectedQueryStatus &value)
void SetResult(ProtectedQueryResult &&value)
ProtectedQuery & WithStatistics(const ProtectedQueryStatistics &value)
void SetStatus(const ProtectedQueryStatus &value)
const ProtectedQueryStatus & GetStatus() const
const Aws::String & GetMembershipArn() const
void SetStatistics(ProtectedQueryStatistics &&value)
ProtectedQuery & WithMembershipArn(const char *value)
void SetSqlParameters(ProtectedQuerySQLParameters &&value)
ProtectedQuery & WithSqlParameters(ProtectedQuerySQLParameters &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
ProtectedQuery & WithResult(ProtectedQueryResult &&value)
ProtectedQuery & WithDifferentialPrivacy(const DifferentialPrivacyParameters &value)
void SetId(const Aws::String &value)
void SetStatistics(const ProtectedQueryStatistics &value)
ProtectedQuery & WithError(ProtectedQueryError &&value)
ProtectedQuery & WithDifferentialPrivacy(DifferentialPrivacyParameters &&value)
void SetDifferentialPrivacy(DifferentialPrivacyParameters &&value)
void SetSqlParameters(const ProtectedQuerySQLParameters &value)
void SetStatus(ProtectedQueryStatus &&value)
const ProtectedQueryStatistics & GetStatistics() const
const ComputeConfiguration & GetComputeConfiguration() const
ProtectedQuery & WithId(const char *value)
const Aws::String & GetMembershipId() const
ProtectedQuery & WithError(const ProtectedQueryError &value)
ProtectedQuery & WithStatus(ProtectedQueryStatus &&value)
ProtectedQuery & WithResult(const ProtectedQueryResult &value)
ProtectedQuery & WithMembershipId(Aws::String &&value)
const ProtectedQueryResult & GetResult() const
void SetDifferentialPrivacy(const DifferentialPrivacyParameters &value)
void SetComputeConfiguration(ComputeConfiguration &&value)
ProtectedQuery & WithComputeConfiguration(const ComputeConfiguration &value)
void SetMembershipId(Aws::String &&value)
ProtectedQuery & WithMembershipArn(Aws::String &&value)
ProtectedQuery & WithSqlParameters(const ProtectedQuerySQLParameters &value)
void SetMembershipArn(const char *value)
void SetMembershipArn(const Aws::String &value)
ProtectedQuery & WithComputeConfiguration(ComputeConfiguration &&value)
AWS_CLEANROOMS_API ProtectedQuery(Aws::Utils::Json::JsonView jsonValue)
void SetCreateTime(Aws::Utils::DateTime &&value)
const DifferentialPrivacyParameters & GetDifferentialPrivacy() const
ProtectedQuery & WithMembershipId(const char *value)
void SetMembershipArn(Aws::String &&value)
void SetResultConfiguration(const ProtectedQueryResultConfiguration &value)
void SetResult(const ProtectedQueryResult &value)
void SetError(const ProtectedQueryError &value)
const ProtectedQueryResultConfiguration & GetResultConfiguration() const
ProtectedQuery & WithResultConfiguration(ProtectedQueryResultConfiguration &&value)
ProtectedQuery & WithMembershipId(const Aws::String &value)
ProtectedQuery & WithId(Aws::String &&value)
const Aws::String & GetId() const
void SetComputeConfiguration(const ComputeConfiguration &value)
ProtectedQuery & WithStatistics(ProtectedQueryStatistics &&value)
void SetResultConfiguration(ProtectedQueryResultConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue