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/TagSpecification.h>
51 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
67 inline void SetGroupName(
const char* value) { m_groupNameHasBeenSet =
true; m_groupName.assign(value); }
81 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
110 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
116 bool m_descriptionHasBeenSet =
false;
119 bool m_groupNameHasBeenSet =
false;
122 bool m_vpcIdHasBeenSet =
false;
125 bool m_tagSpecificationsHasBeenSet =
false;
128 bool m_dryRunHasBeenSet =
false;
CreateSecurityGroupRequest & WithGroupName(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateSecurityGroupRequest & WithVpcId(const char *value)
CreateSecurityGroupRequest & AddTagSpecifications(const TagSpecification &value)
CreateSecurityGroupRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetGroupName(const char *value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool VpcIdHasBeenSet() const
CreateSecurityGroupRequest & AddTagSpecifications(TagSpecification &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool GroupNameHasBeenSet() const
CreateSecurityGroupRequest & WithVpcId(const Aws::String &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::String & GetDescription() const
AWS_EC2_API CreateSecurityGroupRequest()
void SetVpcId(Aws::String &&value)
void SetGroupName(const Aws::String &value)
void SetVpcId(const Aws::String &value)
CreateSecurityGroupRequest & WithDescription(Aws::String &&value)
CreateSecurityGroupRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetVpcId() const
void SetDryRun(bool value)
CreateSecurityGroupRequest & WithGroupName(const char *value)
CreateSecurityGroupRequest & WithDryRun(bool value)
bool DescriptionHasBeenSet() const
void SetDescription(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
bool DryRunHasBeenSet() const
CreateSecurityGroupRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateSecurityGroupRequest & WithGroupName(Aws::String &&value)
CreateSecurityGroupRequest & WithVpcId(Aws::String &&value)
void SetGroupName(Aws::String &&value)
const Aws::String & GetGroupName() const
CreateSecurityGroupRequest & WithDescription(const Aws::String &value)
void SetDescription(const char *value)
void SetVpcId(const char *value)
AWS_EC2_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector