AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIngressPointRequest.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/mailmanager/MailManagerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mailmanager/model/IngressPointType.h>
11#include <aws/mailmanager/model/IngressPointConfiguration.h>
12#include <aws/mailmanager/model/NetworkConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/mailmanager/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace MailManager
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_MAILMANAGER_API CreateIngressPointRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateIngressPoint"; }
37
38 AWS_MAILMANAGER_API Aws::String SerializePayload() const override;
39
40 AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
41
42
44
48 inline const Aws::String& GetClientToken() const { return m_clientToken; }
49 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
50 template<typename ClientTokenT = Aws::String>
51 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
52 template<typename ClientTokenT = Aws::String>
53 CreateIngressPointRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
55
57
60 inline const Aws::String& GetIngressPointName() const { return m_ingressPointName; }
61 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
62 template<typename IngressPointNameT = Aws::String>
63 void SetIngressPointName(IngressPointNameT&& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = std::forward<IngressPointNameT>(value); }
64 template<typename IngressPointNameT = Aws::String>
65 CreateIngressPointRequest& WithIngressPointName(IngressPointNameT&& value) { SetIngressPointName(std::forward<IngressPointNameT>(value)); return *this;}
67
69
72 inline IngressPointType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(IngressPointType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline CreateIngressPointRequest& WithType(IngressPointType value) { SetType(value); return *this;}
77
79
83 inline const Aws::String& GetRuleSetId() const { return m_ruleSetId; }
84 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
85 template<typename RuleSetIdT = Aws::String>
86 void SetRuleSetId(RuleSetIdT&& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = std::forward<RuleSetIdT>(value); }
87 template<typename RuleSetIdT = Aws::String>
88 CreateIngressPointRequest& WithRuleSetId(RuleSetIdT&& value) { SetRuleSetId(std::forward<RuleSetIdT>(value)); return *this;}
90
92
96 inline const Aws::String& GetTrafficPolicyId() const { return m_trafficPolicyId; }
97 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
98 template<typename TrafficPolicyIdT = Aws::String>
99 void SetTrafficPolicyId(TrafficPolicyIdT&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::forward<TrafficPolicyIdT>(value); }
100 template<typename TrafficPolicyIdT = Aws::String>
101 CreateIngressPointRequest& WithTrafficPolicyId(TrafficPolicyIdT&& value) { SetTrafficPolicyId(std::forward<TrafficPolicyIdT>(value)); return *this;}
103
105
109 inline const IngressPointConfiguration& GetIngressPointConfiguration() const { return m_ingressPointConfiguration; }
110 inline bool IngressPointConfigurationHasBeenSet() const { return m_ingressPointConfigurationHasBeenSet; }
111 template<typename IngressPointConfigurationT = IngressPointConfiguration>
112 void SetIngressPointConfiguration(IngressPointConfigurationT&& value) { m_ingressPointConfigurationHasBeenSet = true; m_ingressPointConfiguration = std::forward<IngressPointConfigurationT>(value); }
113 template<typename IngressPointConfigurationT = IngressPointConfiguration>
114 CreateIngressPointRequest& WithIngressPointConfiguration(IngressPointConfigurationT&& value) { SetIngressPointConfiguration(std::forward<IngressPointConfigurationT>(value)); return *this;}
116
118
123 inline const NetworkConfiguration& GetNetworkConfiguration() const { return m_networkConfiguration; }
124 inline bool NetworkConfigurationHasBeenSet() const { return m_networkConfigurationHasBeenSet; }
125 template<typename NetworkConfigurationT = NetworkConfiguration>
126 void SetNetworkConfiguration(NetworkConfigurationT&& value) { m_networkConfigurationHasBeenSet = true; m_networkConfiguration = std::forward<NetworkConfigurationT>(value); }
127 template<typename NetworkConfigurationT = NetworkConfiguration>
128 CreateIngressPointRequest& WithNetworkConfiguration(NetworkConfigurationT&& value) { SetNetworkConfiguration(std::forward<NetworkConfigurationT>(value)); return *this;}
130
132
136 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
137 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
138 template<typename TagsT = Aws::Vector<Tag>>
139 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
140 template<typename TagsT = Aws::Vector<Tag>>
141 CreateIngressPointRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
142 template<typename TagsT = Tag>
143 CreateIngressPointRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
145 private:
146
148 bool m_clientTokenHasBeenSet = true;
149
150 Aws::String m_ingressPointName;
151 bool m_ingressPointNameHasBeenSet = false;
152
154 bool m_typeHasBeenSet = false;
155
156 Aws::String m_ruleSetId;
157 bool m_ruleSetIdHasBeenSet = false;
158
159 Aws::String m_trafficPolicyId;
160 bool m_trafficPolicyIdHasBeenSet = false;
161
162 IngressPointConfiguration m_ingressPointConfiguration;
163 bool m_ingressPointConfigurationHasBeenSet = false;
164
165 NetworkConfiguration m_networkConfiguration;
166 bool m_networkConfigurationHasBeenSet = false;
167
168 Aws::Vector<Tag> m_tags;
169 bool m_tagsHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace MailManager
174} // namespace Aws
const NetworkConfiguration & GetNetworkConfiguration() const
CreateIngressPointRequest & AddTags(TagsT &&value)
CreateIngressPointRequest & WithRuleSetId(RuleSetIdT &&value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
AWS_MAILMANAGER_API CreateIngressPointRequest()=default
CreateIngressPointRequest & WithTrafficPolicyId(TrafficPolicyIdT &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIngressPointConfiguration(IngressPointConfigurationT &&value)
CreateIngressPointRequest & WithTags(TagsT &&value)
CreateIngressPointRequest & WithIngressPointName(IngressPointNameT &&value)
CreateIngressPointRequest & WithIngressPointConfiguration(IngressPointConfigurationT &&value)
const IngressPointConfiguration & GetIngressPointConfiguration() const
virtual const char * GetServiceRequestName() const override
CreateIngressPointRequest & WithClientToken(ClientTokenT &&value)
CreateIngressPointRequest & WithType(IngressPointType value)
CreateIngressPointRequest & WithNetworkConfiguration(NetworkConfigurationT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector