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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/SecurityGroupRuleUpdate.h>
47 template<
typename GroupIdT = Aws::String>
48 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet =
true; m_groupId = std::forward<GroupIdT>(value); }
49 template<
typename GroupIdT = Aws::String>
59 template<
typename SecurityGroupRulesT = Aws::Vector<SecurityGroupRuleUpdate>>
60 void SetSecurityGroupRules(SecurityGroupRulesT&& value) { m_securityGroupRulesHasBeenSet =
true; m_securityGroupRules = std::forward<SecurityGroupRulesT>(value); }
61 template<
typename SecurityGroupRulesT = Aws::Vector<SecurityGroupRuleUpdate>>
63 template<
typename SecurityGroupRulesT = SecurityGroupRuleUpdate>
76 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
82 bool m_groupIdHasBeenSet =
false;
85 bool m_securityGroupRulesHasBeenSet =
false;
88 bool m_dryRunHasBeenSet =
false;
ModifySecurityGroupRulesRequest & WithDryRun(bool value)
bool DryRunHasBeenSet() const
ModifySecurityGroupRulesRequest & AddSecurityGroupRules(SecurityGroupRulesT &&value)
bool SecurityGroupRulesHasBeenSet() const
AWS_EC2_API ModifySecurityGroupRulesRequest()=default
void SetSecurityGroupRules(SecurityGroupRulesT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< SecurityGroupRuleUpdate > & GetSecurityGroupRules() const
const Aws::String & GetGroupId() const
void SetDryRun(bool value)
virtual const char * GetServiceRequestName() const override
bool GroupIdHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetGroupId(GroupIdT &&value)
ModifySecurityGroupRulesRequest & WithGroupId(GroupIdT &&value)
ModifySecurityGroupRulesRequest & WithSecurityGroupRules(SecurityGroupRulesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector