AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollaborationConfiguredAudienceModelAssociation.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 CollaborationConfiguredAudienceModelAssociation& WithId(const Aws::String& value) { SetId(value); return *this;}
52 inline CollaborationConfiguredAudienceModelAssociation& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
53 inline CollaborationConfiguredAudienceModelAssociation& 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 CollaborationConfiguredAudienceModelAssociation& WithArn(const Aws::String& value) { SetArn(value); return *this;}
67 inline CollaborationConfiguredAudienceModelAssociation& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
68 inline CollaborationConfiguredAudienceModelAssociation& WithArn(const char* value) { SetArn(value); return *this;}
70
72
76 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
77 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
78 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
79 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
80 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
85
87
91 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
92 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
93 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
94 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
95 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
100
102
105 inline const Aws::String& GetConfiguredAudienceModelArn() const{ return m_configuredAudienceModelArn; }
106 inline bool ConfiguredAudienceModelArnHasBeenSet() const { return m_configuredAudienceModelArnHasBeenSet; }
107 inline void SetConfiguredAudienceModelArn(const Aws::String& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = value; }
108 inline void SetConfiguredAudienceModelArn(Aws::String&& value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn = std::move(value); }
109 inline void SetConfiguredAudienceModelArn(const char* value) { m_configuredAudienceModelArnHasBeenSet = true; m_configuredAudienceModelArn.assign(value); }
114
116
119 inline const Aws::String& GetName() const{ return m_name; }
120 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
121 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
122 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
123 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
125 inline CollaborationConfiguredAudienceModelAssociation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
126 inline CollaborationConfiguredAudienceModelAssociation& WithName(const char* value) { SetName(value); return *this;}
128
130
133 inline const Aws::String& GetDescription() const{ return m_description; }
134 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
136 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
137 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
140 inline CollaborationConfiguredAudienceModelAssociation& WithDescription(const char* value) { SetDescription(value); return *this;}
142
144
148 inline const Aws::String& GetCreatorAccountId() const{ return m_creatorAccountId; }
149 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
150 inline void SetCreatorAccountId(const Aws::String& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = value; }
151 inline void SetCreatorAccountId(Aws::String&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::move(value); }
152 inline void SetCreatorAccountId(const char* value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId.assign(value); }
157
159
162 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
163 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
164 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
165 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
169
171
175 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
176 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
177 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
178 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
182 private:
183
184 Aws::String m_id;
185 bool m_idHasBeenSet = false;
186
187 Aws::String m_arn;
188 bool m_arnHasBeenSet = false;
189
190 Aws::String m_collaborationId;
191 bool m_collaborationIdHasBeenSet = false;
192
193 Aws::String m_collaborationArn;
194 bool m_collaborationArnHasBeenSet = false;
195
196 Aws::String m_configuredAudienceModelArn;
197 bool m_configuredAudienceModelArnHasBeenSet = false;
198
199 Aws::String m_name;
200 bool m_nameHasBeenSet = false;
201
202 Aws::String m_description;
203 bool m_descriptionHasBeenSet = false;
204
205 Aws::String m_creatorAccountId;
206 bool m_creatorAccountIdHasBeenSet = false;
207
208 Aws::Utils::DateTime m_createTime;
209 bool m_createTimeHasBeenSet = false;
210
211 Aws::Utils::DateTime m_updateTime;
212 bool m_updateTimeHasBeenSet = false;
213 };
214
215} // namespace Model
216} // namespace CleanRooms
217} // namespace Aws
CollaborationConfiguredAudienceModelAssociation & WithUpdateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
CollaborationConfiguredAudienceModelAssociation & WithDescription(const char *value)
CollaborationConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithCollaborationArn(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(const char *value)
CollaborationConfiguredAudienceModelAssociation & WithName(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithCreateTime(const Aws::Utils::DateTime &value)
CollaborationConfiguredAudienceModelAssociation & WithName(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithArn(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithCollaborationId(const char *value)
CollaborationConfiguredAudienceModelAssociation & WithCollaborationId(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithCollaborationId(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithDescription(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithCreatorAccountId(const char *value)
CollaborationConfiguredAudienceModelAssociation & WithArn(const Aws::String &value)
AWS_CLEANROOMS_API CollaborationConfiguredAudienceModelAssociation & operator=(Aws::Utils::Json::JsonView jsonValue)
CollaborationConfiguredAudienceModelAssociation & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMS_API CollaborationConfiguredAudienceModelAssociation(Aws::Utils::Json::JsonView jsonValue)
CollaborationConfiguredAudienceModelAssociation & WithId(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithCollaborationArn(const char *value)
CollaborationConfiguredAudienceModelAssociation & WithCollaborationArn(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithDescription(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithUpdateTime(const Aws::Utils::DateTime &value)
CollaborationConfiguredAudienceModelAssociation & WithId(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithCreatorAccountId(Aws::String &&value)
CollaborationConfiguredAudienceModelAssociation & WithCreatorAccountId(const Aws::String &value)
CollaborationConfiguredAudienceModelAssociation & WithConfiguredAudienceModelArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue