AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteLaunchTemplateVersionsResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/model/ResponseMetadata.h>
10#include <aws/ec2/model/DeleteLaunchTemplateVersionsResponseSuccessItem.h>
11#include <aws/ec2/model/DeleteLaunchTemplateVersionsResponseErrorItem.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>& GetSuccessfullyDeletedLaunchTemplateVersions() const{ return m_successfullyDeletedLaunchTemplateVersions; }
44 inline void SetSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>& value) { m_successfullyDeletedLaunchTemplateVersions = value; }
45 inline void SetSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem>&& value) { m_successfullyDeletedLaunchTemplateVersions = std::move(value); }
48 inline DeleteLaunchTemplateVersionsResponse& AddSuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseSuccessItem& value) { m_successfullyDeletedLaunchTemplateVersions.push_back(value); return *this; }
49 inline DeleteLaunchTemplateVersionsResponse& AddSuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseSuccessItem&& value) { m_successfullyDeletedLaunchTemplateVersions.push_back(std::move(value)); return *this; }
51
53
56 inline const Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>& GetUnsuccessfullyDeletedLaunchTemplateVersions() const{ return m_unsuccessfullyDeletedLaunchTemplateVersions; }
57 inline void SetUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>& value) { m_unsuccessfullyDeletedLaunchTemplateVersions = value; }
58 inline void SetUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem>&& value) { m_unsuccessfullyDeletedLaunchTemplateVersions = std::move(value); }
61 inline DeleteLaunchTemplateVersionsResponse& AddUnsuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseErrorItem& value) { m_unsuccessfullyDeletedLaunchTemplateVersions.push_back(value); return *this; }
62 inline DeleteLaunchTemplateVersionsResponse& AddUnsuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseErrorItem&& value) { m_unsuccessfullyDeletedLaunchTemplateVersions.push_back(std::move(value)); return *this; }
64
66
67 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
68 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
69 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
73 private:
74
75 Aws::Vector<DeleteLaunchTemplateVersionsResponseSuccessItem> m_successfullyDeletedLaunchTemplateVersions;
76
77 Aws::Vector<DeleteLaunchTemplateVersionsResponseErrorItem> m_unsuccessfullyDeletedLaunchTemplateVersions;
78
79 ResponseMetadata m_responseMetadata;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
AWS_EC2_API DeleteLaunchTemplateVersionsResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &value)
DeleteLaunchTemplateVersionsResponse & WithResponseMetadata(const ResponseMetadata &value)
void SetSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &value)
DeleteLaunchTemplateVersionsResponse & AddSuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseSuccessItem &&value)
DeleteLaunchTemplateVersionsResponse & AddUnsuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseErrorItem &value)
DeleteLaunchTemplateVersionsResponse & WithResponseMetadata(ResponseMetadata &&value)
DeleteLaunchTemplateVersionsResponse & AddUnsuccessfullyDeletedLaunchTemplateVersions(DeleteLaunchTemplateVersionsResponseErrorItem &&value)
const Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > & GetSuccessfullyDeletedLaunchTemplateVersions() const
DeleteLaunchTemplateVersionsResponse & WithUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &&value)
AWS_EC2_API DeleteLaunchTemplateVersionsResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > & GetUnsuccessfullyDeletedLaunchTemplateVersions() const
void SetSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &&value)
DeleteLaunchTemplateVersionsResponse & AddSuccessfullyDeletedLaunchTemplateVersions(const DeleteLaunchTemplateVersionsResponseSuccessItem &value)
DeleteLaunchTemplateVersionsResponse & WithSuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &&value)
DeleteLaunchTemplateVersionsResponse & WithSuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseSuccessItem > &value)
void SetUnsuccessfullyDeletedLaunchTemplateVersions(Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &&value)
DeleteLaunchTemplateVersionsResponse & WithUnsuccessfullyDeletedLaunchTemplateVersions(const Aws::Vector< DeleteLaunchTemplateVersionsResponseErrorItem > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument