7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/FpgaImageAttributeName.h>
11#include <aws/ec2/model/OperationType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/ec2/model/LoadPermissionModifications.h>
52 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
62 template<
typename FpgaImageIdT = Aws::String>
63 void SetFpgaImageId(FpgaImageIdT&& value) { m_fpgaImageIdHasBeenSet =
true; m_fpgaImageId = std::forward<FpgaImageIdT>(value); }
64 template<
typename FpgaImageIdT = Aws::String>
95 template<
typename UserIdsT = Aws::Vector<Aws::String>>
96 void SetUserIds(UserIdsT&& value) { m_userIdsHasBeenSet =
true; m_userIds = std::forward<UserIdsT>(value); }
97 template<
typename UserIdsT = Aws::Vector<Aws::String>>
99 template<
typename UserIdsT = Aws::String>
110 template<
typename UserGroupsT = Aws::Vector<Aws::String>>
111 void SetUserGroups(UserGroupsT&& value) { m_userGroupsHasBeenSet =
true; m_userGroups = std::forward<UserGroupsT>(value); }
112 template<
typename UserGroupsT = Aws::Vector<Aws::String>>
114 template<
typename UserGroupsT = Aws::String>
126 template<
typename ProductCodesT = Aws::Vector<Aws::String>>
127 void SetProductCodes(ProductCodesT&& value) { m_productCodesHasBeenSet =
true; m_productCodes = std::forward<ProductCodesT>(value); }
128 template<
typename ProductCodesT = Aws::Vector<Aws::String>>
130 template<
typename ProductCodesT = Aws::String>
140 template<
typename LoadPermissionT = LoadPermissionModifications>
141 void SetLoadPermission(LoadPermissionT&& value) { m_loadPermissionHasBeenSet =
true; m_loadPermission = std::forward<LoadPermissionT>(value); }
142 template<
typename LoadPermissionT = LoadPermissionModifications>
152 template<
typename DescriptionT = Aws::String>
153 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
154 template<
typename DescriptionT = Aws::String>
164 template<
typename NameT = Aws::String>
165 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
166 template<
typename NameT = Aws::String>
171 bool m_dryRun{
false};
172 bool m_dryRunHasBeenSet =
false;
175 bool m_fpgaImageIdHasBeenSet =
false;
178 bool m_attributeHasBeenSet =
false;
181 bool m_operationTypeHasBeenSet =
false;
184 bool m_userIdsHasBeenSet =
false;
187 bool m_userGroupsHasBeenSet =
false;
190 bool m_productCodesHasBeenSet =
false;
192 LoadPermissionModifications m_loadPermission;
193 bool m_loadPermissionHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
199 bool m_nameHasBeenSet =
false;
void SetUserIds(UserIdsT &&value)
void SetDescription(DescriptionT &&value)
void SetDryRun(bool value)
void SetProductCodes(ProductCodesT &&value)
ModifyFpgaImageAttributeRequest & WithOperationType(OperationType value)
ModifyFpgaImageAttributeRequest & WithDryRun(bool value)
ModifyFpgaImageAttributeRequest & WithUserIds(UserIdsT &&value)
bool UserIdsHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithFpgaImageId(FpgaImageIdT &&value)
const Aws::Vector< Aws::String > & GetUserGroups() const
const Aws::Vector< Aws::String > & GetUserIds() const
const Aws::Vector< Aws::String > & GetProductCodes() const
bool AttributeHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithName(NameT &&value)
bool FpgaImageIdHasBeenSet() const
bool OperationTypeHasBeenSet() const
OperationType GetOperationType() const
const Aws::String & GetName() const
void SetFpgaImageId(FpgaImageIdT &&value)
const LoadPermissionModifications & GetLoadPermission() const
bool LoadPermissionHasBeenSet() const
ModifyFpgaImageAttributeRequest & AddProductCodes(ProductCodesT &&value)
ModifyFpgaImageAttributeRequest & AddUserIds(UserIdsT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetFpgaImageId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DescriptionHasBeenSet() const
bool DryRunHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithProductCodes(ProductCodesT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetLoadPermission(LoadPermissionT &&value)
void SetName(NameT &&value)
ModifyFpgaImageAttributeRequest & WithDescription(DescriptionT &&value)
bool NameHasBeenSet() const
FpgaImageAttributeName GetAttribute() const
bool UserGroupsHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithAttribute(FpgaImageAttributeName value)
AWS_EC2_API ModifyFpgaImageAttributeRequest()=default
void SetUserGroups(UserGroupsT &&value)
ModifyFpgaImageAttributeRequest & WithUserGroups(UserGroupsT &&value)
void SetOperationType(OperationType value)
ModifyFpgaImageAttributeRequest & WithLoadPermission(LoadPermissionT &&value)
void SetAttribute(FpgaImageAttributeName value)
bool ProductCodesHasBeenSet() const
ModifyFpgaImageAttributeRequest & AddUserGroups(UserGroupsT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector