AWS SDK for C++

AWS SDK for C++ Version 1.11.644

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 <aws/cleanrooms/model/ProtectedJobComputeConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CleanRooms
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CLEANROOMS_API StartProtectedJobRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartProtectedJob"; }
35
36 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
37
38
40
43 inline ProtectedJobType GetType() const { return m_type; }
44 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
45 inline void SetType(ProtectedJobType value) { m_typeHasBeenSet = true; m_type = value; }
46 inline StartProtectedJobRequest& WithType(ProtectedJobType value) { SetType(value); return *this;}
48
50
54 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
55 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
56 template<typename MembershipIdentifierT = Aws::String>
57 void SetMembershipIdentifier(MembershipIdentifierT&& value) { m_membershipIdentifierHasBeenSet = true; m_membershipIdentifier = std::forward<MembershipIdentifierT>(value); }
58 template<typename MembershipIdentifierT = Aws::String>
59 StartProtectedJobRequest& WithMembershipIdentifier(MembershipIdentifierT&& value) { SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value)); return *this;}
61
63
66 inline const ProtectedJobParameters& GetJobParameters() const { return m_jobParameters; }
67 inline bool JobParametersHasBeenSet() const { return m_jobParametersHasBeenSet; }
68 template<typename JobParametersT = ProtectedJobParameters>
69 void SetJobParameters(JobParametersT&& value) { m_jobParametersHasBeenSet = true; m_jobParameters = std::forward<JobParametersT>(value); }
70 template<typename JobParametersT = ProtectedJobParameters>
71 StartProtectedJobRequest& WithJobParameters(JobParametersT&& value) { SetJobParameters(std::forward<JobParametersT>(value)); return *this;}
73
75
78 inline const ProtectedJobResultConfigurationInput& GetResultConfiguration() const { return m_resultConfiguration; }
79 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
80 template<typename ResultConfigurationT = ProtectedJobResultConfigurationInput>
81 void SetResultConfiguration(ResultConfigurationT&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::forward<ResultConfigurationT>(value); }
82 template<typename ResultConfigurationT = ProtectedJobResultConfigurationInput>
83 StartProtectedJobRequest& WithResultConfiguration(ResultConfigurationT&& value) { SetResultConfiguration(std::forward<ResultConfigurationT>(value)); return *this;}
85
87
90 inline const ProtectedJobComputeConfiguration& GetComputeConfiguration() const { return m_computeConfiguration; }
91 inline bool ComputeConfigurationHasBeenSet() const { return m_computeConfigurationHasBeenSet; }
92 template<typename ComputeConfigurationT = ProtectedJobComputeConfiguration>
93 void SetComputeConfiguration(ComputeConfigurationT&& value) { m_computeConfigurationHasBeenSet = true; m_computeConfiguration = std::forward<ComputeConfigurationT>(value); }
94 template<typename ComputeConfigurationT = ProtectedJobComputeConfiguration>
95 StartProtectedJobRequest& WithComputeConfiguration(ComputeConfigurationT&& value) { SetComputeConfiguration(std::forward<ComputeConfigurationT>(value)); return *this;}
97 private:
98
100 bool m_typeHasBeenSet = false;
101
102 Aws::String m_membershipIdentifier;
103 bool m_membershipIdentifierHasBeenSet = false;
104
105 ProtectedJobParameters m_jobParameters;
106 bool m_jobParametersHasBeenSet = false;
107
108 ProtectedJobResultConfigurationInput m_resultConfiguration;
109 bool m_resultConfigurationHasBeenSet = false;
110
111 ProtectedJobComputeConfiguration m_computeConfiguration;
112 bool m_computeConfigurationHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace CleanRooms
117} // 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