AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetLaunchTemplateSpecification.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
38 {
39 public:
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
54 inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
55 inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
56 inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
57 inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
58 inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
60 inline FleetLaunchTemplateSpecification& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;}
61 inline FleetLaunchTemplateSpecification& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
63
65
70 inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
71 inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
72 inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
73 inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
74 inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
77 inline FleetLaunchTemplateSpecification& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;}
79
81
88 inline const Aws::String& GetVersion() const{ return m_version; }
89 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
90 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
91 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
92 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
93 inline FleetLaunchTemplateSpecification& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
94 inline FleetLaunchTemplateSpecification& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
95 inline FleetLaunchTemplateSpecification& WithVersion(const char* value) { SetVersion(value); return *this;}
97 private:
98
99 Aws::String m_launchTemplateId;
100 bool m_launchTemplateIdHasBeenSet = false;
101
102 Aws::String m_launchTemplateName;
103 bool m_launchTemplateNameHasBeenSet = false;
104
105 Aws::String m_version;
106 bool m_versionHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace EC2
111} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FleetLaunchTemplateSpecification & WithVersion(const Aws::String &value)
AWS_EC2_API FleetLaunchTemplateSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetLaunchTemplateSpecification & WithVersion(Aws::String &&value)
AWS_EC2_API FleetLaunchTemplateSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetLaunchTemplateSpecification & WithLaunchTemplateName(const char *value)
FleetLaunchTemplateSpecification & WithLaunchTemplateName(Aws::String &&value)
FleetLaunchTemplateSpecification & WithVersion(const char *value)
FleetLaunchTemplateSpecification & WithLaunchTemplateId(Aws::String &&value)
FleetLaunchTemplateSpecification & WithLaunchTemplateName(const Aws::String &value)
FleetLaunchTemplateSpecification & WithLaunchTemplateId(const Aws::String &value)
FleetLaunchTemplateSpecification & WithLaunchTemplateId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream