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>
49 template<
typename DescriptionT = Aws::String>
50 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
51 template<
typename DescriptionT = Aws::String>
64 template<
typename GroupNameT = Aws::String>
65 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet =
true; m_groupName = std::forward<GroupNameT>(value); }
66 template<
typename GroupNameT = Aws::String>
76 template<
typename VpcIdT = Aws::String>
77 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
78 template<
typename VpcIdT = Aws::String>
88 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
89 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
90 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
92 template<
typename TagSpecificationsT = TagSpecification>
105 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
111 bool m_descriptionHasBeenSet =
false;
114 bool m_groupNameHasBeenSet =
false;
117 bool m_vpcIdHasBeenSet =
false;
120 bool m_tagSpecificationsHasBeenSet =
false;
122 bool m_dryRun{
false};
123 bool m_dryRunHasBeenSet =
false;
CreateSecurityGroupRequest & WithVpcId(VpcIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool VpcIdHasBeenSet() const
bool GroupNameHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::String & GetDescription() const
virtual const char * GetServiceRequestName() const override
CreateSecurityGroupRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetVpcId() const
void SetDryRun(bool value)
CreateSecurityGroupRequest & WithDryRun(bool value)
bool DescriptionHasBeenSet() const
CreateSecurityGroupRequest & WithGroupName(GroupNameT &&value)
bool TagSpecificationsHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
CreateSecurityGroupRequest & WithDescription(DescriptionT &&value)
CreateSecurityGroupRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetGroupName(GroupNameT &&value)
bool DryRunHasBeenSet() const
void SetVpcId(VpcIdT &&value)
AWS_EC2_API CreateSecurityGroupRequest()=default
const Aws::String & GetGroupName() const
void SetDescription(DescriptionT &&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