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; }
64 inline void SetFpgaImageId(
const char* value) { m_fpgaImageIdHasBeenSet =
true; m_fpgaImageId.assign(value); }
163 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
177 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
185 bool m_dryRunHasBeenSet =
false;
188 bool m_fpgaImageIdHasBeenSet =
false;
191 bool m_attributeHasBeenSet =
false;
194 bool m_operationTypeHasBeenSet =
false;
197 bool m_userIdsHasBeenSet =
false;
200 bool m_userGroupsHasBeenSet =
false;
203 bool m_productCodesHasBeenSet =
false;
206 bool m_loadPermissionHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
212 bool m_nameHasBeenSet =
false;
ModifyFpgaImageAttributeRequest & WithUserIds(Aws::Vector< Aws::String > &&value)
ModifyFpgaImageAttributeRequest & WithDescription(Aws::String &&value)
ModifyFpgaImageAttributeRequest & WithUserGroups(Aws::Vector< Aws::String > &&value)
void SetDryRun(bool value)
void SetDescription(const Aws::String &value)
ModifyFpgaImageAttributeRequest & WithName(const Aws::String &value)
ModifyFpgaImageAttributeRequest & WithAttribute(FpgaImageAttributeName &&value)
void SetOperationType(const OperationType &value)
void SetUserGroups(Aws::Vector< Aws::String > &&value)
ModifyFpgaImageAttributeRequest & AddUserGroups(const Aws::String &value)
const OperationType & GetOperationType() const
ModifyFpgaImageAttributeRequest & WithFpgaImageId(const Aws::String &value)
ModifyFpgaImageAttributeRequest & WithDryRun(bool value)
void SetDescription(Aws::String &&value)
bool UserIdsHasBeenSet() const
void SetLoadPermission(const LoadPermissionModifications &value)
const Aws::Vector< Aws::String > & GetUserGroups() const
const Aws::Vector< Aws::String > & GetUserIds() const
ModifyFpgaImageAttributeRequest & WithOperationType(const OperationType &value)
const Aws::Vector< Aws::String > & GetProductCodes() const
bool AttributeHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithOperationType(OperationType &&value)
void SetUserGroups(const Aws::Vector< Aws::String > &value)
void SetUserIds(Aws::Vector< Aws::String > &&value)
ModifyFpgaImageAttributeRequest & AddProductCodes(Aws::String &&value)
bool FpgaImageIdHasBeenSet() const
bool OperationTypeHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithAttribute(const FpgaImageAttributeName &value)
ModifyFpgaImageAttributeRequest & AddUserIds(Aws::String &&value)
const Aws::String & GetName() const
void SetFpgaImageId(const char *value)
ModifyFpgaImageAttributeRequest & WithFpgaImageId(Aws::String &&value)
ModifyFpgaImageAttributeRequest & WithLoadPermission(const LoadPermissionModifications &value)
void SetProductCodes(const Aws::Vector< Aws::String > &value)
const LoadPermissionModifications & GetLoadPermission() const
AWS_EC2_API ModifyFpgaImageAttributeRequest()
void SetAttribute(const FpgaImageAttributeName &value)
bool LoadPermissionHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithUserGroups(const Aws::Vector< Aws::String > &value)
void SetFpgaImageId(const Aws::String &value)
ModifyFpgaImageAttributeRequest & WithProductCodes(const Aws::Vector< Aws::String > &value)
ModifyFpgaImageAttributeRequest & WithName(const char *value)
ModifyFpgaImageAttributeRequest & WithDescription(const char *value)
void SetProductCodes(Aws::Vector< Aws::String > &&value)
void SetName(const char *value)
ModifyFpgaImageAttributeRequest & WithLoadPermission(LoadPermissionModifications &&value)
ModifyFpgaImageAttributeRequest & WithDescription(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDescription(const char *value)
const Aws::String & GetFpgaImageId() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool DescriptionHasBeenSet() const
ModifyFpgaImageAttributeRequest & AddUserGroups(const char *value)
bool DryRunHasBeenSet() const
ModifyFpgaImageAttributeRequest & AddUserIds(const char *value)
ModifyFpgaImageAttributeRequest & AddProductCodes(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyFpgaImageAttributeRequest & AddProductCodes(const char *value)
void SetAttribute(FpgaImageAttributeName &&value)
void SetName(Aws::String &&value)
ModifyFpgaImageAttributeRequest & WithUserIds(const Aws::Vector< Aws::String > &value)
void SetFpgaImageId(Aws::String &&value)
bool NameHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithFpgaImageId(const char *value)
bool UserGroupsHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithName(Aws::String &&value)
const FpgaImageAttributeName & GetAttribute() const
void SetName(const Aws::String &value)
void SetLoadPermission(LoadPermissionModifications &&value)
bool ProductCodesHasBeenSet() const
ModifyFpgaImageAttributeRequest & WithProductCodes(Aws::Vector< Aws::String > &&value)
ModifyFpgaImageAttributeRequest & AddUserIds(const Aws::String &value)
void SetOperationType(OperationType &&value)
ModifyFpgaImageAttributeRequest & AddUserGroups(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetUserIds(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector