AWS SDK for C++

AWS SDK for C++ Version 1.11.644

Loading...
Searching...
No Matches
CreateCollaborationRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/cleanrooms/model/MLMemberAbilities.h>
12#include <aws/cleanrooms/model/DataEncryptionMetadata.h>
13#include <aws/cleanrooms/model/CollaborationQueryLogStatus.h>
14#include <aws/cleanrooms/model/CollaborationJobLogStatus.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/cleanrooms/model/PaymentConfiguration.h>
17#include <aws/cleanrooms/model/AnalyticsEngine.h>
18#include <aws/cleanrooms/model/MemberSpecification.h>
19#include <aws/cleanrooms/model/MemberAbility.h>
20#include <aws/cleanrooms/model/AutoApprovedChangeType.h>
21#include <utility>
22
23namespace Aws
24{
25namespace CleanRooms
26{
27namespace Model
28{
29
33 {
34 public:
35 AWS_CLEANROOMS_API CreateCollaborationRequest() = default;
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "CreateCollaboration"; }
42
43 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
44
45
47
51 inline const Aws::Vector<MemberSpecification>& GetMembers() const { return m_members; }
52 inline bool MembersHasBeenSet() const { return m_membersHasBeenSet; }
53 template<typename MembersT = Aws::Vector<MemberSpecification>>
54 void SetMembers(MembersT&& value) { m_membersHasBeenSet = true; m_members = std::forward<MembersT>(value); }
55 template<typename MembersT = Aws::Vector<MemberSpecification>>
56 CreateCollaborationRequest& WithMembers(MembersT&& value) { SetMembers(std::forward<MembersT>(value)); return *this;}
57 template<typename MembersT = MemberSpecification>
58 CreateCollaborationRequest& AddMembers(MembersT&& value) { m_membersHasBeenSet = true; m_members.emplace_back(std::forward<MembersT>(value)); return *this; }
60
62
65 inline const Aws::String& GetName() const { return m_name; }
66 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
67 template<typename NameT = Aws::String>
68 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
69 template<typename NameT = Aws::String>
70 CreateCollaborationRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template<typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
81 template<typename DescriptionT = Aws::String>
82 CreateCollaborationRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
84
86
89 inline const Aws::Vector<MemberAbility>& GetCreatorMemberAbilities() const { return m_creatorMemberAbilities; }
90 inline bool CreatorMemberAbilitiesHasBeenSet() const { return m_creatorMemberAbilitiesHasBeenSet; }
91 template<typename CreatorMemberAbilitiesT = Aws::Vector<MemberAbility>>
92 void SetCreatorMemberAbilities(CreatorMemberAbilitiesT&& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities = std::forward<CreatorMemberAbilitiesT>(value); }
93 template<typename CreatorMemberAbilitiesT = Aws::Vector<MemberAbility>>
94 CreateCollaborationRequest& WithCreatorMemberAbilities(CreatorMemberAbilitiesT&& value) { SetCreatorMemberAbilities(std::forward<CreatorMemberAbilitiesT>(value)); return *this;}
95 inline CreateCollaborationRequest& AddCreatorMemberAbilities(MemberAbility value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities.push_back(value); return *this; }
97
99
102 inline const MLMemberAbilities& GetCreatorMLMemberAbilities() const { return m_creatorMLMemberAbilities; }
103 inline bool CreatorMLMemberAbilitiesHasBeenSet() const { return m_creatorMLMemberAbilitiesHasBeenSet; }
104 template<typename CreatorMLMemberAbilitiesT = MLMemberAbilities>
105 void SetCreatorMLMemberAbilities(CreatorMLMemberAbilitiesT&& value) { m_creatorMLMemberAbilitiesHasBeenSet = true; m_creatorMLMemberAbilities = std::forward<CreatorMLMemberAbilitiesT>(value); }
106 template<typename CreatorMLMemberAbilitiesT = MLMemberAbilities>
107 CreateCollaborationRequest& WithCreatorMLMemberAbilities(CreatorMLMemberAbilitiesT&& value) { SetCreatorMLMemberAbilities(std::forward<CreatorMLMemberAbilitiesT>(value)); return *this;}
109
111
114 inline const Aws::String& GetCreatorDisplayName() const { return m_creatorDisplayName; }
115 inline bool CreatorDisplayNameHasBeenSet() const { return m_creatorDisplayNameHasBeenSet; }
116 template<typename CreatorDisplayNameT = Aws::String>
117 void SetCreatorDisplayName(CreatorDisplayNameT&& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = std::forward<CreatorDisplayNameT>(value); }
118 template<typename CreatorDisplayNameT = Aws::String>
119 CreateCollaborationRequest& WithCreatorDisplayName(CreatorDisplayNameT&& value) { SetCreatorDisplayName(std::forward<CreatorDisplayNameT>(value)); return *this;}
121
123
127 inline const DataEncryptionMetadata& GetDataEncryptionMetadata() const { return m_dataEncryptionMetadata; }
128 inline bool DataEncryptionMetadataHasBeenSet() const { return m_dataEncryptionMetadataHasBeenSet; }
129 template<typename DataEncryptionMetadataT = DataEncryptionMetadata>
130 void SetDataEncryptionMetadata(DataEncryptionMetadataT&& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = std::forward<DataEncryptionMetadataT>(value); }
131 template<typename DataEncryptionMetadataT = DataEncryptionMetadata>
132 CreateCollaborationRequest& WithDataEncryptionMetadata(DataEncryptionMetadataT&& value) { SetDataEncryptionMetadata(std::forward<DataEncryptionMetadataT>(value)); return *this;}
134
136
142 inline CollaborationQueryLogStatus GetQueryLogStatus() const { return m_queryLogStatus; }
143 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
144 inline void SetQueryLogStatus(CollaborationQueryLogStatus value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
147
149
155 inline CollaborationJobLogStatus GetJobLogStatus() const { return m_jobLogStatus; }
156 inline bool JobLogStatusHasBeenSet() const { return m_jobLogStatusHasBeenSet; }
157 inline void SetJobLogStatus(CollaborationJobLogStatus value) { m_jobLogStatusHasBeenSet = true; m_jobLogStatus = value; }
160
162
168 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
169 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
170 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
171 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
172 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
173 CreateCollaborationRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
174 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
175 CreateCollaborationRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
176 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
177 }
179
181
187 inline const PaymentConfiguration& GetCreatorPaymentConfiguration() const { return m_creatorPaymentConfiguration; }
188 inline bool CreatorPaymentConfigurationHasBeenSet() const { return m_creatorPaymentConfigurationHasBeenSet; }
189 template<typename CreatorPaymentConfigurationT = PaymentConfiguration>
190 void SetCreatorPaymentConfiguration(CreatorPaymentConfigurationT&& value) { m_creatorPaymentConfigurationHasBeenSet = true; m_creatorPaymentConfiguration = std::forward<CreatorPaymentConfigurationT>(value); }
191 template<typename CreatorPaymentConfigurationT = PaymentConfiguration>
192 CreateCollaborationRequest& WithCreatorPaymentConfiguration(CreatorPaymentConfigurationT&& value) { SetCreatorPaymentConfiguration(std::forward<CreatorPaymentConfigurationT>(value)); return *this;}
194
196
200 inline AnalyticsEngine GetAnalyticsEngine() const { return m_analyticsEngine; }
201 inline bool AnalyticsEngineHasBeenSet() const { return m_analyticsEngineHasBeenSet; }
202 inline void SetAnalyticsEngine(AnalyticsEngine value) { m_analyticsEngineHasBeenSet = true; m_analyticsEngine = value; }
205
207
211 inline const Aws::Vector<AutoApprovedChangeType>& GetAutoApprovedChangeRequestTypes() const { return m_autoApprovedChangeRequestTypes; }
212 inline bool AutoApprovedChangeRequestTypesHasBeenSet() const { return m_autoApprovedChangeRequestTypesHasBeenSet; }
213 template<typename AutoApprovedChangeRequestTypesT = Aws::Vector<AutoApprovedChangeType>>
214 void SetAutoApprovedChangeRequestTypes(AutoApprovedChangeRequestTypesT&& value) { m_autoApprovedChangeRequestTypesHasBeenSet = true; m_autoApprovedChangeRequestTypes = std::forward<AutoApprovedChangeRequestTypesT>(value); }
215 template<typename AutoApprovedChangeRequestTypesT = Aws::Vector<AutoApprovedChangeType>>
216 CreateCollaborationRequest& WithAutoApprovedChangeRequestTypes(AutoApprovedChangeRequestTypesT&& value) { SetAutoApprovedChangeRequestTypes(std::forward<AutoApprovedChangeRequestTypesT>(value)); return *this;}
217 inline CreateCollaborationRequest& AddAutoApprovedChangeRequestTypes(AutoApprovedChangeType value) { m_autoApprovedChangeRequestTypesHasBeenSet = true; m_autoApprovedChangeRequestTypes.push_back(value); return *this; }
219 private:
220
222 bool m_membersHasBeenSet = false;
223
224 Aws::String m_name;
225 bool m_nameHasBeenSet = false;
226
227 Aws::String m_description;
228 bool m_descriptionHasBeenSet = false;
229
230 Aws::Vector<MemberAbility> m_creatorMemberAbilities;
231 bool m_creatorMemberAbilitiesHasBeenSet = false;
232
233 MLMemberAbilities m_creatorMLMemberAbilities;
234 bool m_creatorMLMemberAbilitiesHasBeenSet = false;
235
236 Aws::String m_creatorDisplayName;
237 bool m_creatorDisplayNameHasBeenSet = false;
238
239 DataEncryptionMetadata m_dataEncryptionMetadata;
240 bool m_dataEncryptionMetadataHasBeenSet = false;
241
243 bool m_queryLogStatusHasBeenSet = false;
244
246 bool m_jobLogStatusHasBeenSet = false;
247
249 bool m_tagsHasBeenSet = false;
250
251 PaymentConfiguration m_creatorPaymentConfiguration;
252 bool m_creatorPaymentConfigurationHasBeenSet = false;
253
254 AnalyticsEngine m_analyticsEngine{AnalyticsEngine::NOT_SET};
255 bool m_analyticsEngineHasBeenSet = false;
256
257 Aws::Vector<AutoApprovedChangeType> m_autoApprovedChangeRequestTypes;
258 bool m_autoApprovedChangeRequestTypesHasBeenSet = false;
259 };
260
261} // namespace Model
262} // namespace CleanRooms
263} // namespace Aws
const Aws::Vector< MemberSpecification > & GetMembers() const
CreateCollaborationRequest & WithCreatorPaymentConfiguration(CreatorPaymentConfigurationT &&value)
CreateCollaborationRequest & AddMembers(MembersT &&value)
const Aws::Vector< AutoApprovedChangeType > & GetAutoApprovedChangeRequestTypes() const
CreateCollaborationRequest & WithQueryLogStatus(CollaborationQueryLogStatus value)
void SetAutoApprovedChangeRequestTypes(AutoApprovedChangeRequestTypesT &&value)
void SetCreatorPaymentConfiguration(CreatorPaymentConfigurationT &&value)
CreateCollaborationRequest & WithName(NameT &&value)
CreateCollaborationRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
virtual const char * GetServiceRequestName() const override
CreateCollaborationRequest & WithMembers(MembersT &&value)
CreateCollaborationRequest & WithJobLogStatus(CollaborationJobLogStatus value)
AWS_CLEANROOMS_API CreateCollaborationRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDataEncryptionMetadata(DataEncryptionMetadataT &&value)
CreateCollaborationRequest & AddCreatorMemberAbilities(MemberAbility value)
CreateCollaborationRequest & WithCreatorMemberAbilities(CreatorMemberAbilitiesT &&value)
CreateCollaborationRequest & WithTags(TagsT &&value)
const DataEncryptionMetadata & GetDataEncryptionMetadata() const
CreateCollaborationRequest & WithDataEncryptionMetadata(DataEncryptionMetadataT &&value)
CreateCollaborationRequest & WithCreatorMLMemberAbilities(CreatorMLMemberAbilitiesT &&value)
void SetCreatorMemberAbilities(CreatorMemberAbilitiesT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
const PaymentConfiguration & GetCreatorPaymentConfiguration() const
void SetQueryLogStatus(CollaborationQueryLogStatus value)
CreateCollaborationRequest & WithDescription(DescriptionT &&value)
void SetCreatorMLMemberAbilities(CreatorMLMemberAbilitiesT &&value)
CreateCollaborationRequest & WithAnalyticsEngine(AnalyticsEngine value)
CreateCollaborationRequest & AddAutoApprovedChangeRequestTypes(AutoApprovedChangeType value)
CreateCollaborationRequest & WithAutoApprovedChangeRequestTypes(AutoApprovedChangeRequestTypesT &&value)
CreateCollaborationRequest & WithCreatorDisplayName(CreatorDisplayNameT &&value)
const Aws::Vector< MemberAbility > & GetCreatorMemberAbilities() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector