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>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "ModifyVpcEndpointServicePermissions"; }
49 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
61 inline void SetServiceId(
const char* value) { m_serviceIdHasBeenSet =
true; m_serviceId.assign(value); }
102 bool m_dryRunHasBeenSet =
false;
105 bool m_serviceIdHasBeenSet =
false;
108 bool m_addAllowedPrincipalsHasBeenSet =
false;
111 bool m_removeAllowedPrincipalsHasBeenSet =
false;
bool AddAllowedPrincipalsHasBeenSet() const
ModifyVpcEndpointServicePermissionsRequest & WithAddAllowedPrincipals(const Aws::Vector< Aws::String > &value)
bool DryRunHasBeenSet() const
void SetServiceId(const Aws::String &value)
ModifyVpcEndpointServicePermissionsRequest & AddRemoveAllowedPrincipals(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
ModifyVpcEndpointServicePermissionsRequest & AddAddAllowedPrincipals(const Aws::String &value)
ModifyVpcEndpointServicePermissionsRequest & WithServiceId(const char *value)
ModifyVpcEndpointServicePermissionsRequest & AddAddAllowedPrincipals(const char *value)
ModifyVpcEndpointServicePermissionsRequest & WithServiceId(Aws::String &&value)
bool ServiceIdHasBeenSet() const
bool RemoveAllowedPrincipalsHasBeenSet() const
void SetDryRun(bool value)
AWS_EC2_API ModifyVpcEndpointServicePermissionsRequest()
ModifyVpcEndpointServicePermissionsRequest & AddRemoveAllowedPrincipals(Aws::String &&value)
void SetRemoveAllowedPrincipals(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRemoveAllowedPrincipals() const
ModifyVpcEndpointServicePermissionsRequest & WithServiceId(const Aws::String &value)
ModifyVpcEndpointServicePermissionsRequest & AddRemoveAllowedPrincipals(const char *value)
ModifyVpcEndpointServicePermissionsRequest & AddAddAllowedPrincipals(Aws::String &&value)
ModifyVpcEndpointServicePermissionsRequest & WithDryRun(bool value)
void SetAddAllowedPrincipals(Aws::Vector< Aws::String > &&value)
void SetServiceId(Aws::String &&value)
void SetServiceId(const char *value)
void SetRemoveAllowedPrincipals(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointServicePermissionsRequest & WithRemoveAllowedPrincipals(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServicePermissionsRequest & WithAddAllowedPrincipals(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointServicePermissionsRequest & WithRemoveAllowedPrincipals(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetAddAllowedPrincipals(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAddAllowedPrincipals() const
virtual const char * GetServiceRequestName() const override
const Aws::String & GetServiceId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector