AWS SDK for C++

AWS SDK for C++ Version 1.11.781

Loading...
Searching...
No Matches
CustomerManagedFleetConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9#include <aws/deadline/model/AutoScalingMode.h>
10#include <aws/deadline/model/CustomerManagedAutoScalingConfiguration.h>
11#include <aws/deadline/model/CustomerManagedWorkerCapabilities.h>
12#include <aws/deadline/model/TagPropagationMode.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline {
24namespace Model {
25
33 public:
34 AWS_DEADLINE_API CustomerManagedFleetConfiguration() = default;
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline AutoScalingMode GetMode() const { return m_mode; }
44 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
45 inline void SetMode(AutoScalingMode value) {
46 m_modeHasBeenSet = true;
47 m_mode = value;
48 }
50 SetMode(value);
51 return *this;
52 }
54
56
59 inline const CustomerManagedAutoScalingConfiguration& GetAutoScalingConfiguration() const { return m_autoScalingConfiguration; }
60 inline bool AutoScalingConfigurationHasBeenSet() const { return m_autoScalingConfigurationHasBeenSet; }
61 template <typename AutoScalingConfigurationT = CustomerManagedAutoScalingConfiguration>
62 void SetAutoScalingConfiguration(AutoScalingConfigurationT&& value) {
63 m_autoScalingConfigurationHasBeenSet = true;
64 m_autoScalingConfiguration = std::forward<AutoScalingConfigurationT>(value);
65 }
66 template <typename AutoScalingConfigurationT = CustomerManagedAutoScalingConfiguration>
68 SetAutoScalingConfiguration(std::forward<AutoScalingConfigurationT>(value));
69 return *this;
70 }
72
74
77 inline const CustomerManagedWorkerCapabilities& GetWorkerCapabilities() const { return m_workerCapabilities; }
78 inline bool WorkerCapabilitiesHasBeenSet() const { return m_workerCapabilitiesHasBeenSet; }
79 template <typename WorkerCapabilitiesT = CustomerManagedWorkerCapabilities>
80 void SetWorkerCapabilities(WorkerCapabilitiesT&& value) {
81 m_workerCapabilitiesHasBeenSet = true;
82 m_workerCapabilities = std::forward<WorkerCapabilitiesT>(value);
83 }
84 template <typename WorkerCapabilitiesT = CustomerManagedWorkerCapabilities>
86 SetWorkerCapabilities(std::forward<WorkerCapabilitiesT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetStorageProfileId() const { return m_storageProfileId; }
96 inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; }
97 template <typename StorageProfileIdT = Aws::String>
98 void SetStorageProfileId(StorageProfileIdT&& value) {
99 m_storageProfileIdHasBeenSet = true;
100 m_storageProfileId = std::forward<StorageProfileIdT>(value);
101 }
102 template <typename StorageProfileIdT = Aws::String>
104 SetStorageProfileId(std::forward<StorageProfileIdT>(value));
105 return *this;
106 }
108
110
113 inline TagPropagationMode GetTagPropagationMode() const { return m_tagPropagationMode; }
114 inline bool TagPropagationModeHasBeenSet() const { return m_tagPropagationModeHasBeenSet; }
116 m_tagPropagationModeHasBeenSet = true;
117 m_tagPropagationMode = value;
118 }
121 return *this;
122 }
124 private:
126
127 CustomerManagedAutoScalingConfiguration m_autoScalingConfiguration;
128
129 CustomerManagedWorkerCapabilities m_workerCapabilities;
130
131 Aws::String m_storageProfileId;
132
134 bool m_modeHasBeenSet = false;
135 bool m_autoScalingConfigurationHasBeenSet = false;
136 bool m_workerCapabilitiesHasBeenSet = false;
137 bool m_storageProfileIdHasBeenSet = false;
138 bool m_tagPropagationModeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace deadline
143} // namespace Aws
CustomerManagedFleetConfiguration & WithWorkerCapabilities(WorkerCapabilitiesT &&value)
AWS_DEADLINE_API CustomerManagedFleetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomerManagedFleetConfiguration & WithTagPropagationMode(TagPropagationMode value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const CustomerManagedAutoScalingConfiguration & GetAutoScalingConfiguration() const
AWS_DEADLINE_API CustomerManagedFleetConfiguration(Aws::Utils::Json::JsonView jsonValue)
const CustomerManagedWorkerCapabilities & GetWorkerCapabilities() const
CustomerManagedFleetConfiguration & WithStorageProfileId(StorageProfileIdT &&value)
CustomerManagedFleetConfiguration & WithMode(AutoScalingMode value)
AWS_DEADLINE_API CustomerManagedFleetConfiguration()=default
CustomerManagedFleetConfiguration & WithAutoScalingConfiguration(AutoScalingConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue