7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/FpgaImageAttributeName.h>
12#include <aws/ec2/model/LoadPermissionModifications.h>
13#include <aws/ec2/model/OperationType.h>
49 m_dryRunHasBeenSet =
true;
64 template <
typename FpgaImageIdT = Aws::String>
66 m_fpgaImageIdHasBeenSet =
true;
67 m_fpgaImageId = std::forward<FpgaImageIdT>(value);
69 template <
typename FpgaImageIdT = Aws::String>
83 m_attributeHasBeenSet =
true;
99 m_operationTypeHasBeenSet =
true;
100 m_operationType = value;
115 template <
typename UserIdsT = Aws::Vector<Aws::String>>
117 m_userIdsHasBeenSet =
true;
118 m_userIds = std::forward<UserIdsT>(value);
120 template <
typename UserIdsT = Aws::Vector<Aws::String>>
125 template <
typename UserIdsT = Aws::String>
127 m_userIdsHasBeenSet =
true;
128 m_userIds.emplace_back(std::forward<UserIdsT>(value));
140 template <
typename UserGroupsT = Aws::Vector<Aws::String>>
142 m_userGroupsHasBeenSet =
true;
143 m_userGroups = std::forward<UserGroupsT>(value);
145 template <
typename UserGroupsT = Aws::Vector<Aws::String>>
150 template <
typename UserGroupsT = Aws::String>
152 m_userGroupsHasBeenSet =
true;
153 m_userGroups.emplace_back(std::forward<UserGroupsT>(value));
166 template <
typename ProductCodesT = Aws::Vector<Aws::String>>
168 m_productCodesHasBeenSet =
true;
169 m_productCodes = std::forward<ProductCodesT>(value);
171 template <
typename ProductCodesT = Aws::Vector<Aws::String>>
176 template <
typename ProductCodesT = Aws::String>
178 m_productCodesHasBeenSet =
true;
179 m_productCodes.emplace_back(std::forward<ProductCodesT>(value));
190 template <
typename LoadPermissionT = LoadPermissionModifications>
192 m_loadPermissionHasBeenSet =
true;
193 m_loadPermission = std::forward<LoadPermissionT>(value);
195 template <
typename LoadPermissionT = LoadPermissionModifications>
208 template <
typename DescriptionT = Aws::String>
210 m_descriptionHasBeenSet =
true;
211 m_description = std::forward<DescriptionT>(value);
213 template <
typename DescriptionT = Aws::String>
226 template <
typename NameT = Aws::String>
228 m_nameHasBeenSet =
true;
229 m_name = std::forward<NameT>(value);
231 template <
typename NameT = Aws::String>
233 SetName(std::forward<NameT>(value));
238 bool m_dryRun{
false};
252 LoadPermissionModifications m_loadPermission;
257 bool m_dryRunHasBeenSet =
false;
258 bool m_fpgaImageIdHasBeenSet =
false;
259 bool m_attributeHasBeenSet =
false;
260 bool m_operationTypeHasBeenSet =
false;
261 bool m_userIdsHasBeenSet =
false;
262 bool m_userGroupsHasBeenSet =
false;
263 bool m_productCodesHasBeenSet =
false;
264 bool m_loadPermissionHasBeenSet =
false;
265 bool m_descriptionHasBeenSet =
false;
266 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