AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartProtectedJobRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/cleanrooms/model/ProtectedJobType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/cleanrooms/model/ProtectedJobParameters.h>
12#include <aws/cleanrooms/model/ProtectedJobResultConfigurationInput.h>
13#include <utility>
14
15namespace Aws
16{
17namespace CleanRooms
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_CLEANROOMS_API StartProtectedJobRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "StartProtectedJob"; }
34
35 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
36
37
39
42 inline ProtectedJobType GetType() const { return m_type; }
43 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
44 inline void SetType(ProtectedJobType value) { m_typeHasBeenSet = true; m_type = value; }
45 inline StartProtectedJobRequest& WithType(ProtectedJobType value) { SetType(value); return *this;}
47
49
53 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
54 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
55 template<typename MembershipIdentifierT = Aws::String>
56 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
57 template<typename MembershipIdentifierT = Aws::String>
58 StartProtectedJobRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
60
62
65 inline const ProtectedJobParameters& GetJobParameters() const { return m_jobParameters; }
66 inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; }
67 template<typename JobParametersT = ProtectedJobParameters>
68 void SetJobParameters(JobParametersT&& value) { m_jobParametersHasBeenSet = true; m_jobParameters = std::forward<JobParametersT>(value); }
69 template<typename JobParametersT = ProtectedJobParameters>
70 StartProtectedJobRequest& WithJobParameters(JobParametersT&& value) { SetJobParameters(std::forward<JobParametersT>(value)); return *this;}
72
74
77 inline const ProtectedJobResultConfigurationInput& GetResultConfiguration() const { return m_resultConfiguration; }
78 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
79 template<typename ResultConfigurationT = ProtectedJobResultConfigurationInput>
80 void SetResultConfiguration(ResultConfigurationT&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::forward<ResultConfigurationT>(value); }
81 template<typename ResultConfigurationT = ProtectedJobResultConfigurationInput>
82 StartProtectedJobRequest& WithResultConfiguration(ResultConfigurationT&& value) { SetResultConfiguration(std::forward<ResultConfigurationT>(value)); return *this;}
84 private:
85
87 bool m_typeHasBeenSet = false;
88
89 Aws::String m_membershipIdentifier;
90 bool m_membershipIdentifierHasBeenSet = false;
91
92 ProtectedJobParameters m_jobParameters;
93 bool m_jobParametersHasBeenSet = false;
94
95 ProtectedJobResultConfigurationInput m_resultConfiguration;
96 bool m_resultConfigurationHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CleanRooms
101} // namespace Aws
const ProtectedJobParameters & GetJobParameters() const
const ProtectedJobResultConfigurationInput & GetResultConfiguration() const
virtual const char * GetServiceRequestName() const override
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
StartProtectedJobRequest & WithResultConfiguration(ResultConfigurationT &&value)
void SetResultConfiguration(ResultConfigurationT &&value)
void SetMembershipIdentifier(MembershipIdentifierT &&value)
StartProtectedJobRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
StartProtectedJobRequest & WithJobParameters(JobParametersT &&value)
AWS_CLEANROOMS_API StartProtectedJobRequest()=default
StartProtectedJobRequest & WithType(ProtectedJobType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String