AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetCapabilities.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/deadline/model/FleetAmountCapability.h>
10#include <aws/deadline/model/FleetAttributeCapability.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
34 {
35 public:
36 AWS_DEADLINE_API FleetCapabilities();
37 AWS_DEADLINE_API FleetCapabilities(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<FleetAmountCapability>& GetAmounts() const{ return m_amounts; }
47 inline bool AmountsHasBeenSet() const { return m_amountsHasBeenSet; }
48 inline void SetAmounts(const Aws::Vector<FleetAmountCapability>& value) { m_amountsHasBeenSet = true; m_amounts = value; }
49 inline void SetAmounts(Aws::Vector<FleetAmountCapability>&& value) { m_amountsHasBeenSet = true; m_amounts = std::move(value); }
50 inline FleetCapabilities& WithAmounts(const Aws::Vector<FleetAmountCapability>& value) { SetAmounts(value); return *this;}
51 inline FleetCapabilities& WithAmounts(Aws::Vector<FleetAmountCapability>&& value) { SetAmounts(std::move(value)); return *this;}
52 inline FleetCapabilities& AddAmounts(const FleetAmountCapability& value) { m_amountsHasBeenSet = true; m_amounts.push_back(value); return *this; }
53 inline FleetCapabilities& AddAmounts(FleetAmountCapability&& value) { m_amountsHasBeenSet = true; m_amounts.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<FleetAttributeCapability>& GetAttributes() const{ return m_attributes; }
61 inline bool AttributesHasBeenSet() const { return m_attributesHasBeenSet; }
62 inline void SetAttributes(const Aws::Vector<FleetAttributeCapability>& value) { m_attributesHasBeenSet = true; m_attributes = value; }
63 inline void SetAttributes(Aws::Vector<FleetAttributeCapability>&& value) { m_attributesHasBeenSet = true; m_attributes = std::move(value); }
65 inline FleetCapabilities& WithAttributes(Aws::Vector<FleetAttributeCapability>&& value) { SetAttributes(std::move(value)); return *this;}
66 inline FleetCapabilities& AddAttributes(const FleetAttributeCapability& value) { m_attributesHasBeenSet = true; m_attributes.push_back(value); return *this; }
67 inline FleetCapabilities& AddAttributes(FleetAttributeCapability&& value) { m_attributesHasBeenSet = true; m_attributes.push_back(std::move(value)); return *this; }
69 private:
70
72 bool m_amountsHasBeenSet = false;
73
75 bool m_attributesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace deadline
80} // namespace Aws
FleetCapabilities & WithAttributes(Aws::Vector< FleetAttributeCapability > &&value)
AWS_DEADLINE_API FleetCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetCapabilities & WithAmounts(Aws::Vector< FleetAmountCapability > &&value)
FleetCapabilities & AddAmounts(FleetAmountCapability &&value)
const Aws::Vector< FleetAttributeCapability > & GetAttributes() const
FleetCapabilities & WithAmounts(const Aws::Vector< FleetAmountCapability > &value)
FleetCapabilities & AddAttributes(FleetAttributeCapability &&value)
void SetAttributes(Aws::Vector< FleetAttributeCapability > &&value)
void SetAttributes(const Aws::Vector< FleetAttributeCapability > &value)
AWS_DEADLINE_API FleetCapabilities(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< FleetAmountCapability > & GetAmounts() const
void SetAmounts(const Aws::Vector< FleetAmountCapability > &value)
FleetCapabilities & AddAmounts(const FleetAmountCapability &value)
FleetCapabilities & AddAttributes(const FleetAttributeCapability &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAmounts(Aws::Vector< FleetAmountCapability > &&value)
FleetCapabilities & WithAttributes(const Aws::Vector< FleetAttributeCapability > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue