AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeConversionTasksResponse.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/ConversionTask.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const Aws::Vector<ConversionTask>& GetConversionTasks() const{ return m_conversionTasks; }
42 inline void SetConversionTasks(const Aws::Vector<ConversionTask>& value) { m_conversionTasks = value; }
43 inline void SetConversionTasks(Aws::Vector<ConversionTask>&& value) { m_conversionTasks = std::move(value); }
46 inline DescribeConversionTasksResponse& AddConversionTasks(const ConversionTask& value) { m_conversionTasks.push_back(value); return *this; }
47 inline DescribeConversionTasksResponse& AddConversionTasks(ConversionTask&& value) { m_conversionTasks.push_back(std::move(value)); return *this; }
49
51
52 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
53 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
54 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
58 private:
59
60 Aws::Vector<ConversionTask> m_conversionTasks;
61
62 ResponseMetadata m_responseMetadata;
63 };
64
65} // namespace Model
66} // namespace EC2
67} // namespace Aws
DescribeConversionTasksResponse & WithResponseMetadata(ResponseMetadata &&value)
DescribeConversionTasksResponse & WithConversionTasks(Aws::Vector< ConversionTask > &&value)
AWS_EC2_API DescribeConversionTasksResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeConversionTasksResponse & WithConversionTasks(const Aws::Vector< ConversionTask > &value)
void SetConversionTasks(const Aws::Vector< ConversionTask > &value)
const Aws::Vector< ConversionTask > & GetConversionTasks() const
AWS_EC2_API DescribeConversionTasksResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeConversionTasksResponse & AddConversionTasks(ConversionTask &&value)
void SetConversionTasks(Aws::Vector< ConversionTask > &&value)
DescribeConversionTasksResponse & WithResponseMetadata(const ResponseMetadata &value)
DescribeConversionTasksResponse & AddConversionTasks(const ConversionTask &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument