7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/LoadPermission.h>
12#include <aws/ec2/model/ProductCode.h>
45 template <
typename FpgaImageIdT = Aws::String>
47 m_fpgaImageIdHasBeenSet =
true;
48 m_fpgaImageId = std::forward<FpgaImageIdT>(value);
50 template <
typename FpgaImageIdT = Aws::String>
63 template <
typename NameT = Aws::String>
65 m_nameHasBeenSet =
true;
66 m_name = std::forward<NameT>(value);
68 template <
typename NameT = Aws::String>
70 SetName(std::forward<NameT>(value));
81 template <
typename DescriptionT = Aws::String>
83 m_descriptionHasBeenSet =
true;
84 m_description = std::forward<DescriptionT>(value);
86 template <
typename DescriptionT = Aws::String>
99 template <
typename LoadPermissionsT = Aws::Vector<LoadPermission>>
101 m_loadPermissionsHasBeenSet =
true;
102 m_loadPermissions = std::forward<LoadPermissionsT>(value);
104 template <
typename LoadPermissionsT = Aws::Vector<LoadPermission>>
109 template <
typename LoadPermissionsT = LoadPermission>
111 m_loadPermissionsHasBeenSet =
true;
112 m_loadPermissions.emplace_back(std::forward<LoadPermissionsT>(value));
123 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
125 m_productCodesHasBeenSet =
true;
126 m_productCodes = std::forward<ProductCodesT>(value);
128 template <
typename ProductCodesT = Aws::Vector<ProductCode>>
133 template <
typename ProductCodesT = ProductCode>
135 m_productCodesHasBeenSet =
true;
136 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
150 bool m_fpgaImageIdHasBeenSet =
false;
151 bool m_nameHasBeenSet =
false;
152 bool m_descriptionHasBeenSet =
false;
153 bool m_loadPermissionsHasBeenSet =
false;
154 bool m_productCodesHasBeenSet =
false;
AWS_EC2_API FpgaImageAttribute & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool NameHasBeenSet() const
FpgaImageAttribute & AddLoadPermissions(LoadPermissionsT &&value)
FpgaImageAttribute & AddProductCodes(ProductCodesT &&value)
FpgaImageAttribute & WithProductCodes(ProductCodesT &&value)
const Aws::String & GetDescription() const
FpgaImageAttribute & WithLoadPermissions(LoadPermissionsT &&value)
bool FpgaImageIdHasBeenSet() const
FpgaImageAttribute & WithFpgaImageId(FpgaImageIdT &&value)
void SetName(NameT &&value)
const Aws::Vector< ProductCode > & GetProductCodes() const
bool ProductCodesHasBeenSet() const
AWS_EC2_API FpgaImageAttribute(const Aws::Utils::Xml::XmlNode &xmlNode)
FpgaImageAttribute & WithDescription(DescriptionT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::Vector< LoadPermission > & GetLoadPermissions() const
void SetProductCodes(ProductCodesT &&value)
const Aws::String & GetFpgaImageId() const
const Aws::String & GetName() const
void SetDescription(DescriptionT &&value)
bool LoadPermissionsHasBeenSet() const
AWS_EC2_API FpgaImageAttribute()=default
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FpgaImageAttribute & WithName(NameT &&value)
void SetLoadPermissions(LoadPermissionsT &&value)
bool DescriptionHasBeenSet() const
void SetFpgaImageId(FpgaImageIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream