AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateMembershipRequest.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/cleanrooms/model/MembershipProtectedQueryResultConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CleanRooms
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CLEANROOMS_API UpdateMembershipRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateMembership"; }
33
34 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
42 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
43 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
44 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
45 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
47 inline UpdateMembershipRequest& WithMembershipIdentifier(Aws::String&& value) { SetMembershipIdentifier(std::move(value)); return *this;}
48 inline UpdateMembershipRequest& WithMembershipIdentifier(const char* value) { SetMembershipIdentifier(value); return *this;}
50
52
56 inline const MembershipQueryLogStatus& GetQueryLogStatus() const{ return m_queryLogStatus; }
57 inline bool QueryLogStatusHasBeenSet() const { return m_queryLogStatusHasBeenSet; }
58 inline void SetQueryLogStatus(const MembershipQueryLogStatus& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = value; }
59 inline void SetQueryLogStatus(MembershipQueryLogStatus&& value) { m_queryLogStatusHasBeenSet = true; m_queryLogStatus = std::move(value); }
61 inline UpdateMembershipRequest& WithQueryLogStatus(MembershipQueryLogStatus&& value) { SetQueryLogStatus(std::move(value)); return *this;}
63
65
69 inline const MembershipProtectedQueryResultConfiguration& GetDefaultResultConfiguration() const{ return m_defaultResultConfiguration; }
70 inline bool DefaultResultConfigurationHasBeenSet() const { return m_defaultResultConfigurationHasBeenSet; }
71 inline void SetDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration& value) { m_defaultResultConfigurationHasBeenSet = true; m_defaultResultConfiguration = value; }
72 inline void SetDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration&& value) { m_defaultResultConfigurationHasBeenSet = true; m_defaultResultConfiguration = std::move(value); }
76 private:
77
78 Aws::String m_membershipIdentifier;
79 bool m_membershipIdentifierHasBeenSet = false;
80
81 MembershipQueryLogStatus m_queryLogStatus;
82 bool m_queryLogStatusHasBeenSet = false;
83
84 MembershipProtectedQueryResultConfiguration m_defaultResultConfiguration;
85 bool m_defaultResultConfigurationHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CleanRooms
90} // namespace Aws
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
UpdateMembershipRequest & WithQueryLogStatus(const MembershipQueryLogStatus &value)
UpdateMembershipRequest & WithMembershipIdentifier(Aws::String &&value)
void SetDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration &value)
UpdateMembershipRequest & WithMembershipIdentifier(const Aws::String &value)
UpdateMembershipRequest & WithMembershipIdentifier(const char *value)
const MembershipProtectedQueryResultConfiguration & GetDefaultResultConfiguration() const
UpdateMembershipRequest & WithQueryLogStatus(MembershipQueryLogStatus &&value)
void SetQueryLogStatus(const MembershipQueryLogStatus &value)
const MembershipQueryLogStatus & GetQueryLogStatus() const
void SetDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration &&value)
UpdateMembershipRequest & WithDefaultResultConfiguration(const MembershipProtectedQueryResultConfiguration &value)
void SetQueryLogStatus(MembershipQueryLogStatus &&value)
virtual const char * GetServiceRequestName() const override
UpdateMembershipRequest & WithDefaultResultConfiguration(MembershipProtectedQueryResultConfiguration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String