7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/Filter.h>
86 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
99 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
115 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
121 bool m_filtersHasBeenSet =
false;
124 bool m_securityGroupRuleIdsHasBeenSet =
false;
127 bool m_dryRunHasBeenSet =
false;
130 bool m_nextTokenHasBeenSet =
false;
133 bool m_maxResultsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Filter > & GetFilters() const
void SetSecurityGroupRuleIds(const Aws::Vector< Aws::String > &value)
bool NextTokenHasBeenSet() const
void SetNextToken(const Aws::String &value)
DescribeSecurityGroupRulesRequest & WithSecurityGroupRuleIds(Aws::Vector< Aws::String > &&value)
bool SecurityGroupRuleIdsHasBeenSet() const
DescribeSecurityGroupRulesRequest & WithFilters(Aws::Vector< Filter > &&value)
DescribeSecurityGroupRulesRequest & AddSecurityGroupRuleIds(Aws::String &&value)
bool DryRunHasBeenSet() const
void SetDryRun(bool value)
DescribeSecurityGroupRulesRequest & WithNextToken(Aws::String &&value)
DescribeSecurityGroupRulesRequest & AddFilters(Filter &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSecurityGroupRulesRequest & AddFilters(const Filter &value)
AWS_EC2_API Aws::String SerializePayload() const override
int GetMaxResults() const
void SetNextToken(Aws::String &&value)
void SetMaxResults(int value)
void SetFilters(const Aws::Vector< Filter > &value)
DescribeSecurityGroupRulesRequest & WithFilters(const Aws::Vector< Filter > &value)
bool MaxResultsHasBeenSet() const
void SetSecurityGroupRuleIds(Aws::Vector< Aws::String > &&value)
DescribeSecurityGroupRulesRequest & AddSecurityGroupRuleIds(const char *value)
const Aws::String & GetNextToken() const
DescribeSecurityGroupRulesRequest & WithNextToken(const Aws::String &value)
bool FiltersHasBeenSet() const
void SetNextToken(const char *value)
DescribeSecurityGroupRulesRequest & WithSecurityGroupRuleIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroupRuleIds() const
void SetFilters(Aws::Vector< Filter > &&value)
DescribeSecurityGroupRulesRequest & WithMaxResults(int value)
DescribeSecurityGroupRulesRequest & WithNextToken(const char *value)
AWS_EC2_API DescribeSecurityGroupRulesRequest()
DescribeSecurityGroupRulesRequest & WithDryRun(bool value)
DescribeSecurityGroupRulesRequest & AddSecurityGroupRuleIds(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector