7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/QuickSightRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
42 template<
typename AwsAccountIdT = Aws::String>
43 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
44 template<
typename AwsAccountIdT = Aws::String>
55 template<
typename IpRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
56 void SetIpRestrictionRuleMap(IpRestrictionRuleMapT&& value) { m_ipRestrictionRuleMapHasBeenSet =
true; m_ipRestrictionRuleMap = std::forward<IpRestrictionRuleMapT>(value); }
57 template<
typename IpRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
59 template<
typename IpRestrictionRuleMapKeyT = Aws::String,
typename IpRestrictionRuleMapValueT = Aws::String>
61 m_ipRestrictionRuleMapHasBeenSet =
true; m_ipRestrictionRuleMap.emplace(std::forward<IpRestrictionRuleMapKeyT>(key), std::forward<IpRestrictionRuleMapValueT>(value));
return *
this;
73 template<
typename VpcIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
74 void SetVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapT&& value) { m_vpcIdRestrictionRuleMapHasBeenSet =
true; m_vpcIdRestrictionRuleMap = std::forward<VpcIdRestrictionRuleMapT>(value); }
75 template<
typename VpcIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
77 template<
typename VpcIdRestrictionRuleMapKeyT = Aws::String,
typename VpcIdRestrictionRuleMapValueT = Aws::String>
79 m_vpcIdRestrictionRuleMapHasBeenSet =
true; m_vpcIdRestrictionRuleMap.emplace(std::forward<VpcIdRestrictionRuleMapKeyT>(key), std::forward<VpcIdRestrictionRuleMapValueT>(value));
return *
this;
90 template<
typename VpcEndpo
intIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
91 void SetVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapT&& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
true; m_vpcEndpointIdRestrictionRuleMap = std::forward<VpcEndpointIdRestrictionRuleMapT>(value); }
92 template<
typename VpcEndpo
intIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
94 template<
typename VpcEndpo
intIdRestrictionRuleMapKeyT = Aws::String,
typename VpcEndpo
intIdRestrictionRuleMapValueT = Aws::String>
96 m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
true; m_vpcEndpointIdRestrictionRuleMap.emplace(std::forward<VpcEndpointIdRestrictionRuleMapKeyT>(key), std::forward<VpcEndpointIdRestrictionRuleMapValueT>(value));
return *
this;
106 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
112 bool m_awsAccountIdHasBeenSet =
false;
115 bool m_ipRestrictionRuleMapHasBeenSet =
false;
118 bool m_vpcIdRestrictionRuleMapHasBeenSet =
false;
121 bool m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
false;
123 bool m_enabled{
false};
124 bool m_enabledHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetVpcEndpointIdRestrictionRuleMap() const
UpdateIpRestrictionRequest & WithIpRestrictionRuleMap(IpRestrictionRuleMapT &&value)
UpdateIpRestrictionRequest & WithAwsAccountId(AwsAccountIdT &&value)
const Aws::String & GetAwsAccountId() const
bool VpcIdRestrictionRuleMapHasBeenSet() const
UpdateIpRestrictionRequest & WithVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapT &&value)
void SetVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapT &&value)
bool AwsAccountIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapKeyT &&key, VpcEndpointIdRestrictionRuleMapValueT &&value)
void SetEnabled(bool value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(IpRestrictionRuleMapKeyT &&key, IpRestrictionRuleMapValueT &&value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapKeyT &&key, VpcIdRestrictionRuleMapValueT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetIpRestrictionRuleMap() const
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
bool EnabledHasBeenSet() const
bool IpRestrictionRuleMapHasBeenSet() const
AWS_QUICKSIGHT_API UpdateIpRestrictionRequest()=default
bool VpcEndpointIdRestrictionRuleMapHasBeenSet() const
void SetIpRestrictionRuleMap(IpRestrictionRuleMapT &&value)
const Aws::Map< Aws::String, Aws::String > & GetVpcIdRestrictionRuleMap() const
UpdateIpRestrictionRequest & WithVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapT &&value)
UpdateIpRestrictionRequest & WithEnabled(bool value)
void SetVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String