AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename MembershipIdentifierT = Aws::String>
43 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
44 template<typename MembershipIdentifierT = Aws::String>
45 UpdateProtectedQueryRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
47
49
52 inline const Aws::String& GetProtectedQueryIdentifier() const { return m_protectedQueryIdentifier; }
53 inline bool ProtectedQueryIdentifierHasBeenSet() const { return m_protectedQueryIdentifierHasBeenSet; }
54 template<typename ProtectedQueryIdentifierT = Aws::String>
55 void SetProtectedQueryIdentifier(ProtectedQueryIdentifierT&& value) { m_protectedQueryIdentifierHasBeenSet = true; m_protectedQueryIdentifier = std::forward<ProtectedQueryIdentifierT>(value); }
56 template<typename ProtectedQueryIdentifierT = Aws::String>
57 UpdateProtectedQueryRequest& WithProtectedQueryIdentifier(ProtectedQueryIdentifierT&& value) { SetProtectedQueryIdentifier(std::forward<ProtectedQueryIdentifierT>(value)); return *this;}
59
61
65 inline TargetProtectedQueryStatus GetTargetStatus() const { return m_targetStatus; }
66 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
67 inline void SetTargetStatus(TargetProtectedQueryStatus value) { m_targetStatusHasBeenSet = true; m_targetStatus = value; }
70 private:
71
72 Aws::String m_membershipIdentifier;
73 bool m_membershipIdentifierHasBeenSet = false;
74
75 Aws::String m_protectedQueryIdentifier;
76 bool m_protectedQueryIdentifierHasBeenSet = false;
77
79 bool m_targetStatusHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CleanRooms
84} // 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