AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceRequirementsWithMetadataRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/InstanceRequirementsRequest.h>
11#include <aws/ec2/model/ArchitectureType.h>
12#include <aws/ec2/model/VirtualizationType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace EC2
25{
26namespace Model
27{
28
39 {
40 public:
44
45 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
53 inline const Aws::Vector<ArchitectureType>& GetArchitectureTypes() const{ return m_architectureTypes; }
54 inline bool ArchitectureTypesHasBeenSet() const { return m_architectureTypesHasBeenSet; }
55 inline void SetArchitectureTypes(const Aws::Vector<ArchitectureType>& value) { m_architectureTypesHasBeenSet = true; m_architectureTypes = value; }
56 inline void SetArchitectureTypes(Aws::Vector<ArchitectureType>&& value) { m_architectureTypesHasBeenSet = true; m_architectureTypes = std::move(value); }
59 inline InstanceRequirementsWithMetadataRequest& AddArchitectureTypes(const ArchitectureType& value) { m_architectureTypesHasBeenSet = true; m_architectureTypes.push_back(value); return *this; }
60 inline InstanceRequirementsWithMetadataRequest& AddArchitectureTypes(ArchitectureType&& value) { m_architectureTypesHasBeenSet = true; m_architectureTypes.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::Vector<VirtualizationType>& GetVirtualizationTypes() const{ return m_virtualizationTypes; }
68 inline bool VirtualizationTypesHasBeenSet() const { return m_virtualizationTypesHasBeenSet; }
69 inline void SetVirtualizationTypes(const Aws::Vector<VirtualizationType>& value) { m_virtualizationTypesHasBeenSet = true; m_virtualizationTypes = value; }
70 inline void SetVirtualizationTypes(Aws::Vector<VirtualizationType>&& value) { m_virtualizationTypesHasBeenSet = true; m_virtualizationTypes = std::move(value); }
73 inline InstanceRequirementsWithMetadataRequest& AddVirtualizationTypes(const VirtualizationType& value) { m_virtualizationTypesHasBeenSet = true; m_virtualizationTypes.push_back(value); return *this; }
74 inline InstanceRequirementsWithMetadataRequest& AddVirtualizationTypes(VirtualizationType&& value) { m_virtualizationTypesHasBeenSet = true; m_virtualizationTypes.push_back(std::move(value)); return *this; }
76
78
82 inline const InstanceRequirementsRequest& GetInstanceRequirements() const{ return m_instanceRequirements; }
83 inline bool InstanceRequirementsHasBeenSet() const { return m_instanceRequirementsHasBeenSet; }
84 inline void SetInstanceRequirements(const InstanceRequirementsRequest& value) { m_instanceRequirementsHasBeenSet = true; m_instanceRequirements = value; }
85 inline void SetInstanceRequirements(InstanceRequirementsRequest&& value) { m_instanceRequirementsHasBeenSet = true; m_instanceRequirements = std::move(value); }
89 private:
90
91 Aws::Vector<ArchitectureType> m_architectureTypes;
92 bool m_architectureTypesHasBeenSet = false;
93
94 Aws::Vector<VirtualizationType> m_virtualizationTypes;
95 bool m_virtualizationTypesHasBeenSet = false;
96
97 InstanceRequirementsRequest m_instanceRequirements;
98 bool m_instanceRequirementsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace EC2
103} // namespace Aws
void SetVirtualizationTypes(const Aws::Vector< VirtualizationType > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceRequirementsWithMetadataRequest & WithArchitectureTypes(const Aws::Vector< ArchitectureType > &value)
void SetArchitectureTypes(const Aws::Vector< ArchitectureType > &value)
InstanceRequirementsWithMetadataRequest & WithArchitectureTypes(Aws::Vector< ArchitectureType > &&value)
InstanceRequirementsWithMetadataRequest & AddArchitectureTypes(ArchitectureType &&value)
const Aws::Vector< VirtualizationType > & GetVirtualizationTypes() const
InstanceRequirementsWithMetadataRequest & AddArchitectureTypes(const ArchitectureType &value)
InstanceRequirementsWithMetadataRequest & AddVirtualizationTypes(const VirtualizationType &value)
InstanceRequirementsWithMetadataRequest & WithInstanceRequirements(const InstanceRequirementsRequest &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API InstanceRequirementsWithMetadataRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceRequirementsWithMetadataRequest & AddVirtualizationTypes(VirtualizationType &&value)
InstanceRequirementsWithMetadataRequest & WithInstanceRequirements(InstanceRequirementsRequest &&value)
AWS_EC2_API InstanceRequirementsWithMetadataRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
InstanceRequirementsWithMetadataRequest & WithVirtualizationTypes(Aws::Vector< VirtualizationType > &&value)
InstanceRequirementsWithMetadataRequest & WithVirtualizationTypes(const Aws::Vector< VirtualizationType > &value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream