7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename AwsAccountIdT = Aws::String>
42 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
43 template<
typename AwsAccountIdT = Aws::String>
52 template<
typename IpRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
53 void SetIpRestrictionRuleMap(IpRestrictionRuleMapT&& value) { m_ipRestrictionRuleMapHasBeenSet =
true; m_ipRestrictionRuleMap = std::forward<IpRestrictionRuleMapT>(value); }
54 template<
typename IpRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
56 template<
typename IpRestrictionRuleMapKeyT = Aws::String,
typename IpRestrictionRuleMapValueT = Aws::String>
58 m_ipRestrictionRuleMapHasBeenSet =
true; m_ipRestrictionRuleMap.emplace(std::forward<IpRestrictionRuleMapKeyT>(key), std::forward<IpRestrictionRuleMapValueT>(value));
return *
this;
67 template<
typename VpcIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
68 void SetVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapT&& value) { m_vpcIdRestrictionRuleMapHasBeenSet =
true; m_vpcIdRestrictionRuleMap = std::forward<VpcIdRestrictionRuleMapT>(value); }
69 template<
typename VpcIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
71 template<
typename VpcIdRestrictionRuleMapKeyT = Aws::String,
typename VpcIdRestrictionRuleMapValueT = Aws::String>
73 m_vpcIdRestrictionRuleMapHasBeenSet =
true; m_vpcIdRestrictionRuleMap.emplace(std::forward<VpcIdRestrictionRuleMapKeyT>(key), std::forward<VpcIdRestrictionRuleMapValueT>(value));
return *
this;
82 template<
typename VpcEndpo
intIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
83 void SetVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapT&& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
true; m_vpcEndpointIdRestrictionRuleMap = std::forward<VpcEndpointIdRestrictionRuleMapT>(value); }
84 template<
typename VpcEndpo
intIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
86 template<
typename VpcEndpo
intIdRestrictionRuleMapKeyT = Aws::String,
typename VpcEndpo
intIdRestrictionRuleMapValueT = Aws::String>
88 m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
true; m_vpcEndpointIdRestrictionRuleMap.emplace(std::forward<VpcEndpointIdRestrictionRuleMapKeyT>(key), std::forward<VpcEndpointIdRestrictionRuleMapValueT>(value));
return *
this;
97 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
104 template<
typename RequestIdT = Aws::String>
105 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
106 template<
typename RequestIdT = Aws::String>
115 inline void SetStatus(
int value) { m_statusHasBeenSet =
true; m_status = value; }
121 bool m_awsAccountIdHasBeenSet =
false;
124 bool m_ipRestrictionRuleMapHasBeenSet =
false;
127 bool m_vpcIdRestrictionRuleMapHasBeenSet =
false;
130 bool m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
false;
132 bool m_enabled{
false};
133 bool m_enabledHasBeenSet =
false;
136 bool m_requestIdHasBeenSet =
false;
139 bool m_statusHasBeenSet =
false;
void SetEnabled(bool value)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapKeyT &&key, VpcEndpointIdRestrictionRuleMapValueT &&value)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(IpRestrictionRuleMapKeyT &&key, IpRestrictionRuleMapValueT &&value)
DescribeIpRestrictionResult & WithVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapT &&value)
const Aws::String & GetRequestId() const
DescribeIpRestrictionResult & WithAwsAccountId(AwsAccountIdT &&value)
DescribeIpRestrictionResult & WithVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapT &&value)
DescribeIpRestrictionResult & WithIpRestrictionRuleMap(IpRestrictionRuleMapT &&value)
void SetVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapT &&value)
DescribeIpRestrictionResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API DescribeIpRestrictionResult()=default
DescribeIpRestrictionResult & WithStatus(int value)
AWS_QUICKSIGHT_API DescribeIpRestrictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(int value)
const Aws::Map< Aws::String, Aws::String > & GetVpcIdRestrictionRuleMap() const
void SetRequestId(RequestIdT &&value)
void SetVpcEndpointIdRestrictionRuleMap(VpcEndpointIdRestrictionRuleMapT &&value)
void SetAwsAccountId(AwsAccountIdT &&value)
AWS_QUICKSIGHT_API DescribeIpRestrictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIpRestrictionResult & WithEnabled(bool value)
void SetIpRestrictionRuleMap(IpRestrictionRuleMapT &&value)
const Aws::Map< Aws::String, Aws::String > & GetVpcEndpointIdRestrictionRuleMap() const
const Aws::Map< Aws::String, Aws::String > & GetIpRestrictionRuleMap() const
const Aws::String & GetAwsAccountId() const
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(VpcIdRestrictionRuleMapKeyT &&key, VpcIdRestrictionRuleMapValueT &&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
Aws::Utils::Json::JsonValue JsonValue