AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrivacyBudgetSummary.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/PrivacyBudgetType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/cleanrooms/model/PrivacyBudget.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace CleanRooms
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_CLEANROOMS_API PrivacyBudgetSummary();
40 AWS_CLEANROOMS_API PrivacyBudgetSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetId() const{ return m_id; }
50 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
51 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
52 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
53 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
54 inline PrivacyBudgetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline PrivacyBudgetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline PrivacyBudgetSummary& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetPrivacyBudgetTemplateId() const{ return m_privacyBudgetTemplateId; }
64 inline bool PrivacyBudgetTemplateIdHasBeenSet() const { return m_privacyBudgetTemplateIdHasBeenSet; }
65 inline void SetPrivacyBudgetTemplateId(const Aws::String& value) { m_privacyBudgetTemplateIdHasBeenSet = true; m_privacyBudgetTemplateId = value; }
66 inline void SetPrivacyBudgetTemplateId(Aws::String&& value) { m_privacyBudgetTemplateIdHasBeenSet = true; m_privacyBudgetTemplateId = std::move(value); }
67 inline void SetPrivacyBudgetTemplateId(const char* value) { m_privacyBudgetTemplateIdHasBeenSet = true; m_privacyBudgetTemplateId.assign(value); }
70 inline PrivacyBudgetSummary& WithPrivacyBudgetTemplateId(const char* value) { SetPrivacyBudgetTemplateId(value); return *this;}
72
74
77 inline const Aws::String& GetPrivacyBudgetTemplateArn() const{ return m_privacyBudgetTemplateArn; }
78 inline bool PrivacyBudgetTemplateArnHasBeenSet() const { return m_privacyBudgetTemplateArnHasBeenSet; }
79 inline void SetPrivacyBudgetTemplateArn(const Aws::String& value) { m_privacyBudgetTemplateArnHasBeenSet = true; m_privacyBudgetTemplateArn = value; }
80 inline void SetPrivacyBudgetTemplateArn(Aws::String&& value) { m_privacyBudgetTemplateArnHasBeenSet = true; m_privacyBudgetTemplateArn = std::move(value); }
81 inline void SetPrivacyBudgetTemplateArn(const char* value) { m_privacyBudgetTemplateArnHasBeenSet = true; m_privacyBudgetTemplateArn.assign(value); }
84 inline PrivacyBudgetSummary& WithPrivacyBudgetTemplateArn(const char* value) { SetPrivacyBudgetTemplateArn(value); return *this;}
86
88
91 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
92 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
93 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
94 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
95 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
96 inline PrivacyBudgetSummary& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
97 inline PrivacyBudgetSummary& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
98 inline PrivacyBudgetSummary& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
100
102
106 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
107 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
108 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
109 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
110 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
111 inline PrivacyBudgetSummary& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
112 inline PrivacyBudgetSummary& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
113 inline PrivacyBudgetSummary& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
115
117
121 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
122 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
123 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
124 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
125 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
126 inline PrivacyBudgetSummary& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
127 inline PrivacyBudgetSummary& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
128 inline PrivacyBudgetSummary& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
130
132
135 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
136 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
137 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
138 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
139 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
140 inline PrivacyBudgetSummary& WithCollaborationArn(const Aws::String& value) { SetCollaborationArn(value); return *this;}
141 inline PrivacyBudgetSummary& WithCollaborationArn(Aws::String&& value) { SetCollaborationArn(std::move(value)); return *this;}
142 inline PrivacyBudgetSummary& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
144
146
149 inline const PrivacyBudgetType& GetType() const{ return m_type; }
150 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
151 inline void SetType(const PrivacyBudgetType& value) { m_typeHasBeenSet = true; m_type = value; }
152 inline void SetType(PrivacyBudgetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
153 inline PrivacyBudgetSummary& WithType(const PrivacyBudgetType& value) { SetType(value); return *this;}
154 inline PrivacyBudgetSummary& WithType(PrivacyBudgetType&& value) { SetType(std::move(value)); return *this;}
156
158
161 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
162 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
163 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
164 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
165 inline PrivacyBudgetSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
166 inline PrivacyBudgetSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
168
170
173 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
174 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
175 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
176 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
177 inline PrivacyBudgetSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
178 inline PrivacyBudgetSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
180
182
185 inline const PrivacyBudget& GetBudget() const{ return m_budget; }
186 inline bool BudgetHasBeenSet() const { return m_budgetHasBeenSet; }
187 inline void SetBudget(const PrivacyBudget& value) { m_budgetHasBeenSet = true; m_budget = value; }
188 inline void SetBudget(PrivacyBudget&& value) { m_budgetHasBeenSet = true; m_budget = std::move(value); }
189 inline PrivacyBudgetSummary& WithBudget(const PrivacyBudget& value) { SetBudget(value); return *this;}
190 inline PrivacyBudgetSummary& WithBudget(PrivacyBudget&& value) { SetBudget(std::move(value)); return *this;}
192 private:
193
194 Aws::String m_id;
195 bool m_idHasBeenSet = false;
196
197 Aws::String m_privacyBudgetTemplateId;
198 bool m_privacyBudgetTemplateIdHasBeenSet = false;
199
200 Aws::String m_privacyBudgetTemplateArn;
201 bool m_privacyBudgetTemplateArnHasBeenSet = false;
202
203 Aws::String m_membershipId;
204 bool m_membershipIdHasBeenSet = false;
205
206 Aws::String m_membershipArn;
207 bool m_membershipArnHasBeenSet = false;
208
209 Aws::String m_collaborationId;
210 bool m_collaborationIdHasBeenSet = false;
211
212 Aws::String m_collaborationArn;
213 bool m_collaborationArnHasBeenSet = false;
214
215 PrivacyBudgetType m_type;
216 bool m_typeHasBeenSet = false;
217
218 Aws::Utils::DateTime m_createTime;
219 bool m_createTimeHasBeenSet = false;
220
221 Aws::Utils::DateTime m_updateTime;
222 bool m_updateTimeHasBeenSet = false;
223
224 PrivacyBudget m_budget;
225 bool m_budgetHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace CleanRooms
230} // namespace Aws
void SetUpdateTime(Aws::Utils::DateTime &&value)
PrivacyBudgetSummary & WithMembershipArn(const Aws::String &value)
void SetType(const PrivacyBudgetType &value)
PrivacyBudgetSummary & WithBudget(const PrivacyBudget &value)
void SetPrivacyBudgetTemplateId(const Aws::String &value)
PrivacyBudgetSummary & WithPrivacyBudgetTemplateId(const Aws::String &value)
PrivacyBudgetSummary & WithId(const char *value)
PrivacyBudgetSummary & WithBudget(PrivacyBudget &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
PrivacyBudgetSummary & WithMembershipId(const char *value)
PrivacyBudgetSummary & WithType(PrivacyBudgetType &&value)
PrivacyBudgetSummary & WithCollaborationId(Aws::String &&value)
PrivacyBudgetSummary & WithCollaborationId(const Aws::String &value)
PrivacyBudgetSummary & WithMembershipArn(const char *value)
PrivacyBudgetSummary & WithMembershipId(Aws::String &&value)
PrivacyBudgetSummary & WithCollaborationId(const char *value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
PrivacyBudgetSummary & WithPrivacyBudgetTemplateId(const char *value)
PrivacyBudgetSummary & WithCreateTime(Aws::Utils::DateTime &&value)
PrivacyBudgetSummary & WithPrivacyBudgetTemplateArn(const char *value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreateTime() const
PrivacyBudgetSummary & WithType(const PrivacyBudgetType &value)
const Aws::String & GetPrivacyBudgetTemplateId() const
void SetPrivacyBudgetTemplateArn(const Aws::String &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
PrivacyBudgetSummary & WithCollaborationArn(Aws::String &&value)
const Aws::String & GetPrivacyBudgetTemplateArn() const
PrivacyBudgetSummary & WithPrivacyBudgetTemplateId(Aws::String &&value)
PrivacyBudgetSummary & WithMembershipId(const Aws::String &value)
void SetCollaborationId(const Aws::String &value)
PrivacyBudgetSummary & WithId(const Aws::String &value)
PrivacyBudgetSummary & WithPrivacyBudgetTemplateArn(const Aws::String &value)
PrivacyBudgetSummary & WithCollaborationArn(const Aws::String &value)
AWS_CLEANROOMS_API PrivacyBudgetSummary(Aws::Utils::Json::JsonView jsonValue)
PrivacyBudgetSummary & WithCollaborationArn(const char *value)
AWS_CLEANROOMS_API PrivacyBudgetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivacyBudgetSummary & WithPrivacyBudgetTemplateArn(Aws::String &&value)
PrivacyBudgetSummary & WithCreateTime(const Aws::Utils::DateTime &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetCollaborationArn(const Aws::String &value)
PrivacyBudgetSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
PrivacyBudgetSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
PrivacyBudgetSummary & WithMembershipArn(Aws::String &&value)
PrivacyBudgetSummary & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue