AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateMembershipRequest.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/AWSString.h>
10#include <aws/cleanrooms/model/MembershipQueryLogStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/cleanrooms/model/MembershipProtectedQueryResultConfiguration.h>
13#include <aws/cleanrooms/model/MembershipPaymentConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CleanRooms
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CLEANROOMS_API CreateMembershipRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateMembership"; }
35
36 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetCollaborationIdentifier() const{ return m_collaborationIdentifier; }
44 inline bool CollaborationIdentifierHasBeenSet() const { return m_collaborationIdentifierHasBeenSet; }
45 inline void SetCollaborationIdentifier(const Aws::String& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = value; }
46 inline void SetCollaborationIdentifier(Aws::String&& value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier = std::move(value); }
47 inline void SetCollaborationIdentifier(const char* value) { m_collaborationIdentifierHasBeenSet = true; m_collaborationIdentifier.assign(value); }
50 inline CreateMembershipRequest& WithCollaborationIdentifier(const char* value) { SetCollaborationIdentifier(value); return *this;}
52
54
58 inline const MembershipQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; }
59 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
60 inline void SetQueryLogStatus(const MembershipQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
61 inline void SetQueryLogStatus(MembershipQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); }
63 inline CreateMembershipRequest& WithQueryLogStatus(MembershipQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;}
65
67
73 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
74 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
75 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
76 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
77 inline CreateMembershipRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
78 inline CreateMembershipRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
79 inline CreateMembershipRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
80 inline CreateMembershipRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
81 inline CreateMembershipRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
82 inline CreateMembershipRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
83 inline CreateMembershipRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
84 inline CreateMembershipRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
85 inline CreateMembershipRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
87
89
93 inline const MembershipProtectedQueryResultConfiguration& GetDefaultResultConfiguration() const{ return m_defaultResultConfiguration; }
94 inline bool DefaultResultConfigurationHasBeenSet() const { return m_defaultResultConfigurationHasBeenSet; }
95 inline void SetDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration& value) { m_defaultResultConfigurationHasBeenSet = true; m_defaultResultConfiguration = value; }
96 inline void SetDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration&& value) { m_defaultResultConfigurationHasBeenSet = true; m_defaultResultConfiguration = std::move(value); }
100
102
108 inline const MembershipPaymentConfiguration& GetPaymentConfiguration() const{ return m_paymentConfiguration; }
109 inline bool PaymentConfigurationHasBeenSet() const { return m_paymentConfigurationHasBeenSet; }
110 inline void SetPaymentConfiguration(const MembershipPaymentConfiguration& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = value; }
111 inline void SetPaymentConfiguration(MembershipPaymentConfiguration&& value) { m_paymentConfigurationHasBeenSet = true; m_paymentConfiguration = std::move(value); }
115 private:
116
117 Aws::String m_collaborationIdentifier;
118 bool m_collaborationIdentifierHasBeenSet = false;
119
120 MembershipQueryLogStatus m_queryLogStatus;
121 bool m_queryLogStatusHasBeenSet = false;
122
124 bool m_tagsHasBeenSet = false;
125
126 MembershipProtectedQueryResultConfiguration m_defaultResultConfiguration;
127 bool m_defaultResultConfigurationHasBeenSet = false;
128
129 MembershipPaymentConfiguration m_paymentConfiguration;
130 bool m_paymentConfigurationHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace CleanRooms
135} // namespace Aws
CreateMembershipRequest & WithCollaborationIdentifier(Aws::String &&value)
CreateMembershipRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateMembershipRequest & WithQueryLogStatus(const MembershipQueryLogStatus &value)
void SetDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration &value)
CreateMembershipRequest & WithPaymentConfiguration(MembershipPaymentConfiguration &&value)
virtual const char * GetServiceRequestName() const override
CreateMembershipRequest & WithPaymentConfiguration(const MembershipPaymentConfiguration &value)
void SetQueryLogStatus(const MembershipQueryLogStatus &value)
CreateMembershipRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateMembershipRequest & WithCollaborationIdentifier(const Aws::String &value)
void SetPaymentConfiguration(MembershipPaymentConfiguration &&value)
CreateMembershipRequest & WithDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration &value)
CreateMembershipRequest & WithQueryLogStatus(MembershipQueryLogStatus &&value)
CreateMembershipRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateMembershipRequest & AddTags(Aws::String &&key, const char *value)
CreateMembershipRequest & AddTags(const char *key, const char *value)
const MembershipPaymentConfiguration & GetPaymentConfiguration() const
CreateMembershipRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateMembershipRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetQueryLogStatus(MembershipQueryLogStatus &&value)
const MembershipQueryLogStatus & GetQueryLogStatus() const
CreateMembershipRequest & WithDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration &&value)
CreateMembershipRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateMembershipRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const MembershipProtectedQueryResultConfiguration & GetDefaultResultConfiguration() const
CreateMembershipRequest & WithCollaborationIdentifier(const char *value)
void SetDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetPaymentConfiguration(const MembershipPaymentConfiguration &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