AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomerManagedFleetConfiguration.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/AutoScalingMode.h>
9#include <aws/deadline/model/CustomerManagedWorkerCapabilities.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace deadline
24{
25namespace Model
26{
27
35 {
36 public:
40 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AutoScalingMode& GetMode() const{ return m_mode; }
48 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 inline void SetMode(const AutoScalingMode& value) { m_modeHasBeenSet = true; m_mode = value; }
50 inline void SetMode(AutoScalingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
51 inline CustomerManagedFleetConfiguration& WithMode(const AutoScalingMode& value) { SetMode(value); return *this;}
52 inline CustomerManagedFleetConfiguration& WithMode(AutoScalingMode&& value) { SetMode(std::move(value)); return *this;}
54
56
59 inline const CustomerManagedWorkerCapabilities& GetWorkerCapabilities() const{ return m_workerCapabilities; }
60 inline bool WorkerCapabilitiesHasBeenSet() const { return m_workerCapabilitiesHasBeenSet; }
61 inline void SetWorkerCapabilities(const CustomerManagedWorkerCapabilities& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = value; }
62 inline void SetWorkerCapabilities(CustomerManagedWorkerCapabilities&& value) { m_workerCapabilitiesHasBeenSet = true; m_workerCapabilities = std::move(value); }
66
68
71 inline const Aws::String& GetStorageProfileId() const{ return m_storageProfileId; }
72 inline bool StorageProfileIdHasBeenSet() const { return m_storageProfileIdHasBeenSet; }
73 inline void SetStorageProfileId(const Aws::String& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = value; }
74 inline void SetStorageProfileId(Aws::String&& value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId = std::move(value); }
75 inline void SetStorageProfileId(const char* value) { m_storageProfileIdHasBeenSet = true; m_storageProfileId.assign(value); }
78 inline CustomerManagedFleetConfiguration& WithStorageProfileId(const char* value) { SetStorageProfileId(value); return *this;}
80 private:
81
82 AutoScalingMode m_mode;
83 bool m_modeHasBeenSet = false;
84
85 CustomerManagedWorkerCapabilities m_workerCapabilities;
86 bool m_workerCapabilitiesHasBeenSet = false;
87
88 Aws::String m_storageProfileId;
89 bool m_storageProfileIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace deadline
94} // namespace Aws
CustomerManagedFleetConfiguration & WithMode(AutoScalingMode &&value)
AWS_DEADLINE_API CustomerManagedFleetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
CustomerManagedFleetConfiguration & WithWorkerCapabilities(CustomerManagedWorkerCapabilities &&value)
CustomerManagedFleetConfiguration & WithStorageProfileId(const Aws::String &value)
CustomerManagedFleetConfiguration & WithMode(const AutoScalingMode &value)
AWS_DEADLINE_API CustomerManagedFleetConfiguration(Aws::Utils::Json::JsonView jsonValue)
const CustomerManagedWorkerCapabilities & GetWorkerCapabilities() const
void SetWorkerCapabilities(const CustomerManagedWorkerCapabilities &value)
void SetWorkerCapabilities(CustomerManagedWorkerCapabilities &&value)
CustomerManagedFleetConfiguration & WithStorageProfileId(const char *value)
CustomerManagedFleetConfiguration & WithWorkerCapabilities(const CustomerManagedWorkerCapabilities &value)
CustomerManagedFleetConfiguration & WithStorageProfileId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue