AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetLaunchTemplateConfigRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/FleetLaunchTemplateSpecificationRequest.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/FleetLaunchTemplateOverridesRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
49 inline const FleetLaunchTemplateSpecificationRequest& GetLaunchTemplateSpecification() const{ return m_launchTemplateSpecification; }
50 inline bool LaunchTemplateSpecificationHasBeenSet() const { return m_launchTemplateSpecificationHasBeenSet; }
51 inline void SetLaunchTemplateSpecification(const FleetLaunchTemplateSpecificationRequest& value) { m_launchTemplateSpecificationHasBeenSet = true; m_launchTemplateSpecification = value; }
52 inline void SetLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest&& value) { m_launchTemplateSpecificationHasBeenSet = true; m_launchTemplateSpecification = std::move(value); }
56
58
64 inline const Aws::Vector<FleetLaunchTemplateOverridesRequest>& GetOverrides() const{ return m_overrides; }
65 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
66 inline void SetOverrides(const Aws::Vector<FleetLaunchTemplateOverridesRequest>& value) { m_overridesHasBeenSet = true; m_overrides = value; }
67 inline void SetOverrides(Aws::Vector<FleetLaunchTemplateOverridesRequest>&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
70 inline FleetLaunchTemplateConfigRequest& AddOverrides(const FleetLaunchTemplateOverridesRequest& value) { m_overridesHasBeenSet = true; m_overrides.push_back(value); return *this; }
71 inline FleetLaunchTemplateConfigRequest& AddOverrides(FleetLaunchTemplateOverridesRequest&& value) { m_overridesHasBeenSet = true; m_overrides.push_back(std::move(value)); return *this; }
73 private:
74
75 FleetLaunchTemplateSpecificationRequest m_launchTemplateSpecification;
76 bool m_launchTemplateSpecificationHasBeenSet = false;
77
79 bool m_overridesHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
AWS_EC2_API FleetLaunchTemplateConfigRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FleetLaunchTemplateConfigRequest & AddOverrides(FleetLaunchTemplateOverridesRequest &&value)
AWS_EC2_API FleetLaunchTemplateConfigRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetLaunchTemplateConfigRequest & WithOverrides(const Aws::Vector< FleetLaunchTemplateOverridesRequest > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const FleetLaunchTemplateSpecificationRequest & GetLaunchTemplateSpecification() const
const Aws::Vector< FleetLaunchTemplateOverridesRequest > & GetOverrides() const
FleetLaunchTemplateConfigRequest & WithOverrides(Aws::Vector< FleetLaunchTemplateOverridesRequest > &&value)
void SetLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest &&value)
void SetLaunchTemplateSpecification(const FleetLaunchTemplateSpecificationRequest &value)
FleetLaunchTemplateConfigRequest & AddOverrides(const FleetLaunchTemplateOverridesRequest &value)
void SetOverrides(Aws::Vector< FleetLaunchTemplateOverridesRequest > &&value)
FleetLaunchTemplateConfigRequest & WithLaunchTemplateSpecification(FleetLaunchTemplateSpecificationRequest &&value)
void SetOverrides(const Aws::Vector< FleetLaunchTemplateOverridesRequest > &value)
FleetLaunchTemplateConfigRequest & WithLaunchTemplateSpecification(const FleetLaunchTemplateSpecificationRequest &value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream