AWS SDK for C++  1.9.124
AWS SDK for C++
DeleteLaunchTemplateVersionsResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace EC2
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
42  inline const Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>& GetSuccessfullyDeletedLaunchTemplateVersions() const{ return m_successfullyDeletedLaunchTemplateVersions; }
43 
48  inline void SetSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>& value) { m_successfullyDeletedLaunchTemplateVersions = value; }
49 
54  inline void SetSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>&& value) { m_successfullyDeletedLaunchTemplateVersions = std::move(value); }
55 
60  inline DeleteLaunchTemplateVersionsResponse& WithSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>& value) { SetSuccessfullyDeletedLaunchTemplateVersions(value); return *this;}
61 
66  inline DeleteLaunchTemplateVersionsResponse& WithSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>&& value) { SetSuccessfullyDeletedLaunchTemplateVersions(std::move(value)); return *this;}
67 
72  inline DeleteLaunchTemplateVersionsResponse& AddSuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseSuccessItem& value) { m_successfullyDeletedLaunchTemplateVersions.push_back(value); return *this; }
73 
78  inline DeleteLaunchTemplateVersionsResponse& AddSuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseSuccessItem&& value) { m_successfullyDeletedLaunchTemplateVersions.push_back(std::move(value)); return *this; }
79 
80 
84  inline const Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>& GetUnsuccessfullyDeletedLaunchTemplateVersions() const{ return m_unsuccessfullyDeletedLaunchTemplateVersions; }
85 
89  inline void SetUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>& value) { m_unsuccessfullyDeletedLaunchTemplateVersions = value; }
90 
94  inline void SetUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>&& value) { m_unsuccessfullyDeletedLaunchTemplateVersions = std::move(value); }
95 
99  inline DeleteLaunchTemplateVersionsResponse& WithUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>& value) { SetUnsuccessfullyDeletedLaunchTemplateVersions(value); return *this;}
100 
104  inline DeleteLaunchTemplateVersionsResponse& WithUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>&& value) { SetUnsuccessfullyDeletedLaunchTemplateVersions(std::move(value)); return *this;}
105 
109  inline DeleteLaunchTemplateVersionsResponse& AddUnsuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseErrorItem& value) { m_unsuccessfullyDeletedLaunchTemplateVersions.push_back(value); return *this; }
110 
114  inline DeleteLaunchTemplateVersionsResponse& AddUnsuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseErrorItem&& value) { m_unsuccessfullyDeletedLaunchTemplateVersions.push_back(std::move(value)); return *this; }
115 
116 
117 
118  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
119 
120 
121  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
122 
123 
124  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
125 
126 
127  inline DeleteLaunchTemplateVersionsResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
128 
129 
130  inline DeleteLaunchTemplateVersionsResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
131 
132  private:
133 
134  Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem> m_successfullyDeletedLaunchTemplateVersions;
135 
136  Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem> m_unsuccessfullyDeletedLaunchTemplateVersions;
137 
138  ResponseMetadata m_responseMetadata;
139  };
140 
141 } // namespace Model
142 } // namespace EC2
143 } // namespace Aws
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::SetUnsuccessfullyDeletedLaunchTemplateVersions
void SetUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:94
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::SetSuccessfullyDeletedLaunchTemplateVersions
void SetSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:48
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::DeleteLaunchTemplateVersionsResponse
DeleteLaunchTemplateVersionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DeleteLaunchTemplateVersionsResponse.h:118
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::WithSuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & WithSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:66
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::SetUnsuccessfullyDeletedLaunchTemplateVersions
void SetUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:89
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseErrorItem
Definition: DeleteLaunchTemplateVersionsResponseErrorItem.h:34
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::DeleteLaunchTemplateVersionsResponse
DeleteLaunchTemplateVersionsResponse()
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:124
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::SetSuccessfullyDeletedLaunchTemplateVersions
void SetSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:54
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse
Definition: DeleteLaunchTemplateVersionsResponse.h:31
AWSVector.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::WithUnsuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & WithUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:99
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::GetSuccessfullyDeletedLaunchTemplateVersions
const Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > & GetSuccessfullyDeletedLaunchTemplateVersions() const
Definition: DeleteLaunchTemplateVersionsResponse.h:42
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::AddUnsuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & AddUnsuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseErrorItem &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:114
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::WithResponseMetadata
DeleteLaunchTemplateVersionsResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:127
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponseSuccessItem
Definition: DeleteLaunchTemplateVersionsResponseSuccessItem.h:33
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::WithResponseMetadata
DeleteLaunchTemplateVersionsResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:130
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::GetUnsuccessfullyDeletedLaunchTemplateVersions
const Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > & GetUnsuccessfullyDeletedLaunchTemplateVersions() const
Definition: DeleteLaunchTemplateVersionsResponse.h:84
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::AddUnsuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & AddUnsuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseErrorItem &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:109
DeleteLaunchTemplateVersionsResponseErrorItem.h
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::operator=
DeleteLaunchTemplateVersionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::AddSuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & AddSuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseSuccessItem &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:78
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::AddSuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & AddSuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseSuccessItem &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:72
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:121
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::WithSuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & WithSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &value)
Definition: DeleteLaunchTemplateVersionsResponse.h:60
Aws::EC2::Model::DeleteLaunchTemplateVersionsResponse::WithUnsuccessfullyDeletedLaunchTemplateVersions
DeleteLaunchTemplateVersionsResponse & WithUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &&value)
Definition: DeleteLaunchTemplateVersionsResponse.h:104
DeleteLaunchTemplateVersionsResponseSuccessItem.h
EC2_EXPORTS.h