AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
ComputeConfiguration.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/WorkerComputeConfiguration.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CleanRoomsML {
20namespace Model {
21
29 public:
30 AWS_CLEANROOMSML_API ComputeConfiguration() = default;
31 AWS_CLEANROOMSML_API ComputeConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const WorkerComputeConfiguration& GetWorker() const { return m_worker; }
40 inline bool WorkerHasBeenSet() const { return m_workerHasBeenSet; }
41 template <typename WorkerT = WorkerComputeConfiguration>
42 void SetWorker(WorkerT&& value) {
43 m_workerHasBeenSet = true;
44 m_worker = std::forward<WorkerT>(value);
45 }
46 template <typename WorkerT = WorkerComputeConfiguration>
47 ComputeConfiguration& WithWorker(WorkerT&& value) {
48 SetWorker(std::forward<WorkerT>(value));
49 return *this;
50 }
52 private:
54 bool m_workerHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace CleanRoomsML
59} // namespace Aws
const WorkerComputeConfiguration & GetWorker() const
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMSML_API ComputeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API ComputeConfiguration(Aws::Utils::Json::JsonView jsonValue)
ComputeConfiguration & WithWorker(WorkerT &&value)
AWS_CLEANROOMSML_API ComputeConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue