AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
49 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
50 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
51 inline ConfiguredAudienceModelAssociation& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline ConfiguredAudienceModelAssociation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline ConfiguredAudienceModelAssociation& WithId(const char* value) { SetId(value); return *this;}
55
57
61 inline const Aws::String& GetArn() const{ return m_arn; }
62 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
63 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
64 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
65 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 inline ConfiguredAudienceModelAssociation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline ConfiguredAudienceModelAssociation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline ConfiguredAudienceModelAssociation& WithArn(const char* value) { SetArn(value); return *this;}
70
72
76 inline const Aws::String& GetConfiguredAudienceModelArn() const{ return m_configuredAudienceModelArn; }
77 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
78 inline void SetConfiguredAudienceModelArn(const Aws::String& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = value; }
79 inline void SetConfiguredAudienceModelArn(Aws::String&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::move(value); }
80 inline void SetConfiguredAudienceModelArn(const char* value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn.assign(value); }
85
87
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); }
97 inline ConfiguredAudienceModelAssociation& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
98 inline ConfiguredAudienceModelAssociation& 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); }
112 inline ConfiguredAudienceModelAssociation& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
113 inline ConfiguredAudienceModelAssociation& 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); }
128 inline ConfiguredAudienceModelAssociation& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
130
132
136 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
137 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
138 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
139 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
140 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
143 inline ConfiguredAudienceModelAssociation& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
145
147
150 inline const Aws::String& GetName() const{ return m_name; }
151 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
152 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
153 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
154 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
155 inline ConfiguredAudienceModelAssociation& WithName(const Aws::String& value) { SetName(value); return *this;}
156 inline ConfiguredAudienceModelAssociation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 inline ConfiguredAudienceModelAssociation& WithName(const char* value) { SetName(value); return *this;}
159
161
168 inline bool GetManageResourcePolicies() const{ return m_manageResourcePolicies; }
169 inline bool ManageResourcePoliciesHasBeenSet() const { return m_manageResourcePoliciesHasBeenSet; }
170 inline void SetManageResourcePolicies(bool value) { m_manageResourcePoliciesHasBeenSet = true; m_manageResourcePolicies = value; }
173
175
178 inline const Aws::String& GetDescription() const{ return m_description; }
179 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
180 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
181 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
182 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
184 inline ConfiguredAudienceModelAssociation& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
185 inline ConfiguredAudienceModelAssociation& WithDescription(const char* value) { SetDescription(value); return *this;}
187
189
192 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
193 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
194 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
195 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
197 inline ConfiguredAudienceModelAssociation& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
199
201
205 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
206 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
207 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
208 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
210 inline ConfiguredAudienceModelAssociation& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
212 private:
213
214 Aws::String m_id;
215 bool m_idHasBeenSet = false;
216
217 Aws::String m_arn;
218 bool m_arnHasBeenSet = false;
219
220 Aws::String m_configuredAudienceModelArn;
221 bool m_configuredAudienceModelArnHasBeenSet = false;
222
223 Aws::String m_membershipId;
224 bool m_membershipIdHasBeenSet = false;
225
226 Aws::String m_membershipArn;
227 bool m_membershipArnHasBeenSet = false;
228
229 Aws::String m_collaborationId;
230 bool m_collaborationIdHasBeenSet = false;
231
232 Aws::String m_collaborationArn;
233 bool m_collaborationArnHasBeenSet = false;
234
235 Aws::String m_name;
236 bool m_nameHasBeenSet = false;
237
238 bool m_manageResourcePolicies;
239 bool m_manageResourcePoliciesHasBeenSet = false;
240
241 Aws::String m_description;
242 bool m_descriptionHasBeenSet = false;
243
244 Aws::Utils::DateTime m_createTime;
245 bool m_createTimeHasBeenSet = false;
246
247 Aws::Utils::DateTime m_updateTime;
248 bool m_updateTimeHasBeenSet = false;
249 };
250
251} // namespace Model
252} // namespace CleanRooms
253} // namespace Aws
ConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(const char *value)
ConfiguredAudienceModelAssociation & WithDescription(const char *value)
ConfiguredAudienceModelAssociation & WithMembershipId(const char *value)
ConfiguredAudienceModelAssociation & WithCollaborationId(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithArn(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithArn(const char *value)
ConfiguredAudienceModelAssociation & WithId(const char *value)
ConfiguredAudienceModelAssociation & WithId(const Aws::String &value)
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelAssociation & WithMembershipId(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithCreateTime(Aws::Utils::DateTime &&value)
ConfiguredAudienceModelAssociation & WithArn(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithCollaborationArn(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithName(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithDescription(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithName(Aws::String &&value)
AWS_CLEANROOMS_API ConfiguredAudienceModelAssociation(Aws::Utils::Json::JsonView jsonValue)
ConfiguredAudienceModelAssociation & WithName(const char *value)
ConfiguredAudienceModelAssociation & WithManageResourcePolicies(bool value)
ConfiguredAudienceModelAssociation & WithCreateTime(const Aws::Utils::DateTime &value)
ConfiguredAudienceModelAssociation & WithUpdateTime(const Aws::Utils::DateTime &value)
ConfiguredAudienceModelAssociation & WithCollaborationArn(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithMembershipArn(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithUpdateTime(Aws::Utils::DateTime &&value)
ConfiguredAudienceModelAssociation & WithMembershipArn(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithCollaborationId(const char *value)
ConfiguredAudienceModelAssociation & WithCollaborationArn(const char *value)
ConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithCollaborationId(const Aws::String &value)
ConfiguredAudienceModelAssociation & WithMembershipArn(const char *value)
ConfiguredAudienceModelAssociation & WithDescription(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(const Aws::String &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
ConfiguredAudienceModelAssociation & WithMembershipId(Aws::String &&value)
ConfiguredAudienceModelAssociation & WithId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue