7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename AwsAccountIdT = Aws::String>
38 m_awsAccountIdHasBeenSet =
true;
39 m_awsAccountId = std::forward<AwsAccountIdT>(value);
41 template <
typename AwsAccountIdT = Aws::String>
53 template <
typename IpRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
55 m_ipRestrictionRuleMapHasBeenSet =
true;
56 m_ipRestrictionRuleMap = std::forward<IpRestrictionRuleMapT>(value);
58 template <
typename IpRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
63 template <
typename IpRestrictionRuleMapKeyT = Aws::String,
typename IpRestrictionRuleMapValueT = Aws::String>
65 m_ipRestrictionRuleMapHasBeenSet =
true;
66 m_ipRestrictionRuleMap.emplace(std::forward<IpRestrictionRuleMapKeyT>(key), std::forward<IpRestrictionRuleMapValueT>(value));
76 template <
typename VpcIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
78 m_vpcIdRestrictionRuleMapHasBeenSet =
true;
79 m_vpcIdRestrictionRuleMap = std::forward<VpcIdRestrictionRuleMapT>(value);
81 template <
typename VpcIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
86 template <
typename VpcIdRestrictionRuleMapKeyT = Aws::String,
typename VpcIdRestrictionRuleMapValueT = Aws::String>
88 m_vpcIdRestrictionRuleMapHasBeenSet =
true;
89 m_vpcIdRestrictionRuleMap.emplace(std::forward<VpcIdRestrictionRuleMapKeyT>(key), std::forward<VpcIdRestrictionRuleMapValueT>(value));
99 template <
typename VpcEndpo
intIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
101 m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
true;
102 m_vpcEndpointIdRestrictionRuleMap = std::forward<VpcEndpointIdRestrictionRuleMapT>(value);
104 template <
typename VpcEndpo
intIdRestrictionRuleMapT = Aws::Map<Aws::String, Aws::String>>
109 template <
typename VpcEndpo
intIdRestrictionRuleMapKeyT = Aws::String,
typename VpcEndpo
intIdRestrictionRuleMapValueT = Aws::String>
111 VpcEndpointIdRestrictionRuleMapValueT&& value) {
112 m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
true;
113 m_vpcEndpointIdRestrictionRuleMap.emplace(std::forward<VpcEndpointIdRestrictionRuleMapKeyT>(key),
114 std::forward<VpcEndpointIdRestrictionRuleMapValueT>(value));
125 m_enabledHasBeenSet =
true;
137 template <
typename RequestIdT = Aws::String>
139 m_requestIdHasBeenSet =
true;
140 m_requestId = std::forward<RequestIdT>(value);
142 template <
typename RequestIdT = Aws::String>
155 m_statusHasBeenSet =
true;
174 bool m_enabled{
false};
180 bool m_awsAccountIdHasBeenSet =
false;
181 bool m_ipRestrictionRuleMapHasBeenSet =
false;
182 bool m_vpcIdRestrictionRuleMapHasBeenSet =
false;
183 bool m_vpcEndpointIdRestrictionRuleMapHasBeenSet =
false;
184 bool m_enabledHasBeenSet =
false;
185 bool m_requestIdHasBeenSet =
false;
186 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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