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/TagSpecification.h>
45 template <
typename DescriptionT = Aws::String>
47 m_descriptionHasBeenSet =
true;
48 m_description = std::forward<DescriptionT>(value);
50 template <
typename DescriptionT = Aws::String>
66 template <
typename GroupNameT = Aws::String>
68 m_groupNameHasBeenSet =
true;
69 m_groupName = std::forward<GroupNameT>(value);
71 template <
typename GroupNameT = Aws::String>
84 template <
typename VpcIdT = Aws::String>
86 m_vpcIdHasBeenSet =
true;
87 m_vpcId = std::forward<VpcIdT>(value);
89 template <
typename VpcIdT = Aws::String>
91 SetVpcId(std::forward<VpcIdT>(value));
102 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
104 m_tagSpecificationsHasBeenSet =
true;
105 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
107 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
112 template <
typename TagSpecificationsT = TagSpecification>
114 m_tagSpecificationsHasBeenSet =
true;
115 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
130 m_dryRunHasBeenSet =
true;
147 bool m_dryRun{
false};
148 bool m_descriptionHasBeenSet =
false;
149 bool m_groupNameHasBeenSet =
false;
150 bool m_vpcIdHasBeenSet =
false;
151 bool m_tagSpecificationsHasBeenSet =
false;
152 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