AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FastLaunchLaunchTemplateSpecificationRequest.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
35 {
36 public:
40
41 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
50 inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
51 inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
52 inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
53 inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
54 inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
59
61
65 inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
66 inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
67 inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
68 inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
69 inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
74
76
80 inline const Aws::String& GetVersion() const{ return m_version; }
81 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
82 inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; }
83 inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); }
84 inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); }
86 inline FastLaunchLaunchTemplateSpecificationRequest& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
87 inline FastLaunchLaunchTemplateSpecificationRequest& WithVersion(const char* value) { SetVersion(value); return *this;}
89 private:
90
91 Aws::String m_launchTemplateId;
92 bool m_launchTemplateIdHasBeenSet = false;
93
94 Aws::String m_launchTemplateName;
95 bool m_launchTemplateNameHasBeenSet = false;
96
97 Aws::String m_version;
98 bool m_versionHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace EC2
103} // namespace Aws
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateName(const char *value)
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateId(const char *value)
FastLaunchLaunchTemplateSpecificationRequest & WithVersion(const char *value)
AWS_EC2_API FastLaunchLaunchTemplateSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateName(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateId(const Aws::String &value)
AWS_EC2_API FastLaunchLaunchTemplateSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateId(Aws::String &&value)
FastLaunchLaunchTemplateSpecificationRequest & WithVersion(const Aws::String &value)
FastLaunchLaunchTemplateSpecificationRequest & WithVersion(Aws::String &&value)
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream