AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollaborationPrivacyBudgetSummary.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:
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 CollaborationPrivacyBudgetSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline CollaborationPrivacyBudgetSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline CollaborationPrivacyBudgetSummary& 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); }
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); }
86
88
92 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
93 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
94 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
95 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
96 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
98 inline CollaborationPrivacyBudgetSummary& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
99 inline CollaborationPrivacyBudgetSummary& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
101
103
106 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
107 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
108 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
109 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
110 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
113 inline CollaborationPrivacyBudgetSummary& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
115
117
120 inline const Aws::String& GetCreatorAccountId() const{ return m_creatorAccountId; }
121 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
122 inline void SetCreatorAccountId(const Aws::String& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = value; }
123 inline void SetCreatorAccountId(Aws::String&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::move(value); }
124 inline void SetCreatorAccountId(const char* value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId.assign(value); }
127 inline CollaborationPrivacyBudgetSummary& WithCreatorAccountId(const char* value) { SetCreatorAccountId(value); return *this;}
129
131
134 inline const PrivacyBudgetType& GetType() const{ return m_type; }
135 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
136 inline void SetType(const PrivacyBudgetType& value) { m_typeHasBeenSet = true; m_type = value; }
137 inline void SetType(PrivacyBudgetType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
138 inline CollaborationPrivacyBudgetSummary& WithType(const PrivacyBudgetType& value) { SetType(value); return *this;}
139 inline CollaborationPrivacyBudgetSummary& WithType(PrivacyBudgetType&& value) { SetType(std::move(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
147 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
148 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
149 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
151 inline CollaborationPrivacyBudgetSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
153
155
158 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
159 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
160 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
161 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
163 inline CollaborationPrivacyBudgetSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
165
167
170 inline const PrivacyBudget& GetBudget() const{ return m_budget; }
171 inline bool BudgetHasBeenSet() const { return m_budgetHasBeenSet; }
172 inline void SetBudget(const PrivacyBudget& value) { m_budgetHasBeenSet = true; m_budget = value; }
173 inline void SetBudget(PrivacyBudget&& value) { m_budgetHasBeenSet = true; m_budget = std::move(value); }
174 inline CollaborationPrivacyBudgetSummary& WithBudget(const PrivacyBudget& value) { SetBudget(value); return *this;}
175 inline CollaborationPrivacyBudgetSummary& WithBudget(PrivacyBudget&& value) { SetBudget(std::move(value)); return *this;}
177 private:
178
179 Aws::String m_id;
180 bool m_idHasBeenSet = false;
181
182 Aws::String m_privacyBudgetTemplateId;
183 bool m_privacyBudgetTemplateIdHasBeenSet = false;
184
185 Aws::String m_privacyBudgetTemplateArn;
186 bool m_privacyBudgetTemplateArnHasBeenSet = false;
187
188 Aws::String m_collaborationId;
189 bool m_collaborationIdHasBeenSet = false;
190
191 Aws::String m_collaborationArn;
192 bool m_collaborationArnHasBeenSet = false;
193
194 Aws::String m_creatorAccountId;
195 bool m_creatorAccountIdHasBeenSet = false;
196
197 PrivacyBudgetType m_type;
198 bool m_typeHasBeenSet = false;
199
200 Aws::Utils::DateTime m_createTime;
201 bool m_createTimeHasBeenSet = false;
202
203 Aws::Utils::DateTime m_updateTime;
204 bool m_updateTimeHasBeenSet = false;
205
206 PrivacyBudget m_budget;
207 bool m_budgetHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace CleanRooms
212} // namespace Aws
CollaborationPrivacyBudgetSummary & WithType(PrivacyBudgetType &&value)
CollaborationPrivacyBudgetSummary & WithPrivacyBudgetTemplateArn(const char *value)
AWS_CLEANROOMS_API CollaborationPrivacyBudgetSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
CollaborationPrivacyBudgetSummary & WithPrivacyBudgetTemplateId(Aws::String &&value)
CollaborationPrivacyBudgetSummary & WithPrivacyBudgetTemplateArn(Aws::String &&value)
CollaborationPrivacyBudgetSummary & WithCollaborationArn(Aws::String &&value)
CollaborationPrivacyBudgetSummary & WithId(const Aws::String &value)
CollaborationPrivacyBudgetSummary & WithCreatorAccountId(Aws::String &&value)
CollaborationPrivacyBudgetSummary & WithPrivacyBudgetTemplateArn(const Aws::String &value)
AWS_CLEANROOMS_API CollaborationPrivacyBudgetSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CollaborationPrivacyBudgetSummary & WithBudget(const PrivacyBudget &value)
CollaborationPrivacyBudgetSummary & WithCreateTime(Aws::Utils::DateTime &&value)
CollaborationPrivacyBudgetSummary & WithCollaborationArn(const Aws::String &value)
CollaborationPrivacyBudgetSummary & WithPrivacyBudgetTemplateId(const char *value)
CollaborationPrivacyBudgetSummary & WithCreatorAccountId(const char *value)
CollaborationPrivacyBudgetSummary & WithId(const char *value)
CollaborationPrivacyBudgetSummary & WithCollaborationId(Aws::String &&value)
CollaborationPrivacyBudgetSummary & WithBudget(PrivacyBudget &&value)
CollaborationPrivacyBudgetSummary & WithType(const PrivacyBudgetType &value)
CollaborationPrivacyBudgetSummary & WithCreatorAccountId(const Aws::String &value)
CollaborationPrivacyBudgetSummary & WithCollaborationId(const char *value)
CollaborationPrivacyBudgetSummary & WithCreateTime(const Aws::Utils::DateTime &value)
CollaborationPrivacyBudgetSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
CollaborationPrivacyBudgetSummary & WithPrivacyBudgetTemplateId(const Aws::String &value)
CollaborationPrivacyBudgetSummary & WithCollaborationArn(const char *value)
CollaborationPrivacyBudgetSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
CollaborationPrivacyBudgetSummary & WithCollaborationId(const Aws::String &value)
CollaborationPrivacyBudgetSummary & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue