AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
WorkerComputeConfiguration.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/WorkerComputeConfigurationProperties.h>
9#include <aws/cleanrooms/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 CleanRooms {
21namespace Model {
22
30 public:
31 AWS_CLEANROOMS_API WorkerComputeConfiguration() = default;
34 AWS_CLEANROOMS_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
58 inline int GetNumber() const { return m_number; }
59 inline bool NumberHasBeenSet() const { return m_numberHasBeenSet; }
60 inline void SetNumber(int value) {
61 m_numberHasBeenSet = true;
62 m_number = value;
63 }
65 SetNumber(value);
66 return *this;
67 }
69
71
76 inline const WorkerComputeConfigurationProperties& GetProperties() const { return m_properties; }
77 inline bool PropertiesHasBeenSet() const { return m_propertiesHasBeenSet; }
78 template <typename PropertiesT = WorkerComputeConfigurationProperties>
79 void SetProperties(PropertiesT&& value) {
80 m_propertiesHasBeenSet = true;
81 m_properties = std::forward<PropertiesT>(value);
82 }
83 template <typename PropertiesT = WorkerComputeConfigurationProperties>
85 SetProperties(std::forward<PropertiesT>(value));
86 return *this;
87 }
89 private:
91 bool m_typeHasBeenSet = false;
92
93 int m_number{0};
94 bool m_numberHasBeenSet = false;
95
96 WorkerComputeConfigurationProperties m_properties;
97 bool m_propertiesHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace CleanRooms
102} // namespace Aws
WorkerComputeConfiguration & WithProperties(PropertiesT &&value)
AWS_CLEANROOMS_API WorkerComputeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API WorkerComputeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CLEANROOMS_API WorkerComputeConfiguration()=default
const WorkerComputeConfigurationProperties & GetProperties() const
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
WorkerComputeConfiguration & WithType(WorkerComputeType value)
Aws::Utils::Json::JsonValue JsonValue