AWS SDK for C++  1.9.70
AWS SDK for C++
DeleteLaunchTemplateVersionsResponseSuccessItem.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace EC2
22 {
23 namespace Model
24 {
25 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
46  inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
47 
51  inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
52 
56  inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
57 
61  inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
62 
66  inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
67 
71  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;}
72 
76  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;}
77 
81  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
82 
83 
87  inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
88 
92  inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
93 
97  inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
98 
102  inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
103 
107  inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
108 
112  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;}
113 
117  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;}
118 
122  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;}
123 
124 
128  inline long long GetVersionNumber() const{ return m_versionNumber; }
129 
133  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
134 
138  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
139 
143  inline DeleteLaunchTemplateVersionsResponseSuccessItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
144 
145  private:
146 
147  Aws::String m_launchTemplateId;
148  bool m_launchTemplateIdHasBeenSet;
149 
150  Aws::String m_launchTemplateName;
151  bool m_launchTemplateNameHasBeenSet;
152 
153  long long m_versionNumber;
154  bool m_versionNumberHasBeenSet;
155  };
156 
157 } // namespace Model
158 } // namespace EC2
159 } // namespace Aws
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:133
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetLaunchTemplateName
void SetLaunchTemplateName(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:107
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::GetVersionNumber
long long GetVersionNumber() const
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:128
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithLaunchTemplateId
DeleteLaunchTemplateVersionsResponseSuccessItem & WithLaunchTemplateId(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:76
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetLaunchTemplateId
void SetLaunchTemplateId(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:66
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::GetLaunchTemplateName
const Aws::String & GetLaunchTemplateName() const
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:87
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetLaunchTemplateId
void SetLaunchTemplateId(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:56
AWSStreamFwd.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetLaunchTemplateName
void SetLaunchTemplateName(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:97
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::GetLaunchTemplateId
const Aws::String & GetLaunchTemplateId() const
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:46
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::LaunchTemplateIdHasBeenSet
bool LaunchTemplateIdHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:51
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithLaunchTemplateName
DeleteLaunchTemplateVersionsResponseSuccessItem & WithLaunchTemplateName(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:122
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithLaunchTemplateName
DeleteLaunchTemplateVersionsResponseSuccessItem & WithLaunchTemplateName(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:112
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetLaunchTemplateName
void SetLaunchTemplateName(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:102
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithLaunchTemplateId
DeleteLaunchTemplateVersionsResponseSuccessItem & WithLaunchTemplateId(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:71
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:33
AWSString.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::DeleteLaunchTemplateVersionsResponseSuccessItem
DeleteLaunchTemplateVersionsResponseSuccessItem(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetVersionNumber
void SetVersionNumber(long long value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:138
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::operator=
DeleteLaunchTemplateVersionsResponseSuccessItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::LaunchTemplateNameHasBeenSet
bool LaunchTemplateNameHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:92
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithLaunchTemplateId
DeleteLaunchTemplateVersionsResponseSuccessItem & WithLaunchTemplateId(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:81
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::DeleteLaunchTemplateVersionsResponseSuccessItem
DeleteLaunchTemplateVersionsResponseSuccessItem()
EC2_EXPORTS.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::SetLaunchTemplateId
void SetLaunchTemplateId(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:61
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithVersionNumber
DeleteLaunchTemplateVersionsResponseSuccessItem & WithVersionNumber(long long value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:143
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem::WithLaunchTemplateName
DeleteLaunchTemplateVersionsResponseSuccessItem & WithLaunchTemplateName(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:117