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/ec2/model/PciId.h>
11#include <aws/ec2/model/FpgaImageState.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/ProductCode.h>
15#include <aws/ec2/model/Tag.h>
54 template<
typename FpgaImageIdT = Aws::String>
55 void SetFpgaImageId(FpgaImageIdT&& value) { m_fpgaImageIdHasBeenSet =
true; m_fpgaImageId = std::forward<FpgaImageIdT>(value); }
56 template<
typename FpgaImageIdT = Aws::String>
66 template<
typename FpgaImageGlobalIdT = Aws::String>
67 void SetFpgaImageGlobalId(FpgaImageGlobalIdT&& value) { m_fpgaImageGlobalIdHasBeenSet =
true; m_fpgaImageGlobalId = std::forward<FpgaImageGlobalIdT>(value); }
68 template<
typename FpgaImageGlobalIdT = Aws::String>
78 template<
typename NameT = Aws::String>
79 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
80 template<
typename NameT = Aws::String>
90 template<
typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
92 template<
typename DescriptionT = Aws::String>
103 template<
typename ShellVersionT = Aws::String>
104 void SetShellVersion(ShellVersionT&& value) { m_shellVersionHasBeenSet =
true; m_shellVersion = std::forward<ShellVersionT>(value); }
105 template<
typename ShellVersionT = Aws::String>
115 template<
typename PciIdT = PciId>
116 void SetPciId(PciIdT&& value) { m_pciIdHasBeenSet =
true; m_pciId = std::forward<PciIdT>(value); }
117 template<
typename PciIdT = PciId>
127 template<
typename StateT = FpgaImageState>
128 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
129 template<
typename StateT = FpgaImageState>
139 template<
typename CreateTimeT = Aws::Utils::DateTime>
140 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
141 template<
typename CreateTimeT = Aws::Utils::DateTime>
151 template<
typename UpdateTimeT = Aws::Utils::DateTime>
152 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet =
true; m_updateTime = std::forward<UpdateTimeT>(value); }
153 template<
typename UpdateTimeT = Aws::Utils::DateTime>
163 template<
typename OwnerIdT = Aws::String>
164 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
165 template<
typename OwnerIdT = Aws::String>
176 template<
typename OwnerAliasT = Aws::String>
177 void SetOwnerAlias(OwnerAliasT&& value) { m_ownerAliasHasBeenSet =
true; m_ownerAlias = std::forward<OwnerAliasT>(value); }
178 template<
typename OwnerAliasT = Aws::String>
188 template<
typename ProductCodesT = Aws::Vector<ProductCode>>
189 void SetProductCodes(ProductCodesT&& value) { m_productCodesHasBeenSet =
true; m_productCodes = std::forward<ProductCodesT>(value); }
190 template<
typename ProductCodesT = Aws::Vector<ProductCode>>
192 template<
typename ProductCodesT = ProductCode>
193 FpgaImage&
AddProductCodes(ProductCodesT&& value) { m_productCodesHasBeenSet =
true; m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
return *
this; }
202 template<
typename TagsT = Aws::Vector<Tag>>
203 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
204 template<
typename TagsT = Aws::Vector<Tag>>
206 template<
typename TagsT = Tag>
207 FpgaImage&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
216 inline void SetPublic(
bool value) { m_publicHasBeenSet =
true; m_public = value; }
236 template<
typename InstanceTypesT = Aws::Vector<Aws::String>>
237 void SetInstanceTypes(InstanceTypesT&& value) { m_instanceTypesHasBeenSet =
true; m_instanceTypes = std::forward<InstanceTypesT>(value); }
238 template<
typename InstanceTypesT = Aws::Vector<Aws::String>>
240 template<
typename InstanceTypesT = Aws::String>
241 FpgaImage&
AddInstanceTypes(InstanceTypesT&& value) { m_instanceTypesHasBeenSet =
true; m_instanceTypes.emplace_back(std::forward<InstanceTypesT>(value));
return *
this; }
246 bool m_fpgaImageIdHasBeenSet =
false;
249 bool m_fpgaImageGlobalIdHasBeenSet =
false;
252 bool m_nameHasBeenSet =
false;
255 bool m_descriptionHasBeenSet =
false;
258 bool m_shellVersionHasBeenSet =
false;
261 bool m_pciIdHasBeenSet =
false;
264 bool m_stateHasBeenSet =
false;
267 bool m_createTimeHasBeenSet =
false;
270 bool m_updateTimeHasBeenSet =
false;
273 bool m_ownerIdHasBeenSet =
false;
276 bool m_ownerAliasHasBeenSet =
false;
279 bool m_productCodesHasBeenSet =
false;
282 bool m_tagsHasBeenSet =
false;
284 bool m_public{
false};
285 bool m_publicHasBeenSet =
false;
287 bool m_dataRetentionSupport{
false};
288 bool m_dataRetentionSupportHasBeenSet =
false;
291 bool m_instanceTypesHasBeenSet =
false;
FpgaImage & WithPciId(PciIdT &&value)
FpgaImage & AddProductCodes(ProductCodesT &&value)
bool InstanceTypesHasBeenSet() const
void SetState(StateT &&value)
bool OwnerAliasHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
bool DataRetentionSupportHasBeenSet() const
bool ShellVersionHasBeenSet() const
FpgaImage & WithFpgaImageId(FpgaImageIdT &&value)
void SetTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
const PciId & GetPciId() const
const Aws::String & GetFpgaImageGlobalId() const
bool TagsHasBeenSet() const
void SetFpgaImageId(FpgaImageIdT &&value)
void SetDescription(DescriptionT &&value)
bool FpgaImageGlobalIdHasBeenSet() const
FpgaImage & AddTags(TagsT &&value)
FpgaImage & AddInstanceTypes(InstanceTypesT &&value)
bool GetDataRetentionSupport() const
bool ProductCodesHasBeenSet() const
const Aws::String & GetOwnerId() const
bool UpdateTimeHasBeenSet() const
bool PciIdHasBeenSet() const
AWS_EC2_API FpgaImage(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Utils::DateTime & GetCreateTime() const
FpgaImage & WithOwnerAlias(OwnerAliasT &&value)
const Aws::Vector< ProductCode > & GetProductCodes() const
AWS_EC2_API FpgaImage & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDataRetentionSupport(bool value)
bool NameHasBeenSet() const
bool PublicHasBeenSet() const
FpgaImage & WithDescription(DescriptionT &&value)
const FpgaImageState & GetState() const
FpgaImage & WithName(NameT &&value)
void SetInstanceTypes(InstanceTypesT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FpgaImage & WithOwnerId(OwnerIdT &&value)
FpgaImage & WithPublic(bool value)
const Aws::String & GetFpgaImageId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
FpgaImage & WithState(StateT &&value)
void SetUpdateTime(UpdateTimeT &&value)
void SetOwnerAlias(OwnerAliasT &&value)
const Aws::Vector< Aws::String > & GetInstanceTypes() const
const Aws::String & GetDescription() const
bool OwnerIdHasBeenSet() const
void SetProductCodes(ProductCodesT &&value)
void SetShellVersion(ShellVersionT &&value)
FpgaImage & WithDataRetentionSupport(bool value)
FpgaImage & WithShellVersion(ShellVersionT &&value)
const Aws::Utils::DateTime & GetUpdateTime() const
FpgaImage & WithFpgaImageGlobalId(FpgaImageGlobalIdT &&value)
void SetFpgaImageGlobalId(FpgaImageGlobalIdT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetOwnerAlias() const
FpgaImage & WithCreateTime(CreateTimeT &&value)
const Aws::String & GetName() const
bool FpgaImageIdHasBeenSet() const
FpgaImage & WithUpdateTime(UpdateTimeT &&value)
void SetCreateTime(CreateTimeT &&value)
bool CreateTimeHasBeenSet() const
const Aws::String & GetShellVersion() const
AWS_EC2_API FpgaImage()=default
FpgaImage & WithInstanceTypes(InstanceTypesT &&value)
FpgaImage & WithTags(TagsT &&value)
void SetPciId(PciIdT &&value)
FpgaImage & WithProductCodes(ProductCodesT &&value)
void SetName(NameT &&value)
bool StateHasBeenSet() const
void SetPublic(bool 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