AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ConfiguredAudienceModelAssociation.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CleanRooms
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation() = default;
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetId() const { return m_id; }
47 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
48 template<typename IdT = Aws::String>
49 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
50 template<typename IdT = Aws::String>
51 ConfiguredAudienceModelAssociation& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
53
55
59 inline const Aws::String& GetArn() const { return m_arn; }
60 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 ConfiguredAudienceModelAssociation& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetConfiguredAudienceModelArn() const { return m_configuredAudienceModelArn; }
73 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
74 template<typename ConfiguredAudienceModelArnT = Aws::String>
75 void SetConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::forward<ConfiguredAudienceModelArnT>(value); }
76 template<typename ConfiguredAudienceModelArnT = Aws::String>
77 ConfiguredAudienceModelAssociation& WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT&& value) { SetConfiguredAudienceModelArn(std::forward<ConfiguredAudienceModelArnT>(value)); return *this;}
79
81
85 inline const Aws::String& GetMembershipId() const { return m_membershipId; }
86 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
87 template<typename MembershipIdT = Aws::String>
88 void SetMembershipId(MembershipIdT&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::forward<MembershipIdT>(value); }
89 template<typename MembershipIdT = Aws::String>
90 ConfiguredAudienceModelAssociation& WithMembershipId(MembershipIdT&& value) { SetMembershipId(std::forward<MembershipIdT>(value)); return *this;}
92
94
98 inline const Aws::String& GetMembershipArn() const { return m_membershipArn; }
99 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
100 template<typename MembershipArnT = Aws::String>
101 void SetMembershipArn(MembershipArnT&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::forward<MembershipArnT>(value); }
102 template<typename MembershipArnT = Aws::String>
103 ConfiguredAudienceModelAssociation& WithMembershipArn(MembershipArnT&& value) { SetMembershipArn(std::forward<MembershipArnT>(value)); return *this;}
105
107
111 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
112 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
113 template<typename CollaborationIdT = Aws::String>
114 void SetCollaborationId(CollaborationIdT&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::forward<CollaborationIdT>(value); }
115 template<typename CollaborationIdT = Aws::String>
116 ConfiguredAudienceModelAssociation& WithCollaborationId(CollaborationIdT&& value) { SetCollaborationId(std::forward<CollaborationIdT>(value)); return *this;}
118
120
124 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
125 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
126 template<typename CollaborationArnT = Aws::String>
127 void SetCollaborationArn(CollaborationArnT&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::forward<CollaborationArnT>(value); }
128 template<typename CollaborationArnT = Aws::String>
129 ConfiguredAudienceModelAssociation& WithCollaborationArn(CollaborationArnT&& value) { SetCollaborationArn(std::forward<CollaborationArnT>(value)); return *this;}
131
133
136 inline const Aws::String& GetName() const { return m_name; }
137 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
138 template<typename NameT = Aws::String>
139 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
140 template<typename NameT = Aws::String>
141 ConfiguredAudienceModelAssociation& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
143
145
152 inline bool GetManageResourcePolicies() const { return m_manageResourcePolicies; }
153 inline bool ManageResourcePoliciesHasBeenSet() const { return m_manageResourcePoliciesHasBeenSet; }
154 inline void SetManageResourcePolicies(bool value) { m_manageResourcePoliciesHasBeenSet = true; m_manageResourcePolicies = value; }
157
159
162 inline const Aws::String& GetDescription() const { return m_description; }
163 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
164 template<typename DescriptionT = Aws::String>
165 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
166 template<typename DescriptionT = Aws::String>
167 ConfiguredAudienceModelAssociation& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
169
171
174 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
175 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
176 template<typename CreateTimeT = Aws::Utils::DateTime>
177 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
178 template<typename CreateTimeT = Aws::Utils::DateTime>
179 ConfiguredAudienceModelAssociation& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
181
183
187 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
188 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
189 template<typename UpdateTimeT = Aws::Utils::DateTime>
190 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
191 template<typename UpdateTimeT = Aws::Utils::DateTime>
192 ConfiguredAudienceModelAssociation& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
194 private:
195
196 Aws::String m_id;
197 bool m_idHasBeenSet = false;
198
199 Aws::String m_arn;
200 bool m_arnHasBeenSet = false;
201
202 Aws::String m_configuredAudienceModelArn;
203 bool m_configuredAudienceModelArnHasBeenSet = 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::String m_name;
218 bool m_nameHasBeenSet = false;
219
220 bool m_manageResourcePolicies{false};
221 bool m_manageResourcePoliciesHasBeenSet = false;
222
223 Aws::String m_description;
224 bool m_descriptionHasBeenSet = false;
225
226 Aws::Utils::DateTime m_createTime{};
227 bool m_createTimeHasBeenSet = false;
228
229 Aws::Utils::DateTime m_updateTime{};
230 bool m_updateTimeHasBeenSet = false;
231 };
232
233} // namespace Model
234} // namespace CleanRooms
235} // namespace Aws
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelAssociation & WithMembershipId(MembershipIdT &&value)
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelAssociation & WithCollaborationArn(CollaborationArnT &&value)
ConfiguredAudienceModelAssociation & WithManageResourcePolicies(bool value)
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation()=default
ConfiguredAudienceModelAssociation & WithCollaborationId(CollaborationIdT &&value)
ConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(ConfiguredAudienceModelArnT &&value)
ConfiguredAudienceModelAssociation & WithMembershipArn(MembershipArnT &&value)
ConfiguredAudienceModelAssociation & WithCreateTime(CreateTimeT &&value)
ConfiguredAudienceModelAssociation & WithDescription(DescriptionT &&value)
ConfiguredAudienceModelAssociation & WithUpdateTime(UpdateTimeT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue