AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProtectedJobRequest.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/TargetProtectedJobStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CleanRooms
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CLEANROOMS_API UpdateProtectedJobRequest() = 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 "UpdateProtectedJob"; }
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 UpdateProtectedJobRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
47
49
52 inline const Aws::String& GetProtectedJobIdentifier() const { return m_protectedJobIdentifier; }
53 inline bool ProtectedJobIdentifierHasBeenSet() const { return m_protectedJobIdentifierHasBeenSet; }
54 template<typename ProtectedJobIdentifierT = Aws::String>
55 void SetProtectedJobIdentifier(ProtectedJobIdentifierT&& value) { m_protectedJobIdentifierHasBeenSet = true; m_protectedJobIdentifier = std::forward<ProtectedJobIdentifierT>(value); }
56 template<typename ProtectedJobIdentifierT = Aws::String>
57 UpdateProtectedJobRequest& WithProtectedJobIdentifier(ProtectedJobIdentifierT&& value) { SetProtectedJobIdentifier(std::forward<ProtectedJobIdentifierT>(value)); return *this;}
59
61
65 inline TargetProtectedJobStatus GetTargetStatus() const { return m_targetStatus; }
66 inline bool TargetStatusHasBeenSet() const { return m_targetStatusHasBeenSet; }
67 inline void SetTargetStatus(TargetProtectedJobStatus 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_protectedJobIdentifier;
76 bool m_protectedJobIdentifierHasBeenSet = false;
77
79 bool m_targetStatusHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace CleanRooms
84} // namespace Aws
UpdateProtectedJobRequest & WithTargetStatus(TargetProtectedJobStatus value)
UpdateProtectedJobRequest & WithProtectedJobIdentifier(ProtectedJobIdentifierT &&value)
AWS_CLEANROOMS_API UpdateProtectedJobRequest()=default
void SetProtectedJobIdentifier(ProtectedJobIdentifierT &&value)
UpdateProtectedJobRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
void SetMembershipIdentifier(MembershipIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String