AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
ProtectedQuerySummary.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/IntermediateTableOutputConfiguration.h>
9#include <aws/cleanrooms/model/ProtectedQueryStatus.h>
10#include <aws/cleanrooms/model/ReceiverConfiguration.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.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 ProtectedQuerySummary() = default;
38 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
63 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
64 template <typename MembershipIdT = Aws::String>
65 void SetMembershipId(MembershipIdT&& value) {
66 m_membershipIdHasBeenSet = true;
67 m_membershipId = std::forward<MembershipIdT>(value);
68 }
69 template <typename MembershipIdT = Aws::String>
70 ProtectedQuerySummary& WithMembershipId(MembershipIdT&& value) {
71 SetMembershipId(std::forward<MembershipIdT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
81 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
82 template <typename MembershipArnT = Aws::String>
83 void SetMembershipArn(MembershipArnT&& value) {
84 m_membershipArnHasBeenSet = true;
85 m_membershipArn = std::forward<MembershipArnT>(value);
86 }
87 template <typename MembershipArnT = Aws::String>
88 ProtectedQuerySummary& WithMembershipArn(MembershipArnT&& value) {
89 SetMembershipArn(std::forward<MembershipArnT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
99 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
100 template <typename CreateTimeT = Aws::Utils::DateTime>
101 void SetCreateTime(CreateTimeT&& value) {
102 m_createTimeHasBeenSet = true;
103 m_createTime = std::forward<CreateTimeT>(value);
104 }
105 template <typename CreateTimeT = Aws::Utils::DateTime>
106 ProtectedQuerySummary& WithCreateTime(CreateTimeT&& value) {
107 SetCreateTime(std::forward<CreateTimeT>(value));
108 return *this;
109 }
111
113
116 inline ProtectedQueryStatus GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(ProtectedQueryStatus value) {
119 m_statusHasBeenSet = true;
120 m_status = value;
121 }
123 SetStatus(value);
124 return *this;
125 }
127
129
132 inline const Aws::Vector<ReceiverConfiguration>& GetReceiverConfigurations() const { return m_receiverConfigurations; }
133 inline bool ReceiverConfigurationsHasBeenSet() const { return m_receiverConfigurationsHasBeenSet; }
134 template <typename ReceiverConfigurationsT = Aws::Vector<ReceiverConfiguration>>
135 void SetReceiverConfigurations(ReceiverConfigurationsT&& value) {
136 m_receiverConfigurationsHasBeenSet = true;
137 m_receiverConfigurations = std::forward<ReceiverConfigurationsT>(value);
138 }
139 template <typename ReceiverConfigurationsT = Aws::Vector<ReceiverConfiguration>>
140 ProtectedQuerySummary& WithReceiverConfigurations(ReceiverConfigurationsT&& value) {
141 SetReceiverConfigurations(std::forward<ReceiverConfigurationsT>(value));
142 return *this;
143 }
144 template <typename ReceiverConfigurationsT = ReceiverConfiguration>
145 ProtectedQuerySummary& AddReceiverConfigurations(ReceiverConfigurationsT&& value) {
146 m_receiverConfigurationsHasBeenSet = true;
147 m_receiverConfigurations.emplace_back(std::forward<ReceiverConfigurationsT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetQueryComputePayerAccountId() const { return m_queryComputePayerAccountId; }
157 inline bool QueryComputePayerAccountIdHasBeenSet() const { return m_queryComputePayerAccountIdHasBeenSet; }
158 template <typename QueryComputePayerAccountIdT = Aws::String>
159 void SetQueryComputePayerAccountId(QueryComputePayerAccountIdT&& value) {
160 m_queryComputePayerAccountIdHasBeenSet = true;
161 m_queryComputePayerAccountId = std::forward<QueryComputePayerAccountIdT>(value);
162 }
163 template <typename QueryComputePayerAccountIdT = Aws::String>
164 ProtectedQuerySummary& WithQueryComputePayerAccountId(QueryComputePayerAccountIdT&& value) {
165 SetQueryComputePayerAccountId(std::forward<QueryComputePayerAccountIdT>(value));
166 return *this;
167 }
169
171
175 inline const IntermediateTableOutputConfiguration& GetIntermediateTableConfiguration() const { return m_intermediateTableConfiguration; }
176 inline bool IntermediateTableConfigurationHasBeenSet() const { return m_intermediateTableConfigurationHasBeenSet; }
177 template <typename IntermediateTableConfigurationT = IntermediateTableOutputConfiguration>
178 void SetIntermediateTableConfiguration(IntermediateTableConfigurationT&& value) {
179 m_intermediateTableConfigurationHasBeenSet = true;
180 m_intermediateTableConfiguration = std::forward<IntermediateTableConfigurationT>(value);
181 }
182 template <typename IntermediateTableConfigurationT = IntermediateTableOutputConfiguration>
183 ProtectedQuerySummary& WithIntermediateTableConfiguration(IntermediateTableConfigurationT&& value) {
184 SetIntermediateTableConfiguration(std::forward<IntermediateTableConfigurationT>(value));
185 return *this;
186 }
188 private:
189 Aws::String m_id;
190
191 Aws::String m_membershipId;
192
193 Aws::String m_membershipArn;
194
195 Aws::Utils::DateTime m_createTime{};
196
198
199 Aws::Vector<ReceiverConfiguration> m_receiverConfigurations;
200
201 Aws::String m_queryComputePayerAccountId;
202
203 IntermediateTableOutputConfiguration m_intermediateTableConfiguration;
204 bool m_idHasBeenSet = false;
205 bool m_membershipIdHasBeenSet = false;
206 bool m_membershipArnHasBeenSet = false;
207 bool m_createTimeHasBeenSet = false;
208 bool m_statusHasBeenSet = false;
209 bool m_receiverConfigurationsHasBeenSet = false;
210 bool m_queryComputePayerAccountIdHasBeenSet = false;
211 bool m_intermediateTableConfigurationHasBeenSet = false;
212};
213
214} // namespace Model
215} // namespace CleanRooms
216} // namespace Aws
const IntermediateTableOutputConfiguration & GetIntermediateTableConfiguration() const
ProtectedQuerySummary & WithIntermediateTableConfiguration(IntermediateTableConfigurationT &&value)
AWS_CLEANROOMS_API ProtectedQuerySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIntermediateTableConfiguration(IntermediateTableConfigurationT &&value)
ProtectedQuerySummary & WithId(IdT &&value)
AWS_CLEANROOMS_API ProtectedQuerySummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreateTime() const
ProtectedQuerySummary & WithMembershipArn(MembershipArnT &&value)
ProtectedQuerySummary & WithReceiverConfigurations(ReceiverConfigurationsT &&value)
ProtectedQuerySummary & WithQueryComputePayerAccountId(QueryComputePayerAccountIdT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReceiverConfigurations(ReceiverConfigurationsT &&value)
ProtectedQuerySummary & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API ProtectedQuerySummary()=default
ProtectedQuerySummary & AddReceiverConfigurations(ReceiverConfigurationsT &&value)
const Aws::Vector< ReceiverConfiguration > & GetReceiverConfigurations() const
ProtectedQuerySummary & WithStatus(ProtectedQueryStatus value)
void SetQueryComputePayerAccountId(QueryComputePayerAccountIdT &&value)
ProtectedQuerySummary & WithMembershipId(MembershipIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue