AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CollaborationPrivacyBudgetTemplate.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 CollaborationPrivacyBudgetTemplate() = default;
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 template<typename IdT = Aws::String>
52 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
53 template<typename IdT = Aws::String>
54 CollaborationPrivacyBudgetTemplate& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
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) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
65 template<typename ArnT = Aws::String>
66 CollaborationPrivacyBudgetTemplate& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
68
70
74 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
75 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
76 template<typename CollaborationIdT = Aws::String>
77 void SetCollaborationId(CollaborationIdT&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::forward<CollaborationIdT>(value); }
78 template<typename CollaborationIdT = Aws::String>
79 CollaborationPrivacyBudgetTemplate& WithCollaborationId(CollaborationIdT&& value) { SetCollaborationId(std::forward<CollaborationIdT>(value)); return *this;}
81
83
87 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
88 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
89 template<typename CollaborationArnT = Aws::String>
90 void SetCollaborationArn(CollaborationArnT&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::forward<CollaborationArnT>(value); }
91 template<typename CollaborationArnT = Aws::String>
92 CollaborationPrivacyBudgetTemplate& WithCollaborationArn(CollaborationArnT&& value) { SetCollaborationArn(std::forward<CollaborationArnT>(value)); return *this;}
94
96
100 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
101 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
102 template<typename CreatorAccountIdT = Aws::String>
103 void SetCreatorAccountId(CreatorAccountIdT&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::forward<CreatorAccountIdT>(value); }
104 template<typename CreatorAccountIdT = Aws::String>
105 CollaborationPrivacyBudgetTemplate& WithCreatorAccountId(CreatorAccountIdT&& value) { SetCreatorAccountId(std::forward<CreatorAccountIdT>(value)); return *this;}
107
109
112 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
113 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
114 template<typename CreateTimeT = Aws::Utils::DateTime>
115 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
116 template<typename CreateTimeT = Aws::Utils::DateTime>
117 CollaborationPrivacyBudgetTemplate& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
119
121
125 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
126 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
127 template<typename UpdateTimeT = Aws::Utils::DateTime>
128 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
129 template<typename UpdateTimeT = Aws::Utils::DateTime>
130 CollaborationPrivacyBudgetTemplate& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
132
134
137 inline PrivacyBudgetType GetPrivacyBudgetType() const { return m_privacyBudgetType; }
138 inline bool PrivacyBudgetTypeHasBeenSet() const { return m_privacyBudgetTypeHasBeenSet; }
139 inline void SetPrivacyBudgetType(PrivacyBudgetType value) { m_privacyBudgetTypeHasBeenSet = true; m_privacyBudgetType = value; }
142
144
153 inline PrivacyBudgetTemplateAutoRefresh GetAutoRefresh() const { return m_autoRefresh; }
154 inline bool AutoRefreshHasBeenSet() const { return m_autoRefreshHasBeenSet; }
155 inline void SetAutoRefresh(PrivacyBudgetTemplateAutoRefresh value) { m_autoRefreshHasBeenSet = true; m_autoRefresh = value; }
158
160
164 inline const PrivacyBudgetTemplateParametersOutput& GetParameters() const { return m_parameters; }
165 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
166 template<typename ParametersT = PrivacyBudgetTemplateParametersOutput>
167 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet = true; m_parameters = std::forward<ParametersT>(value); }
168 template<typename ParametersT = PrivacyBudgetTemplateParametersOutput>
169 CollaborationPrivacyBudgetTemplate& WithParameters(ParametersT&& value) { SetParameters(std::forward<ParametersT>(value)); return *this;}
171 private:
172
173 Aws::String m_id;
174 bool m_idHasBeenSet = false;
175
176 Aws::String m_arn;
177 bool m_arnHasBeenSet = false;
178
179 Aws::String m_collaborationId;
180 bool m_collaborationIdHasBeenSet = false;
181
182 Aws::String m_collaborationArn;
183 bool m_collaborationArnHasBeenSet = false;
184
185 Aws::String m_creatorAccountId;
186 bool m_creatorAccountIdHasBeenSet = false;
187
188 Aws::Utils::DateTime m_createTime{};
189 bool m_createTimeHasBeenSet = false;
190
191 Aws::Utils::DateTime m_updateTime{};
192 bool m_updateTimeHasBeenSet = false;
193
195 bool m_privacyBudgetTypeHasBeenSet = false;
196
198 bool m_autoRefreshHasBeenSet = false;
199
200 PrivacyBudgetTemplateParametersOutput m_parameters;
201 bool m_parametersHasBeenSet = false;
202 };
203
204} // namespace Model
205} // namespace CleanRooms
206} // 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