AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ServiceManagedEc2FleetConfiguration.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/model/ServiceManagedEc2InstanceCapabilities.h>
9#include <aws/deadline/model/ServiceManagedEc2InstanceMarketOptions.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
34 {
35 public:
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ServiceManagedEc2InstanceCapabilities& GetInstanceCapabilities() const{ return m_instanceCapabilities; }
47 inline bool InstanceCapabilitiesHasBeenSet() const { return m_instanceCapabilitiesHasBeenSet; }
48 inline void SetInstanceCapabilities(const ServiceManagedEc2InstanceCapabilities& value) { m_instanceCapabilitiesHasBeenSet = true; m_instanceCapabilities = value; }
49 inline void SetInstanceCapabilities(ServiceManagedEc2InstanceCapabilities&& value) { m_instanceCapabilitiesHasBeenSet = true; m_instanceCapabilities = std::move(value); }
53
55
58 inline const ServiceManagedEc2InstanceMarketOptions& GetInstanceMarketOptions() const{ return m_instanceMarketOptions; }
59 inline bool InstanceMarketOptionsHasBeenSet() const { return m_instanceMarketOptionsHasBeenSet; }
60 inline void SetInstanceMarketOptions(const ServiceManagedEc2InstanceMarketOptions& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = value; }
61 inline void SetInstanceMarketOptions(ServiceManagedEc2InstanceMarketOptions&& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = std::move(value); }
65 private:
66
67 ServiceManagedEc2InstanceCapabilities m_instanceCapabilities;
68 bool m_instanceCapabilitiesHasBeenSet = false;
69
70 ServiceManagedEc2InstanceMarketOptions m_instanceMarketOptions;
71 bool m_instanceMarketOptionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace deadline
76} // namespace Aws
ServiceManagedEc2FleetConfiguration & WithInstanceCapabilities(const ServiceManagedEc2InstanceCapabilities &value)
ServiceManagedEc2FleetConfiguration & WithInstanceMarketOptions(ServiceManagedEc2InstanceMarketOptions &&value)
void SetInstanceCapabilities(ServiceManagedEc2InstanceCapabilities &&value)
ServiceManagedEc2FleetConfiguration & WithInstanceCapabilities(ServiceManagedEc2InstanceCapabilities &&value)
void SetInstanceMarketOptions(const ServiceManagedEc2InstanceMarketOptions &value)
void SetInstanceMarketOptions(ServiceManagedEc2InstanceMarketOptions &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetInstanceCapabilities(const ServiceManagedEc2InstanceCapabilities &value)
AWS_DEADLINE_API ServiceManagedEc2FleetConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ServiceManagedEc2InstanceMarketOptions & GetInstanceMarketOptions() const
const ServiceManagedEc2InstanceCapabilities & GetInstanceCapabilities() const
ServiceManagedEc2FleetConfiguration & WithInstanceMarketOptions(const ServiceManagedEc2InstanceMarketOptions &value)
Aws::Utils::Json::JsonValue JsonValue