AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CollaborationPrivacyBudgetTemplate.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/PrivacyBudgetTemplateAutoRefresh.h>
9#include <aws/cleanrooms/model/PrivacyBudgetTemplateParametersOutput.h>
10#include <aws/cleanrooms/model/PrivacyBudgetType.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 CleanRooms {
24namespace Model {
25
33 public:
34 AWS_CLEANROOMS_API CollaborationPrivacyBudgetTemplate() = default;
37 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetArn() const { return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 template <typename ArnT = Aws::String>
64 void SetArn(ArnT&& value) {
65 m_arnHasBeenSet = true;
66 m_arn = std::forward<ArnT>(value);
67 }
68 template <typename ArnT = Aws::String>
70 SetArn(std::forward<ArnT>(value));
71 return *this;
72 }
74
76
80 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
81 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
82 template <typename CollaborationIdT = Aws::String>
83 void SetCollaborationId(CollaborationIdT&& value) {
84 m_collaborationIdHasBeenSet = true;
85 m_collaborationId = std::forward<CollaborationIdT>(value);
86 }
87 template <typename CollaborationIdT = Aws::String>
89 SetCollaborationId(std::forward<CollaborationIdT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
100 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
101 template <typename CollaborationArnT = Aws::String>
102 void SetCollaborationArn(CollaborationArnT&& value) {
103 m_collaborationArnHasBeenSet = true;
104 m_collaborationArn = std::forward<CollaborationArnT>(value);
105 }
106 template <typename CollaborationArnT = Aws::String>
108 SetCollaborationArn(std::forward<CollaborationArnT>(value));
109 return *this;
110 }
112
114
118 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
119 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
120 template <typename CreatorAccountIdT = Aws::String>
121 void SetCreatorAccountId(CreatorAccountIdT&& value) {
122 m_creatorAccountIdHasBeenSet = true;
123 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
124 }
125 template <typename CreatorAccountIdT = Aws::String>
127 SetCreatorAccountId(std::forward<CreatorAccountIdT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
137 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
138 template <typename CreateTimeT = Aws::Utils::DateTime>
139 void SetCreateTime(CreateTimeT&& value) {
140 m_createTimeHasBeenSet = true;
141 m_createTime = std::forward<CreateTimeT>(value);
142 }
143 template <typename CreateTimeT = Aws::Utils::DateTime>
145 SetCreateTime(std::forward<CreateTimeT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
156 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
157 template <typename UpdateTimeT = Aws::Utils::DateTime>
158 void SetUpdateTime(UpdateTimeT&& value) {
159 m_updateTimeHasBeenSet = true;
160 m_updateTime = std::forward<UpdateTimeT>(value);
161 }
162 template <typename UpdateTimeT = Aws::Utils::DateTime>
164 SetUpdateTime(std::forward<UpdateTimeT>(value));
165 return *this;
166 }
168
170
173 inline PrivacyBudgetType GetPrivacyBudgetType() const { return m_privacyBudgetType; }
174 inline bool PrivacyBudgetTypeHasBeenSet() const { return m_privacyBudgetTypeHasBeenSet; }
176 m_privacyBudgetTypeHasBeenSet = true;
177 m_privacyBudgetType = value;
178 }
181 return *this;
182 }
184
186
195 inline PrivacyBudgetTemplateAutoRefresh GetAutoRefresh() const { return m_autoRefresh; }
196 inline bool AutoRefreshHasBeenSet() const { return m_autoRefreshHasBeenSet; }
198 m_autoRefreshHasBeenSet = true;
199 m_autoRefresh = value;
200 }
202 SetAutoRefresh(value);
203 return *this;
204 }
206
208
212 inline const PrivacyBudgetTemplateParametersOutput& GetParameters() const { return m_parameters; }
213 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
214 template <typename ParametersT = PrivacyBudgetTemplateParametersOutput>
215 void SetParameters(ParametersT&& value) {
216 m_parametersHasBeenSet = true;
217 m_parameters = std::forward<ParametersT>(value);
218 }
219 template <typename ParametersT = PrivacyBudgetTemplateParametersOutput>
221 SetParameters(std::forward<ParametersT>(value));
222 return *this;
223 }
225 private:
226 Aws::String m_id;
227
228 Aws::String m_arn;
229
230 Aws::String m_collaborationId;
231
232 Aws::String m_collaborationArn;
233
234 Aws::String m_creatorAccountId;
235
236 Aws::Utils::DateTime m_createTime{};
237
238 Aws::Utils::DateTime m_updateTime{};
239
241
243
244 PrivacyBudgetTemplateParametersOutput m_parameters;
245 bool m_idHasBeenSet = false;
246 bool m_arnHasBeenSet = false;
247 bool m_collaborationIdHasBeenSet = false;
248 bool m_collaborationArnHasBeenSet = false;
249 bool m_creatorAccountIdHasBeenSet = false;
250 bool m_createTimeHasBeenSet = false;
251 bool m_updateTimeHasBeenSet = false;
252 bool m_privacyBudgetTypeHasBeenSet = false;
253 bool m_autoRefreshHasBeenSet = false;
254 bool m_parametersHasBeenSet = false;
255};
256
257} // namespace Model
258} // namespace CleanRooms
259} // namespace Aws
CollaborationPrivacyBudgetTemplate & WithCreatorAccountId(CreatorAccountIdT &&value)
CollaborationPrivacyBudgetTemplate & WithCollaborationId(CollaborationIdT &&value)
const PrivacyBudgetTemplateParametersOutput & GetParameters() const
CollaborationPrivacyBudgetTemplate & WithCreateTime(CreateTimeT &&value)
CollaborationPrivacyBudgetTemplate & WithPrivacyBudgetType(PrivacyBudgetType value)
AWS_CLEANROOMS_API CollaborationPrivacyBudgetTemplate(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API CollaborationPrivacyBudgetTemplate()=default
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
CollaborationPrivacyBudgetTemplate & WithParameters(ParametersT &&value)
AWS_CLEANROOMS_API CollaborationPrivacyBudgetTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
CollaborationPrivacyBudgetTemplate & WithCollaborationArn(CollaborationArnT &&value)
CollaborationPrivacyBudgetTemplate & WithUpdateTime(UpdateTimeT &&value)
CollaborationPrivacyBudgetTemplate & WithAutoRefresh(PrivacyBudgetTemplateAutoRefresh value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue