AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/DataEncryptionMetadata.h>
12#include <aws/cleanrooms/model/CollaborationQueryLogStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/cleanrooms/model/PaymentConfiguration.h>
15#include <aws/cleanrooms/model/AnalyticsEngine.h>
16#include <aws/cleanrooms/model/MemberSpecification.h>
17#include <aws/cleanrooms/model/MemberAbility.h>
18#include <utility>
19
20namespace Aws
21{
22namespace CleanRooms
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_CLEANROOMS_API CreateCollaborationRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "CreateCollaboration"; }
39
40 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
41
42
44
48 inline const Aws::Vector<MemberSpecification>& GetMembers() const{ return m_members; }
49 inline bool MembersHasBeenSet() const { return m_membersHasBeenSet; }
50 inline void SetMembers(const Aws::Vector<MemberSpecification>& value) { m_membersHasBeenSet = true; m_members = value; }
51 inline void SetMembers(Aws::Vector<MemberSpecification>&& value) { m_membersHasBeenSet = true; m_members = std::move(value); }
53 inline CreateCollaborationRequest& WithMembers(Aws::Vector<MemberSpecification>&& value) { SetMembers(std::move(value)); return *this;}
54 inline CreateCollaborationRequest& AddMembers(const MemberSpecification& value) { m_membersHasBeenSet = true; m_members.push_back(value); return *this; }
55 inline CreateCollaborationRequest& AddMembers(MemberSpecification&& value) { m_membersHasBeenSet = true; m_members.push_back(std::move(value)); return *this; }
57
59
62 inline const Aws::String& GetName() const{ return m_name; }
63 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
64 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
65 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
66 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
67 inline CreateCollaborationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
68 inline CreateCollaborationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
69 inline CreateCollaborationRequest& WithName(const char* value) { SetName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline CreateCollaborationRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline CreateCollaborationRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline CreateCollaborationRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
90 inline const Aws::Vector<MemberAbility>& GetCreatorMemberAbilities() const{ return m_creatorMemberAbilities; }
91 inline bool CreatorMemberAbilitiesHasBeenSet() const { return m_creatorMemberAbilitiesHasBeenSet; }
92 inline void SetCreatorMemberAbilities(const Aws::Vector<MemberAbility>& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities = value; }
93 inline void SetCreatorMemberAbilities(Aws::Vector<MemberAbility>&& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities = std::move(value); }
96 inline CreateCollaborationRequest& AddCreatorMemberAbilities(const MemberAbility& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities.push_back(value); return *this; }
97 inline CreateCollaborationRequest& AddCreatorMemberAbilities(MemberAbility&& value) { m_creatorMemberAbilitiesHasBeenSet = true; m_creatorMemberAbilities.push_back(std::move(value)); return *this; }
99
101
104 inline const Aws::String& GetCreatorDisplayName() const{ return m_creatorDisplayName; }
105 inline bool CreatorDisplayNameHasBeenSet() const { return m_creatorDisplayNameHasBeenSet; }
106 inline void SetCreatorDisplayName(const Aws::String& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = value; }
107 inline void SetCreatorDisplayName(Aws::String&& value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName = std::move(value); }
108 inline void SetCreatorDisplayName(const char* value) { m_creatorDisplayNameHasBeenSet = true; m_creatorDisplayName.assign(value); }
110 inline CreateCollaborationRequest& WithCreatorDisplayName(Aws::String&& value) { SetCreatorDisplayName(std::move(value)); return *this;}
111 inline CreateCollaborationRequest& WithCreatorDisplayName(const char* value) { SetCreatorDisplayName(value); return *this;}
113
115
119 inline const DataEncryptionMetadata& GetDataEncryptionMetadata() const{ return m_dataEncryptionMetadata; }
120 inline bool DataEncryptionMetadataHasBeenSet() const { return m_dataEncryptionMetadataHasBeenSet; }
121 inline void SetDataEncryptionMetadata(const DataEncryptionMetadata& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = value; }
122 inline void SetDataEncryptionMetadata(DataEncryptionMetadata&& value) { m_dataEncryptionMetadataHasBeenSet = true; m_dataEncryptionMetadata = std::move(value); }
126
128
132 inline const CollaborationQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; }
133 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
134 inline void SetQueryLogStatus(const CollaborationQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
135 inline void SetQueryLogStatus(CollaborationQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); }
139
141
147 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
148 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
149 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
150 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
152 inline CreateCollaborationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
153 inline CreateCollaborationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
154 inline CreateCollaborationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
155 inline CreateCollaborationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
156 inline CreateCollaborationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
157 inline CreateCollaborationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
158 inline CreateCollaborationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
159 inline CreateCollaborationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
161
163
169 inline const PaymentConfiguration& GetCreatorPaymentConfiguration() const{ return m_creatorPaymentConfiguration; }
170 inline bool CreatorPaymentConfigurationHasBeenSet() const { return m_creatorPaymentConfigurationHasBeenSet; }
171 inline void SetCreatorPaymentConfiguration(const PaymentConfiguration& value) { m_creatorPaymentConfigurationHasBeenSet = true; m_creatorPaymentConfiguration = value; }
172 inline void SetCreatorPaymentConfiguration(PaymentConfiguration&& value) { m_creatorPaymentConfigurationHasBeenSet = true; m_creatorPaymentConfiguration = std::move(value); }
176
178
181 inline const AnalyticsEngine& GetAnalyticsEngine() const{ return m_analyticsEngine; }
182 inline bool AnalyticsEngineHasBeenSet() const { return m_analyticsEngineHasBeenSet; }
183 inline void SetAnalyticsEngine(const AnalyticsEngine& value) { m_analyticsEngineHasBeenSet = true; m_analyticsEngine = value; }
184 inline void SetAnalyticsEngine(AnalyticsEngine&& value) { m_analyticsEngineHasBeenSet = true; m_analyticsEngine = std::move(value); }
186 inline CreateCollaborationRequest& WithAnalyticsEngine(AnalyticsEngine&& value) { SetAnalyticsEngine(std::move(value)); return *this;}
188 private:
189
191 bool m_membersHasBeenSet = false;
192
193 Aws::String m_name;
194 bool m_nameHasBeenSet = false;
195
196 Aws::String m_description;
197 bool m_descriptionHasBeenSet = false;
198
199 Aws::Vector<MemberAbility> m_creatorMemberAbilities;
200 bool m_creatorMemberAbilitiesHasBeenSet = false;
201
202 Aws::String m_creatorDisplayName;
203 bool m_creatorDisplayNameHasBeenSet = false;
204
205 DataEncryptionMetadata m_dataEncryptionMetadata;
206 bool m_dataEncryptionMetadataHasBeenSet = false;
207
208 CollaborationQueryLogStatus m_queryLogStatus;
209 bool m_queryLogStatusHasBeenSet = false;
210
212 bool m_tagsHasBeenSet = false;
213
214 PaymentConfiguration m_creatorPaymentConfiguration;
215 bool m_creatorPaymentConfigurationHasBeenSet = false;
216
217 AnalyticsEngine m_analyticsEngine;
218 bool m_analyticsEngineHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace CleanRooms
223} // namespace Aws
const Aws::Vector< MemberSpecification > & GetMembers() const
void SetMembers(Aws::Vector< MemberSpecification > &&value)
void SetDataEncryptionMetadata(DataEncryptionMetadata &&value)
CreateCollaborationRequest & AddTags(const char *key, const char *value)
CreateCollaborationRequest & WithCreatorDisplayName(Aws::String &&value)
void SetDataEncryptionMetadata(const DataEncryptionMetadata &value)
CreateCollaborationRequest & WithAnalyticsEngine(AnalyticsEngine &&value)
CreateCollaborationRequest & WithName(const char *value)
void SetMembers(const Aws::Vector< MemberSpecification > &value)
const CollaborationQueryLogStatus & GetQueryLogStatus() const
CreateCollaborationRequest & WithCreatorMemberAbilities(Aws::Vector< MemberAbility > &&value)
CreateCollaborationRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateCollaborationRequest & WithCreatorPaymentConfiguration(PaymentConfiguration &&value)
CreateCollaborationRequest & WithDescription(const Aws::String &value)
CreateCollaborationRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreateCollaborationRequest & WithCreatorDisplayName(const Aws::String &value)
CreateCollaborationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetQueryLogStatus(CollaborationQueryLogStatus &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCollaborationRequest & WithQueryLogStatus(const CollaborationQueryLogStatus &value)
CreateCollaborationRequest & AddCreatorMemberAbilities(MemberAbility &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCreatorMemberAbilities(const Aws::Vector< MemberAbility > &value)
void SetCreatorMemberAbilities(Aws::Vector< MemberAbility > &&value)
CreateCollaborationRequest & WithMembers(const Aws::Vector< MemberSpecification > &value)
CreateCollaborationRequest & WithCreatorPaymentConfiguration(const PaymentConfiguration &value)
CreateCollaborationRequest & WithAnalyticsEngine(const AnalyticsEngine &value)
CreateCollaborationRequest & WithQueryLogStatus(CollaborationQueryLogStatus &&value)
CreateCollaborationRequest & WithDataEncryptionMetadata(DataEncryptionMetadata &&value)
CreateCollaborationRequest & WithName(Aws::String &&value)
CreateCollaborationRequest & WithMembers(Aws::Vector< MemberSpecification > &&value)
const DataEncryptionMetadata & GetDataEncryptionMetadata() const
CreateCollaborationRequest & WithName(const Aws::String &value)
CreateCollaborationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateCollaborationRequest & WithCreatorDisplayName(const char *value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateCollaborationRequest & AddCreatorMemberAbilities(const MemberAbility &value)
const PaymentConfiguration & GetCreatorPaymentConfiguration() const
CreateCollaborationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateCollaborationRequest & AddMembers(MemberSpecification &&value)
CreateCollaborationRequest & WithDescription(Aws::String &&value)
CreateCollaborationRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateCollaborationRequest & AddTags(Aws::String &&key, const char *value)
void SetCreatorPaymentConfiguration(PaymentConfiguration &&value)
void SetCreatorPaymentConfiguration(const PaymentConfiguration &value)
CreateCollaborationRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateCollaborationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateCollaborationRequest & WithCreatorMemberAbilities(const Aws::Vector< MemberAbility > &value)
CreateCollaborationRequest & WithDataEncryptionMetadata(const DataEncryptionMetadata &value)
CreateCollaborationRequest & AddMembers(const MemberSpecification &value)
const Aws::Vector< MemberAbility > & GetCreatorMemberAbilities() const
void SetQueryLogStatus(const CollaborationQueryLogStatus &value)
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