AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateProtectedQueryRequest.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/TargetProtectedQueryStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CleanRooms
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLEANROOMS_API UpdateProtectedQueryRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateProtectedQuery"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetMembershipIdentifier() const{ return m_membershipIdentifier; }
41 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
42 inline void SetMembershipIdentifier(const Aws::String& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = value; }
43 inline void SetMembershipIdentifier(Aws::String&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::move(value); }
44 inline void SetMembershipIdentifier(const char* value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier.assign(value); }
47 inline UpdateProtectedQueryRequest& WithMembershipIdentifier(const char* value) { SetMembershipIdentifier(value); return *this;}
49
51
54 inline const Aws::String& GetProtectedQueryIdentifier() const{ return m_protectedQueryIdentifier; }
55 inline bool ProtectedQueryIdentifierHasBeenSet() const { return m_protectedQueryIdentifierHasBeenSet; }
56 inline void SetProtectedQueryIdentifier(const Aws::String& value) { m_protectedQueryIdentifierHasBeenSet = true; m_protectedQueryIdentifier = value; }
57 inline void SetProtectedQueryIdentifier(Aws::String&& value) { m_protectedQueryIdentifierHasBeenSet = true; m_protectedQueryIdentifier = std::move(value); }
58 inline void SetProtectedQueryIdentifier(const char* value) { m_protectedQueryIdentifierHasBeenSet = true; m_protectedQueryIdentifier.assign(value); }
63
65
69 inline const TargetProtectedQueryStatus& GetTargetStatus() const{ return m_targetStatus; }
70 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
71 inline void SetTargetStatus(const TargetProtectedQueryStatus& value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; }
72 inline void SetTargetStatus(TargetProtectedQueryStatus&& value) { m_targetStatusHasBeenSet = true; m_targetStatus = std::move(value); }
76 private:
77
78 Aws::String m_membershipIdentifier;
79 bool m_membershipIdentifierHasBeenSet = false;
80
81 Aws::String m_protectedQueryIdentifier;
82 bool m_protectedQueryIdentifierHasBeenSet = false;
83
84 TargetProtectedQueryStatus m_targetStatus;
85 bool m_targetStatusHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CleanRooms
90} // namespace Aws
UpdateProtectedQueryRequest & WithProtectedQueryIdentifier(const Aws::String &value)
UpdateProtectedQueryRequest & WithTargetStatus(TargetProtectedQueryStatus &&value)
UpdateProtectedQueryRequest & WithProtectedQueryIdentifier(const char *value)
UpdateProtectedQueryRequest & WithMembershipIdentifier(Aws::String &&value)
UpdateProtectedQueryRequest & WithMembershipIdentifier(const Aws::String &value)
void SetTargetStatus(TargetProtectedQueryStatus &&value)
UpdateProtectedQueryRequest & WithTargetStatus(const TargetProtectedQueryStatus &value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
UpdateProtectedQueryRequest & WithProtectedQueryIdentifier(Aws::String &&value)
void SetTargetStatus(const TargetProtectedQueryStatus &value)
const TargetProtectedQueryStatus & GetTargetStatus() const
UpdateProtectedQueryRequest & WithMembershipIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String