AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeIpRestrictionResult.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API DescribeIpRestrictionResult();
34
35
37
40 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
41 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountId = value; }
42 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountId = std::move(value); }
43 inline void SetAwsAccountId(const char* value) { m_awsAccountId.assign(value); }
44 inline DescribeIpRestrictionResult& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
45 inline DescribeIpRestrictionResult& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
46 inline DescribeIpRestrictionResult& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
48
50
53 inline const Aws::Map<Aws::String, Aws::String>& GetIpRestrictionRuleMap() const{ return m_ipRestrictionRuleMap; }
54 inline void SetIpRestrictionRuleMap(const Aws::Map<Aws::String, Aws::String>& value) { m_ipRestrictionRuleMap = value; }
55 inline void SetIpRestrictionRuleMap(Aws::Map<Aws::String, Aws::String>&& value) { m_ipRestrictionRuleMap = std::move(value); }
58 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(const Aws::String& key, const Aws::String& value) { m_ipRestrictionRuleMap.emplace(key, value); return *this; }
59 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(Aws::String&& key, const Aws::String& value) { m_ipRestrictionRuleMap.emplace(std::move(key), value); return *this; }
60 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(const Aws::String& key, Aws::String&& value) { m_ipRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
61 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(Aws::String&& key, Aws::String&& value) { m_ipRestrictionRuleMap.emplace(std::move(key), std::move(value)); return *this; }
62 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(const char* key, Aws::String&& value) { m_ipRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
63 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(Aws::String&& key, const char* value) { m_ipRestrictionRuleMap.emplace(std::move(key), value); return *this; }
64 inline DescribeIpRestrictionResult& AddIpRestrictionRuleMap(const char* key, const char* value) { m_ipRestrictionRuleMap.emplace(key, value); return *this; }
66
68
71 inline const Aws::Map<Aws::String, Aws::String>& GetVpcIdRestrictionRuleMap() const{ return m_vpcIdRestrictionRuleMap; }
72 inline void SetVpcIdRestrictionRuleMap(const Aws::Map<Aws::String, Aws::String>& value) { m_vpcIdRestrictionRuleMap = value; }
73 inline void SetVpcIdRestrictionRuleMap(Aws::Map<Aws::String, Aws::String>&& value) { m_vpcIdRestrictionRuleMap = std::move(value); }
76 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(const Aws::String& key, const Aws::String& value) { m_vpcIdRestrictionRuleMap.emplace(key, value); return *this; }
77 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(Aws::String&& key, const Aws::String& value) { m_vpcIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
78 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(const Aws::String& key, Aws::String&& value) { m_vpcIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
79 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(Aws::String&& key, Aws::String&& value) { m_vpcIdRestrictionRuleMap.emplace(std::move(key), std::move(value)); return *this; }
80 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(const char* key, Aws::String&& value) { m_vpcIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
81 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(Aws::String&& key, const char* value) { m_vpcIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
82 inline DescribeIpRestrictionResult& AddVpcIdRestrictionRuleMap(const char* key, const char* value) { m_vpcIdRestrictionRuleMap.emplace(key, value); return *this; }
84
86
89 inline const Aws::Map<Aws::String, Aws::String>& GetVpcEndpointIdRestrictionRuleMap() const{ return m_vpcEndpointIdRestrictionRuleMap; }
90 inline void SetVpcEndpointIdRestrictionRuleMap(const Aws::Map<Aws::String, Aws::String>& value) { m_vpcEndpointIdRestrictionRuleMap = value; }
91 inline void SetVpcEndpointIdRestrictionRuleMap(Aws::Map<Aws::String, Aws::String>&& value) { m_vpcEndpointIdRestrictionRuleMap = std::move(value); }
94 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(const Aws::String& key, const Aws::String& value) { m_vpcEndpointIdRestrictionRuleMap.emplace(key, value); return *this; }
95 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(Aws::String&& key, const Aws::String& value) { m_vpcEndpointIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
96 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(const Aws::String& key, Aws::String&& value) { m_vpcEndpointIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
97 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(Aws::String&& key, Aws::String&& value) { m_vpcEndpointIdRestrictionRuleMap.emplace(std::move(key), std::move(value)); return *this; }
98 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(const char* key, Aws::String&& value) { m_vpcEndpointIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
99 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(Aws::String&& key, const char* value) { m_vpcEndpointIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
100 inline DescribeIpRestrictionResult& AddVpcEndpointIdRestrictionRuleMap(const char* key, const char* value) { m_vpcEndpointIdRestrictionRuleMap.emplace(key, value); return *this; }
102
104
107 inline bool GetEnabled() const{ return m_enabled; }
108 inline void SetEnabled(bool value) { m_enabled = value; }
109 inline DescribeIpRestrictionResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
111
113
114 inline const Aws::String& GetRequestId() const{ return m_requestId; }
115 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
116 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
117 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
118 inline DescribeIpRestrictionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
119 inline DescribeIpRestrictionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
120 inline DescribeIpRestrictionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
122
124
127 inline int GetStatus() const{ return m_status; }
128 inline void SetStatus(int value) { m_status = value; }
129 inline DescribeIpRestrictionResult& WithStatus(int value) { SetStatus(value); return *this;}
131 private:
132
133 Aws::String m_awsAccountId;
134
135 Aws::Map<Aws::String, Aws::String> m_ipRestrictionRuleMap;
136
137 Aws::Map<Aws::String, Aws::String> m_vpcIdRestrictionRuleMap;
138
139 Aws::Map<Aws::String, Aws::String> m_vpcEndpointIdRestrictionRuleMap;
140
141 bool m_enabled;
142
143 Aws::String m_requestId;
144
145 int m_status;
146 };
147
148} // namespace Model
149} // namespace QuickSight
150} // namespace Aws
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(const char *key, const char *value)
DescribeIpRestrictionResult & WithRequestId(const char *value)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(Aws::String &&key, Aws::String &&value)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(const char *key, Aws::String &&value)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(const Aws::String &key, Aws::String &&value)
void SetIpRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
DescribeIpRestrictionResult & WithVpcIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIpRestrictionResult & WithAwsAccountId(Aws::String &&value)
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(const Aws::String &key, Aws::String &&value)
void SetVpcIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(const char *key, const char *value)
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(const char *key, Aws::String &&value)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(const char *key, Aws::String &&value)
DescribeIpRestrictionResult & WithRequestId(const Aws::String &value)
void SetVpcEndpointIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(const Aws::String &key, const Aws::String &value)
void SetVpcEndpointIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
AWS_QUICKSIGHT_API DescribeIpRestrictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetVpcIdRestrictionRuleMap() const
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(Aws::String &&key, const Aws::String &value)
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(Aws::String &&key, const char *value)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(Aws::String &&key, Aws::String &&value)
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(const Aws::String &key, const Aws::String &value)
DescribeIpRestrictionResult & WithIpRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIpRestrictionResult & WithAwsAccountId(const char *value)
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(Aws::String &&key, Aws::String &&value)
DescribeIpRestrictionResult & WithIpRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
AWS_QUICKSIGHT_API DescribeIpRestrictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(const Aws::String &key, Aws::String &&value)
DescribeIpRestrictionResult & WithVpcEndpointIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(Aws::String &&key, const Aws::String &value)
DescribeIpRestrictionResult & AddVpcIdRestrictionRuleMap(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetVpcEndpointIdRestrictionRuleMap() const
DescribeIpRestrictionResult & AddIpRestrictionRuleMap(Aws::String &&key, const Aws::String &value)
DescribeIpRestrictionResult & WithVpcEndpointIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIpRestrictionResult & WithAwsAccountId(const Aws::String &value)
void SetVpcIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIpRestrictionResult & WithRequestId(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetIpRestrictionRuleMap() const
void SetIpRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(const Aws::String &key, const Aws::String &value)
DescribeIpRestrictionResult & WithVpcIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
DescribeIpRestrictionResult & AddVpcEndpointIdRestrictionRuleMap(Aws::String &&key, const char *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