AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetConfiguration.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/CustomerManagedFleetConfiguration.h>
9#include <aws/deadline/model/ServiceManagedEc2FleetConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace deadline
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEADLINE_API FleetConfiguration();
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const CustomerManagedFleetConfiguration& GetCustomerManaged() const{ return m_customerManaged; }
46 inline bool CustomerManagedHasBeenSet() const { return m_customerManagedHasBeenSet; }
47 inline void SetCustomerManaged(const CustomerManagedFleetConfiguration& value) { m_customerManagedHasBeenSet = true; m_customerManaged = value; }
48 inline void SetCustomerManaged(CustomerManagedFleetConfiguration&& value) { m_customerManagedHasBeenSet = true; m_customerManaged = std::move(value); }
52
54
57 inline const ServiceManagedEc2FleetConfiguration& GetServiceManagedEc2() const{ return m_serviceManagedEc2; }
58 inline bool ServiceManagedEc2HasBeenSet() const { return m_serviceManagedEc2HasBeenSet; }
59 inline void SetServiceManagedEc2(const ServiceManagedEc2FleetConfiguration& value) { m_serviceManagedEc2HasBeenSet = true; m_serviceManagedEc2 = value; }
60 inline void SetServiceManagedEc2(ServiceManagedEc2FleetConfiguration&& value) { m_serviceManagedEc2HasBeenSet = true; m_serviceManagedEc2 = std::move(value); }
64 private:
65
66 CustomerManagedFleetConfiguration m_customerManaged;
67 bool m_customerManagedHasBeenSet = false;
68
69 ServiceManagedEc2FleetConfiguration m_serviceManagedEc2;
70 bool m_serviceManagedEc2HasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace deadline
75} // namespace Aws
void SetCustomerManaged(const CustomerManagedFleetConfiguration &value)
FleetConfiguration & WithCustomerManaged(CustomerManagedFleetConfiguration &&value)
const CustomerManagedFleetConfiguration & GetCustomerManaged() const
FleetConfiguration & WithCustomerManaged(const CustomerManagedFleetConfiguration &value)
void SetServiceManagedEc2(ServiceManagedEc2FleetConfiguration &&value)
AWS_DEADLINE_API FleetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetConfiguration & WithServiceManagedEc2(ServiceManagedEc2FleetConfiguration &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceManagedEc2FleetConfiguration & GetServiceManagedEc2() const
void SetServiceManagedEc2(const ServiceManagedEc2FleetConfiguration &value)
void SetCustomerManaged(CustomerManagedFleetConfiguration &&value)
AWS_DEADLINE_API FleetConfiguration(Aws::Utils::Json::JsonView jsonValue)
FleetConfiguration & WithServiceManagedEc2(const ServiceManagedEc2FleetConfiguration &value)
Aws::Utils::Json::JsonValue JsonValue