7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/LoadPermission.h>
12#include <aws/ec2/model/ProductCode.h>
51 template<
typename FpgaImageIdT = Aws::String>
52 void SetFpgaImageId(FpgaImageIdT&& value) { m_fpgaImageIdHasBeenSet =
true; m_fpgaImageId = std::forward<FpgaImageIdT>(value); }
53 template<
typename FpgaImageIdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
87 template<
typename LoadPermissionsT = Aws::Vector<LoadPermission>>
88 void SetLoadPermissions(LoadPermissionsT&& value) { m_loadPermissionsHasBeenSet =
true; m_loadPermissions = std::forward<LoadPermissionsT>(value); }
89 template<
typename LoadPermissionsT = Aws::Vector<LoadPermission>>
91 template<
typename LoadPermissionsT = LoadPermission>
92 FpgaImageAttribute&
AddLoadPermissions(LoadPermissionsT&& value) { m_loadPermissionsHasBeenSet =
true; m_loadPermissions.emplace_back(std::forward<LoadPermissionsT>(value));
return *
this; }
101 template<
typename ProductCodesT = Aws::Vector<ProductCode>>
102 void SetProductCodes(ProductCodesT&& value) { m_productCodesHasBeenSet =
true; m_productCodes = std::forward<ProductCodesT>(value); }
103 template<
typename ProductCodesT = Aws::Vector<ProductCode>>
105 template<
typename ProductCodesT = ProductCode>
111 bool m_fpgaImageIdHasBeenSet =
false;
114 bool m_nameHasBeenSet =
false;
117 bool m_descriptionHasBeenSet =
false;
120 bool m_loadPermissionsHasBeenSet =
false;
123 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