AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchTemplateAndOverridesResponse.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/FleetLaunchTemplateSpecification.h>
10#include <aws/ec2/model/FleetLaunchTemplateOverrides.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const FleetLaunchTemplateSpecification& GetLaunchTemplateSpecification() const{ return m_launchTemplateSpecification; }
48 inline bool LaunchTemplateSpecificationHasBeenSet() const { return m_launchTemplateSpecificationHasBeenSet; }
49 inline void SetLaunchTemplateSpecification(const FleetLaunchTemplateSpecification& value) { m_launchTemplateSpecificationHasBeenSet = true; m_launchTemplateSpecification = value; }
50 inline void SetLaunchTemplateSpecification(FleetLaunchTemplateSpecification&& value) { m_launchTemplateSpecificationHasBeenSet = true; m_launchTemplateSpecification = std::move(value); }
54
56
60 inline const FleetLaunchTemplateOverrides& GetOverrides() const{ return m_overrides; }
61 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
62 inline void SetOverrides(const FleetLaunchTemplateOverrides& value) { m_overridesHasBeenSet = true; m_overrides = value; }
63 inline void SetOverrides(FleetLaunchTemplateOverrides&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
67 private:
68
69 FleetLaunchTemplateSpecification m_launchTemplateSpecification;
70 bool m_launchTemplateSpecificationHasBeenSet = false;
71
73 bool m_overridesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace EC2
78} // namespace Aws
void SetLaunchTemplateSpecification(const FleetLaunchTemplateSpecification &value)
LaunchTemplateAndOverridesResponse & WithOverrides(FleetLaunchTemplateOverrides &&value)
LaunchTemplateAndOverridesResponse & WithOverrides(const FleetLaunchTemplateOverrides &value)
LaunchTemplateAndOverridesResponse & WithLaunchTemplateSpecification(const FleetLaunchTemplateSpecification &value)
void SetOverrides(const FleetLaunchTemplateOverrides &value)
AWS_EC2_API LaunchTemplateAndOverridesResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const FleetLaunchTemplateSpecification & GetLaunchTemplateSpecification() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetLaunchTemplateSpecification(FleetLaunchTemplateSpecification &&value)
LaunchTemplateAndOverridesResponse & WithLaunchTemplateSpecification(FleetLaunchTemplateSpecification &&value)
AWS_EC2_API LaunchTemplateAndOverridesResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream