AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrivacyBudgetTemplate.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/PrivacyBudgetType.h>
11#include <aws/cleanrooms/model/PrivacyBudgetTemplateAutoRefresh.h>
12#include <aws/cleanrooms/model/PrivacyBudgetTemplateParametersOutput.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CleanRooms
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_CLEANROOMS_API PrivacyBudgetTemplate();
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 PrivacyBudgetTemplate& WithId(const Aws::String& value) { SetId(value); return *this;}
55 inline PrivacyBudgetTemplate& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
56 inline PrivacyBudgetTemplate& WithId(const char* value) { SetId(value); return *this;}
58
60
63 inline const Aws::String& GetArn() const{ return m_arn; }
64 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
65 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 inline PrivacyBudgetTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline PrivacyBudgetTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline PrivacyBudgetTemplate& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
78 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
79 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
80 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
81 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
82 inline PrivacyBudgetTemplate& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
83 inline PrivacyBudgetTemplate& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
84 inline PrivacyBudgetTemplate& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
86
88
92 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
93 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
94 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
95 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
96 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
97 inline PrivacyBudgetTemplate& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
98 inline PrivacyBudgetTemplate& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
99 inline PrivacyBudgetTemplate& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
101
103
107 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
108 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
109 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
110 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
111 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
112 inline PrivacyBudgetTemplate& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
113 inline PrivacyBudgetTemplate& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
114 inline PrivacyBudgetTemplate& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
116
118
121 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
122 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
123 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
124 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
125 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
126 inline PrivacyBudgetTemplate& WithCollaborationArn(const Aws::String& value) { SetCollaborationArn(value); return *this;}
127 inline PrivacyBudgetTemplate& WithCollaborationArn(Aws::String&& value) { SetCollaborationArn(std::move(value)); return *this;}
128 inline PrivacyBudgetTemplate& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
136 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
137 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
138 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
139 inline PrivacyBudgetTemplate& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
140 inline PrivacyBudgetTemplate& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
142
144
147 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
148 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
149 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
150 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
151 inline PrivacyBudgetTemplate& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
152 inline PrivacyBudgetTemplate& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
154
156
159 inline const PrivacyBudgetType& GetPrivacyBudgetType() const{ return m_privacyBudgetType; }
160 inline bool PrivacyBudgetTypeHasBeenSet() const { return m_privacyBudgetTypeHasBeenSet; }
161 inline void SetPrivacyBudgetType(const PrivacyBudgetType& value) { m_privacyBudgetTypeHasBeenSet = true; m_privacyBudgetType = value; }
162 inline void SetPrivacyBudgetType(PrivacyBudgetType&& value) { m_privacyBudgetTypeHasBeenSet = true; m_privacyBudgetType = std::move(value); }
164 inline PrivacyBudgetTemplate& WithPrivacyBudgetType(PrivacyBudgetType&& value) { SetPrivacyBudgetType(std::move(value)); return *this;}
166
168
177 inline const PrivacyBudgetTemplateAutoRefresh& GetAutoRefresh() const{ return m_autoRefresh; }
178 inline bool AutoRefreshHasBeenSet() const { return m_autoRefreshHasBeenSet; }
179 inline void SetAutoRefresh(const PrivacyBudgetTemplateAutoRefresh& value) { m_autoRefreshHasBeenSet = true; m_autoRefresh = value; }
180 inline void SetAutoRefresh(PrivacyBudgetTemplateAutoRefresh&& value) { m_autoRefreshHasBeenSet = true; m_autoRefresh = std::move(value); }
184
186
190 inline const PrivacyBudgetTemplateParametersOutput& GetParameters() const{ return m_parameters; }
191 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
192 inline void SetParameters(const PrivacyBudgetTemplateParametersOutput& value) { m_parametersHasBeenSet = true; m_parameters = value; }
193 inline void SetParameters(PrivacyBudgetTemplateParametersOutput&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
197 private:
198
199 Aws::String m_id;
200 bool m_idHasBeenSet = false;
201
202 Aws::String m_arn;
203 bool m_arnHasBeenSet = 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::String m_collaborationId;
212 bool m_collaborationIdHasBeenSet = false;
213
214 Aws::String m_collaborationArn;
215 bool m_collaborationArnHasBeenSet = false;
216
217 Aws::Utils::DateTime m_createTime;
218 bool m_createTimeHasBeenSet = false;
219
220 Aws::Utils::DateTime m_updateTime;
221 bool m_updateTimeHasBeenSet = false;
222
223 PrivacyBudgetType m_privacyBudgetType;
224 bool m_privacyBudgetTypeHasBeenSet = false;
225
227 bool m_autoRefreshHasBeenSet = false;
228
230 bool m_parametersHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace CleanRooms
235} // namespace Aws
PrivacyBudgetTemplate & WithParameters(const PrivacyBudgetTemplateParametersOutput &value)
void SetAutoRefresh(const PrivacyBudgetTemplateAutoRefresh &value)
PrivacyBudgetTemplate & WithCollaborationId(Aws::String &&value)
PrivacyBudgetTemplate & WithCollaborationArn(const char *value)
PrivacyBudgetTemplate & WithCreateTime(Aws::Utils::DateTime &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
PrivacyBudgetTemplate & WithPrivacyBudgetType(PrivacyBudgetType &&value)
PrivacyBudgetTemplate & WithArn(Aws::String &&value)
PrivacyBudgetTemplate & WithAutoRefresh(const PrivacyBudgetTemplateAutoRefresh &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
const PrivacyBudgetTemplateParametersOutput & GetParameters() const
PrivacyBudgetTemplate & WithCollaborationArn(Aws::String &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
PrivacyBudgetTemplate & WithId(Aws::String &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
PrivacyBudgetTemplate & WithMembershipArn(const char *value)
void SetParameters(const PrivacyBudgetTemplateParametersOutput &value)
PrivacyBudgetTemplate & WithMembershipId(Aws::String &&value)
PrivacyBudgetTemplate & WithId(const Aws::String &value)
AWS_CLEANROOMS_API PrivacyBudgetTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetPrivacyBudgetType(PrivacyBudgetType &&value)
const Aws::Utils::DateTime & GetCreateTime() const
PrivacyBudgetTemplate & WithCreateTime(const Aws::Utils::DateTime &value)
PrivacyBudgetTemplate & WithMembershipArn(Aws::String &&value)
void SetAutoRefresh(PrivacyBudgetTemplateAutoRefresh &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
void SetParameters(PrivacyBudgetTemplateParametersOutput &&value)
PrivacyBudgetTemplate & WithUpdateTime(Aws::Utils::DateTime &&value)
PrivacyBudgetTemplate & WithPrivacyBudgetType(const PrivacyBudgetType &value)
const PrivacyBudgetType & GetPrivacyBudgetType() const
PrivacyBudgetTemplate & WithArn(const Aws::String &value)
void SetPrivacyBudgetType(const PrivacyBudgetType &value)
PrivacyBudgetTemplate & WithParameters(PrivacyBudgetTemplateParametersOutput &&value)
const PrivacyBudgetTemplateAutoRefresh & GetAutoRefresh() const
PrivacyBudgetTemplate & WithAutoRefresh(PrivacyBudgetTemplateAutoRefresh &&value)
PrivacyBudgetTemplate & WithCollaborationArn(const Aws::String &value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
PrivacyBudgetTemplate & WithMembershipId(const char *value)
PrivacyBudgetTemplate & WithArn(const char *value)
PrivacyBudgetTemplate & WithMembershipArn(const Aws::String &value)
PrivacyBudgetTemplate & WithMembershipId(const Aws::String &value)
PrivacyBudgetTemplate & WithCollaborationId(const char *value)
PrivacyBudgetTemplate & WithCollaborationId(const Aws::String &value)
PrivacyBudgetTemplate & WithId(const char *value)
AWS_CLEANROOMS_API PrivacyBudgetTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
PrivacyBudgetTemplate & WithUpdateTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue