AWS SDK for C++

AWS SDK for C++ Version 1.11.937

Loading...
Searching...
No Matches
WorkerComputeConfiguration.h
1
6#pragma once
7#include <aws/cleanroomsml/CleanRoomsML_EXPORTS.h>
8#include <aws/cleanroomsml/model/WorkerComputeConfigurationProperties.h>
9#include <aws/cleanroomsml/model/WorkerComputeType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CleanRoomsML {
21namespace Model {
22
30 public:
31 AWS_CLEANROOMSML_API WorkerComputeConfiguration() = default;
34 AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline WorkerComputeType GetType() const { return m_type; }
41 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
42 inline void SetType(WorkerComputeType value) {
43 m_typeHasBeenSet = true;
44 m_type = value;
45 }
47 SetType(value);
48 return *this;
49 }
51
53
56 inline int GetNumber() const { return m_number; }
57 inline bool NumberHasBeenSet() const { return m_numberHasBeenSet; }
58 inline void SetNumber(int value) {
59 m_numberHasBeenSet = true;
60 m_number = value;
61 }
63 SetNumber(value);
64 return *this;
65 }
67
69
70 inline const WorkerComputeConfigurationProperties& GetProperties() const { return m_properties; }
71 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
72 template <typename PropertiesT = WorkerComputeConfigurationProperties>
73 void SetProperties(PropertiesT&& value) {
74 m_propertiesHasBeenSet = true;
75 m_properties = std::forward<PropertiesT>(value);
76 }
77 template <typename PropertiesT = WorkerComputeConfigurationProperties>
79 SetProperties(std::forward<PropertiesT>(value));
80 return *this;
81 }
83 private:
85
86 int m_number{0};
87
88 WorkerComputeConfigurationProperties m_properties;
89 bool m_typeHasBeenSet = false;
90 bool m_numberHasBeenSet = false;
91 bool m_propertiesHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace CleanRoomsML
96} // namespace Aws
AWS_CLEANROOMSML_API WorkerComputeConfiguration()=default
WorkerComputeConfiguration & WithType(WorkerComputeType value)
AWS_CLEANROOMSML_API WorkerComputeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMSML_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLEANROOMSML_API WorkerComputeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkerComputeConfiguration & WithProperties(PropertiesT &&value)
const WorkerComputeConfigurationProperties & GetProperties() const
Aws::Utils::Json::JsonValue JsonValue