AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateIpRestrictionRequest.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace QuickSight
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_QUICKSIGHT_API UpdateIpRestrictionRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateIpRestriction"; }
32
33 AWS_QUICKSIGHT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAwsAccountId() const{ return m_awsAccountId; }
41 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
42 inline void SetAwsAccountId(const Aws::String& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = value; }
43 inline void SetAwsAccountId(Aws::String&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::move(value); }
44 inline void SetAwsAccountId(const char* value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId.assign(value); }
45 inline UpdateIpRestrictionRequest& WithAwsAccountId(const Aws::String& value) { SetAwsAccountId(value); return *this;}
46 inline UpdateIpRestrictionRequest& WithAwsAccountId(Aws::String&& value) { SetAwsAccountId(std::move(value)); return *this;}
47 inline UpdateIpRestrictionRequest& WithAwsAccountId(const char* value) { SetAwsAccountId(value); return *this;}
49
51
55 inline const Aws::Map<Aws::String, Aws::String>& GetIpRestrictionRuleMap() const{ return m_ipRestrictionRuleMap; }
56 inline bool IpRestrictionRuleMapHasBeenSet() const { return m_ipRestrictionRuleMapHasBeenSet; }
57 inline void SetIpRestrictionRuleMap(const Aws::Map<Aws::String, Aws::String>& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap = value; }
58 inline void SetIpRestrictionRuleMap(Aws::Map<Aws::String, Aws::String>&& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap = std::move(value); }
61 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(const Aws::String& key, const Aws::String& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(key, value); return *this; }
62 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(Aws::String&& key, const Aws::String& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(std::move(key), value); return *this; }
63 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(const Aws::String& key, Aws::String&& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
64 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(Aws::String&& key, Aws::String&& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(std::move(key), std::move(value)); return *this; }
65 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(const char* key, Aws::String&& value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
66 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(Aws::String&& key, const char* value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(std::move(key), value); return *this; }
67 inline UpdateIpRestrictionRequest& AddIpRestrictionRuleMap(const char* key, const char* value) { m_ipRestrictionRuleMapHasBeenSet = true; m_ipRestrictionRuleMap.emplace(key, value); return *this; }
69
71
76 inline const Aws::Map<Aws::String, Aws::String>& GetVpcIdRestrictionRuleMap() const{ return m_vpcIdRestrictionRuleMap; }
77 inline bool VpcIdRestrictionRuleMapHasBeenSet() const { return m_vpcIdRestrictionRuleMapHasBeenSet; }
78 inline void SetVpcIdRestrictionRuleMap(const Aws::Map<Aws::String, Aws::String>& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap = value; }
79 inline void SetVpcIdRestrictionRuleMap(Aws::Map<Aws::String, Aws::String>&& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap = std::move(value); }
82 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(const Aws::String& key, const Aws::String& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(key, value); return *this; }
83 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(Aws::String&& key, const Aws::String& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
84 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(const Aws::String& key, Aws::String&& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
85 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(Aws::String&& key, Aws::String&& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(std::move(key), std::move(value)); return *this; }
86 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(const char* key, Aws::String&& value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
87 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(Aws::String&& key, const char* value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
88 inline UpdateIpRestrictionRequest& AddVpcIdRestrictionRuleMap(const char* key, const char* value) { m_vpcIdRestrictionRuleMapHasBeenSet = true; m_vpcIdRestrictionRuleMap.emplace(key, value); return *this; }
90
92
96 inline const Aws::Map<Aws::String, Aws::String>& GetVpcEndpointIdRestrictionRuleMap() const{ return m_vpcEndpointIdRestrictionRuleMap; }
97 inline bool VpcEndpointIdRestrictionRuleMapHasBeenSet() const { return m_vpcEndpointIdRestrictionRuleMapHasBeenSet; }
98 inline void SetVpcEndpointIdRestrictionRuleMap(const Aws::Map<Aws::String, Aws::String>& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap = value; }
99 inline void SetVpcEndpointIdRestrictionRuleMap(Aws::Map<Aws::String, Aws::String>&& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap = std::move(value); }
102 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(const Aws::String& key, const Aws::String& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(key, value); return *this; }
103 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(Aws::String&& key, const Aws::String& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
104 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(const Aws::String& key, Aws::String&& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
105 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(Aws::String&& key, Aws::String&& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(std::move(key), std::move(value)); return *this; }
106 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(const char* key, Aws::String&& value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(key, std::move(value)); return *this; }
107 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(Aws::String&& key, const char* value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(std::move(key), value); return *this; }
108 inline UpdateIpRestrictionRequest& AddVpcEndpointIdRestrictionRuleMap(const char* key, const char* value) { m_vpcEndpointIdRestrictionRuleMapHasBeenSet = true; m_vpcEndpointIdRestrictionRuleMap.emplace(key, value); return *this; }
110
112
115 inline bool GetEnabled() const{ return m_enabled; }
116 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
117 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
118 inline UpdateIpRestrictionRequest& WithEnabled(bool value) { SetEnabled(value); return *this;}
120 private:
121
122 Aws::String m_awsAccountId;
123 bool m_awsAccountIdHasBeenSet = false;
124
125 Aws::Map<Aws::String, Aws::String> m_ipRestrictionRuleMap;
126 bool m_ipRestrictionRuleMapHasBeenSet = false;
127
128 Aws::Map<Aws::String, Aws::String> m_vpcIdRestrictionRuleMap;
129 bool m_vpcIdRestrictionRuleMapHasBeenSet = false;
130
131 Aws::Map<Aws::String, Aws::String> m_vpcEndpointIdRestrictionRuleMap;
132 bool m_vpcEndpointIdRestrictionRuleMapHasBeenSet = false;
133
134 bool m_enabled;
135 bool m_enabledHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace QuickSight
140} // namespace Aws
UpdateIpRestrictionRequest & WithVpcIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetVpcEndpointIdRestrictionRuleMap() const
UpdateIpRestrictionRequest & WithVpcIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(Aws::String &&key, const Aws::String &value)
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(Aws::String &&key, Aws::String &&value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(const char *key, const char *value)
void SetVpcIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
void SetVpcEndpointIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(const Aws::String &key, Aws::String &&value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(const char *key, Aws::String &&value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(const Aws::String &key, Aws::String &&value)
UpdateIpRestrictionRequest & WithVpcEndpointIdRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
virtual const char * GetServiceRequestName() const override
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(const Aws::String &key, Aws::String &&value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(Aws::String &&key, const char *value)
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(const char *key, const char *value)
UpdateIpRestrictionRequest & WithVpcEndpointIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
void SetVpcIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(Aws::String &&key, const char *value)
void SetIpRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIpRestrictionRequest & WithIpRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetIpRestrictionRuleMap() const
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(Aws::String &&key, Aws::String &&value)
AWS_QUICKSIGHT_API Aws::String SerializePayload() const override
UpdateIpRestrictionRequest & WithAwsAccountId(const Aws::String &value)
UpdateIpRestrictionRequest & WithIpRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(const Aws::String &key, const Aws::String &value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(Aws::String &&key, Aws::String &&value)
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(Aws::String &&key, const char *value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(const Aws::String &key, const Aws::String &value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(const Aws::String &key, const Aws::String &value)
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetVpcIdRestrictionRuleMap() const
UpdateIpRestrictionRequest & AddVpcIdRestrictionRuleMap(const char *key, Aws::String &&value)
void SetIpRestrictionRuleMap(const Aws::Map< Aws::String, Aws::String > &value)
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(Aws::String &&key, const Aws::String &value)
UpdateIpRestrictionRequest & WithAwsAccountId(Aws::String &&value)
UpdateIpRestrictionRequest & AddVpcEndpointIdRestrictionRuleMap(const char *key, Aws::String &&value)
void SetVpcEndpointIdRestrictionRuleMap(Aws::Map< Aws::String, Aws::String > &&value)
UpdateIpRestrictionRequest & WithAwsAccountId(const char *value)
UpdateIpRestrictionRequest & AddIpRestrictionRuleMap(Aws::String &&key, const Aws::String &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