AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename LaunchTemplateIdT = Aws::String>
53 void SetLaunchTemplateId(LaunchTemplateIdT&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::forward<LaunchTemplateIdT>(value); }
54 template<typename LaunchTemplateIdT = Aws::String>
55 FastLaunchLaunchTemplateSpecificationRequest& WithLaunchTemplateId(LaunchTemplateIdT&& value) { SetLaunchTemplateId(std::forward<LaunchTemplateIdT>(value)); return *this;}
57
59
63 inline const Aws::String& GetLaunchTemplateName() const { return m_launchTemplateName; }
64 inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
65 template<typename LaunchTemplateNameT = Aws::String>
66 void SetLaunchTemplateName(LaunchTemplateNameT&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::forward<LaunchTemplateNameT>(value); }
67 template<typename LaunchTemplateNameT = Aws::String>
68 FastLaunchLaunchTemplateSpecificationRequest& WithLaunchTemplateName(LaunchTemplateNameT&& value) { SetLaunchTemplateName(std::forward<LaunchTemplateNameT>(value)); return *this;}
70
72
76 inline const Aws::String& GetVersion() const { return m_version; }
77 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
78 template<typename VersionT = Aws::String>
79 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
80 template<typename VersionT = Aws::String>
81 FastLaunchLaunchTemplateSpecificationRequest& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
83 private:
84
85 Aws::String m_launchTemplateId;
86 bool m_launchTemplateIdHasBeenSet = false;
87
88 Aws::String m_launchTemplateName;
89 bool m_launchTemplateNameHasBeenSet = false;
90
91 Aws::String m_version;
92 bool m_versionHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace EC2
97} // namespace Aws
AWS_EC2_API FastLaunchLaunchTemplateSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateName(LaunchTemplateNameT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API FastLaunchLaunchTemplateSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FastLaunchLaunchTemplateSpecificationRequest & WithLaunchTemplateId(LaunchTemplateIdT &&value)
FastLaunchLaunchTemplateSpecificationRequest & WithVersion(VersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream