AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateProtectedQueryRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/TargetProtectedQueryStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CleanRooms {
16namespace Model {
17
21 public:
22 AWS_CLEANROOMS_API UpdateProtectedQueryRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateProtectedQuery"; }
29
30 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
37 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
38 template <typename MembershipIdentifierT = Aws::String>
39 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
40 m_membershipIdentifierHasBeenSet = true;
41 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
42 }
43 template <typename MembershipIdentifierT = Aws::String>
44 UpdateProtectedQueryRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) {
45 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetProtectedQueryIdentifier() const { return m_protectedQueryIdentifier; }
55 inline bool ProtectedQueryIdentifierHasBeenSet() const { return m_protectedQueryIdentifierHasBeenSet; }
56 template <typename ProtectedQueryIdentifierT = Aws::String>
57 void SetProtectedQueryIdentifier(ProtectedQueryIdentifierT&& value) {
58 m_protectedQueryIdentifierHasBeenSet = true;
59 m_protectedQueryIdentifier = std::forward<ProtectedQueryIdentifierT>(value);
60 }
61 template <typename ProtectedQueryIdentifierT = Aws::String>
62 UpdateProtectedQueryRequest& WithProtectedQueryIdentifier(ProtectedQueryIdentifierT&& value) {
63 SetProtectedQueryIdentifier(std::forward<ProtectedQueryIdentifierT>(value));
64 return *this;
65 }
67
69
73 inline TargetProtectedQueryStatus GetTargetStatus() const { return m_targetStatus; }
74 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
76 m_targetStatusHasBeenSet = true;
77 m_targetStatus = value;
78 }
80 SetTargetStatus(value);
81 return *this;
82 }
84 private:
85 Aws::String m_membershipIdentifier;
86 bool m_membershipIdentifierHasBeenSet = false;
87
88 Aws::String m_protectedQueryIdentifier;
89 bool m_protectedQueryIdentifierHasBeenSet = false;
90
92 bool m_targetStatusHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CleanRooms
97} // namespace Aws
UpdateProtectedQueryRequest & WithTargetStatus(TargetProtectedQueryStatus value)
UpdateProtectedQueryRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
UpdateProtectedQueryRequest & WithProtectedQueryIdentifier(ProtectedQueryIdentifierT &&value)
AWS_CLEANROOMS_API UpdateProtectedQueryRequest()=default
void SetProtectedQueryIdentifier(ProtectedQueryIdentifierT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String