AWS SDK for C++  1.9.103
AWS SDK for C++
DeleteLaunchTemplateVersionsResponseErrorItem.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Xml
18 {
19  class XmlNode;
20 } // namespace Xml
21 } // namespace Utils
22 namespace EC2
23 {
24 namespace Model
25 {
26 
34  {
35  public:
39 
40  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41  void OutputToStream(Aws::OStream& oStream, const char* location) const;
42 
43 
47  inline const Aws::String& GetLaunchTemplateId() const{ return m_launchTemplateId; }
48 
52  inline bool LaunchTemplateIdHasBeenSet() const { return m_launchTemplateIdHasBeenSet; }
53 
57  inline void SetLaunchTemplateId(const Aws::String& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = value; }
58 
62  inline void SetLaunchTemplateId(Aws::String&& value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId = std::move(value); }
63 
67  inline void SetLaunchTemplateId(const char* value) { m_launchTemplateIdHasBeenSet = true; m_launchTemplateId.assign(value); }
68 
72  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateId(const Aws::String& value) { SetLaunchTemplateId(value); return *this;}
73 
77  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateId(Aws::String&& value) { SetLaunchTemplateId(std::move(value)); return *this;}
78 
82  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateId(const char* value) { SetLaunchTemplateId(value); return *this;}
83 
84 
88  inline const Aws::String& GetLaunchTemplateName() const{ return m_launchTemplateName; }
89 
93  inline bool LaunchTemplateNameHasBeenSet() const { return m_launchTemplateNameHasBeenSet; }
94 
98  inline void SetLaunchTemplateName(const Aws::String& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = value; }
99 
103  inline void SetLaunchTemplateName(Aws::String&& value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName = std::move(value); }
104 
108  inline void SetLaunchTemplateName(const char* value) { m_launchTemplateNameHasBeenSet = true; m_launchTemplateName.assign(value); }
109 
113  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateName(const Aws::String& value) { SetLaunchTemplateName(value); return *this;}
114 
118  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateName(Aws::String&& value) { SetLaunchTemplateName(std::move(value)); return *this;}
119 
123  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithLaunchTemplateName(const char* value) { SetLaunchTemplateName(value); return *this;}
124 
125 
129  inline long long GetVersionNumber() const{ return m_versionNumber; }
130 
134  inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; }
135 
139  inline void SetVersionNumber(long long value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; }
140 
144  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithVersionNumber(long long value) { SetVersionNumber(value); return *this;}
145 
146 
150  inline const ResponseError& GetResponseError() const{ return m_responseError; }
151 
155  inline bool ResponseErrorHasBeenSet() const { return m_responseErrorHasBeenSet; }
156 
160  inline void SetResponseError(const ResponseError& value) { m_responseErrorHasBeenSet = true; m_responseError = value; }
161 
165  inline void SetResponseError(ResponseError&& value) { m_responseErrorHasBeenSet = true; m_responseError = std::move(value); }
166 
170  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithResponseError(const ResponseError& value) { SetResponseError(value); return *this;}
171 
175  inline DeleteLaunchTemplateVersionsResponseErrorItem& WithResponseError(ResponseError&& value) { SetResponseError(std::move(value)); return *this;}
176 
177  private:
178 
179  Aws::String m_launchTemplateId;
180  bool m_launchTemplateIdHasBeenSet;
181 
182  Aws::String m_launchTemplateName;
183  bool m_launchTemplateNameHasBeenSet;
184 
185  long long m_versionNumber;
186  bool m_versionNumberHasBeenSet;
187 
188  ResponseError m_responseError;
189  bool m_responseErrorHasBeenSet;
190  };
191 
192 } // namespace Model
193 } // namespace EC2
194 } // namespace Aws
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::LaunchTemplateNameHasBeenSet
bool LaunchTemplateNameHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:93
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetLaunchTemplateId
void SetLaunchTemplateId(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:57
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:34
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithVersionNumber
DeleteLaunchTemplateVersionsResponseErrorItem & WithVersionNumber(long long value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:144
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetVersionNumber
void SetVersionNumber(long long value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:139
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithLaunchTemplateId
DeleteLaunchTemplateVersionsResponseErrorItem & WithLaunchTemplateId(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:77
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::GetVersionNumber
long long GetVersionNumber() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:129
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetLaunchTemplateName
void SetLaunchTemplateName(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:103
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::operator=
DeleteLaunchTemplateVersionsResponseErrorItem & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::LaunchTemplateIdHasBeenSet
bool LaunchTemplateIdHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:52
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithLaunchTemplateId
DeleteLaunchTemplateVersionsResponseErrorItem & WithLaunchTemplateId(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:82
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::DeleteLaunchTemplateVersionsResponseErrorItem
DeleteLaunchTemplateVersionsResponseErrorItem()
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
ResponseError.h
Aws::EC2::Model::ResponseError
Definition: ResponseError.h:34
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::ResponseErrorHasBeenSet
bool ResponseErrorHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:155
AWSString.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::GetLaunchTemplateName
const Aws::String & GetLaunchTemplateName() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:88
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetResponseError
void SetResponseError(const ResponseError &value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:160
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetLaunchTemplateId
void SetLaunchTemplateId(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:62
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::GetLaunchTemplateId
const Aws::String & GetLaunchTemplateId() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:47
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::DeleteLaunchTemplateVersionsResponseErrorItem
DeleteLaunchTemplateVersionsResponseErrorItem(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithLaunchTemplateName
DeleteLaunchTemplateVersionsResponseErrorItem & WithLaunchTemplateName(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:123
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetLaunchTemplateName
void SetLaunchTemplateName(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:108
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetResponseError
void SetResponseError(ResponseError &&value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:165
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetLaunchTemplateName
void SetLaunchTemplateName(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:98
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::SetLaunchTemplateId
void SetLaunchTemplateId(const char *value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:67
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithResponseError
DeleteLaunchTemplateVersionsResponseErrorItem & WithResponseError(ResponseError &&value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:175
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithResponseError
DeleteLaunchTemplateVersionsResponseErrorItem & WithResponseError(const ResponseError &value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:170
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithLaunchTemplateId
DeleteLaunchTemplateVersionsResponseErrorItem & WithLaunchTemplateId(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:72
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::VersionNumberHasBeenSet
bool VersionNumberHasBeenSet() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:134
EC2_EXPORTS.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithLaunchTemplateName
DeleteLaunchTemplateVersionsResponseErrorItem & WithLaunchTemplateName(Aws::String &&value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:118
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::WithLaunchTemplateName
DeleteLaunchTemplateVersionsResponseErrorItem & WithLaunchTemplateName(const Aws::String &value)
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:113
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem::GetResponseError
const ResponseError & GetResponseError() const
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:150