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/SecurityGroupRuleUpdate.h>
43 template <
typename GroupIdT = Aws::String>
45 m_groupIdHasBeenSet =
true;
46 m_groupId = std::forward<GroupIdT>(value);
48 template <
typename GroupIdT = Aws::String>
61 template <
typename SecurityGroupRulesT = Aws::Vector<SecurityGroupRuleUpdate>>
63 m_securityGroupRulesHasBeenSet =
true;
64 m_securityGroupRules = std::forward<SecurityGroupRulesT>(value);
66 template <
typename SecurityGroupRulesT = Aws::Vector<SecurityGroupRuleUpdate>>
71 template <
typename SecurityGroupRulesT = SecurityGroupRuleUpdate>
73 m_securityGroupRulesHasBeenSet =
true;
74 m_securityGroupRules.emplace_back(std::forward<SecurityGroupRulesT>(value));
89 m_dryRunHasBeenSet =
true;
102 bool m_dryRun{
false};
103 bool m_groupIdHasBeenSet =
false;
104 bool m_securityGroupRulesHasBeenSet =
false;
105 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