AWS SDK for C++

AWS SDK for C++ Version 1.11.753

Loading...
Searching...
No Matches
StartProtectedJobRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/ProtectedJobComputeConfiguration.h>
10#include <aws/cleanrooms/model/ProtectedJobParameters.h>
11#include <aws/cleanrooms/model/ProtectedJobResultConfigurationInput.h>
12#include <aws/cleanrooms/model/ProtectedJobType.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14
15#include <utility>
16
17namespace Aws {
18namespace CleanRooms {
19namespace Model {
20
24 public:
25 AWS_CLEANROOMS_API StartProtectedJobRequest() = 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 "StartProtectedJob"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
36
39 inline ProtectedJobType GetType() const { return m_type; }
40 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
41 inline void SetType(ProtectedJobType value) {
42 m_typeHasBeenSet = true;
43 m_type = value;
44 }
46 SetType(value);
47 return *this;
48 }
50
52
56 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
57 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
58 template <typename MembershipIdentifierT = Aws::String>
59 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
60 m_membershipIdentifierHasBeenSet = true;
61 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
62 }
63 template <typename MembershipIdentifierT = Aws::String>
64 StartProtectedJobRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) {
65 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
66 return *this;
67 }
69
71
74 inline const ProtectedJobParameters& GetJobParameters() const { return m_jobParameters; }
75 inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; }
76 template <typename JobParametersT = ProtectedJobParameters>
77 void SetJobParameters(JobParametersT&& value) {
78 m_jobParametersHasBeenSet = true;
79 m_jobParameters = std::forward<JobParametersT>(value);
80 }
81 template <typename JobParametersT = ProtectedJobParameters>
83 SetJobParameters(std::forward<JobParametersT>(value));
84 return *this;
85 }
87
89
92 inline const ProtectedJobResultConfigurationInput& GetResultConfiguration() const { return m_resultConfiguration; }
93 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
94 template <typename ResultConfigurationT = ProtectedJobResultConfigurationInput>
95 void SetResultConfiguration(ResultConfigurationT&& value) {
96 m_resultConfigurationHasBeenSet = true;
97 m_resultConfiguration = std::forward<ResultConfigurationT>(value);
98 }
99 template <typename ResultConfigurationT = ProtectedJobResultConfigurationInput>
100 StartProtectedJobRequest& WithResultConfiguration(ResultConfigurationT&& value) {
101 SetResultConfiguration(std::forward<ResultConfigurationT>(value));
102 return *this;
103 }
105
107
110 inline const ProtectedJobComputeConfiguration& GetComputeConfiguration() const { return m_computeConfiguration; }
111 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
112 template <typename ComputeConfigurationT = ProtectedJobComputeConfiguration>
113 void SetComputeConfiguration(ComputeConfigurationT&& value) {
114 m_computeConfigurationHasBeenSet = true;
115 m_computeConfiguration = std::forward<ComputeConfigurationT>(value);
116 }
117 template <typename ComputeConfigurationT = ProtectedJobComputeConfiguration>
118 StartProtectedJobRequest& WithComputeConfiguration(ComputeConfigurationT&& value) {
119 SetComputeConfiguration(std::forward<ComputeConfigurationT>(value));
120 return *this;
121 }
123 private:
125
126 Aws::String m_membershipIdentifier;
127
128 ProtectedJobParameters m_jobParameters;
129
130 ProtectedJobResultConfigurationInput m_resultConfiguration;
131
132 ProtectedJobComputeConfiguration m_computeConfiguration;
133 bool m_typeHasBeenSet = false;
134 bool m_membershipIdentifierHasBeenSet = false;
135 bool m_jobParametersHasBeenSet = false;
136 bool m_resultConfigurationHasBeenSet = false;
137 bool m_computeConfigurationHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace CleanRooms
142} // namespace Aws
const ProtectedJobParameters & GetJobParameters() const
void SetComputeConfiguration(ComputeConfigurationT &&value)
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)
const ProtectedJobComputeConfiguration & GetComputeConfiguration() const
StartProtectedJobRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
StartProtectedJobRequest & WithComputeConfiguration(ComputeConfigurationT &&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