AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
UpdateIngressPointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mailmanager/MailManagerRequest.h>
9#include <aws/mailmanager/MailManager_EXPORTS.h>
10#include <aws/mailmanager/model/IngressPointConfiguration.h>
11#include <aws/mailmanager/model/IngressPointStatusToUpdate.h>
12#include <aws/mailmanager/model/TlsPolicy.h>
13
14#include <utility>
15
16namespace Aws {
17namespace MailManager {
18namespace Model {
19
23 public:
24 AWS_MAILMANAGER_API UpdateIngressPointRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateIngressPoint"; }
31
32 AWS_MAILMANAGER_API Aws::String SerializePayload() const override;
33
34 AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
40 inline const Aws::String& GetIngressPointId() const { return m_ingressPointId; }
41 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
42 template <typename IngressPointIdT = Aws::String>
43 void SetIngressPointId(IngressPointIdT&& value) {
44 m_ingressPointIdHasBeenSet = true;
45 m_ingressPointId = std::forward<IngressPointIdT>(value);
46 }
47 template <typename IngressPointIdT = Aws::String>
49 SetIngressPointId(std::forward<IngressPointIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetIngressPointName() const { return m_ingressPointName; }
59 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
60 template <typename IngressPointNameT = Aws::String>
61 void SetIngressPointName(IngressPointNameT&& value) {
62 m_ingressPointNameHasBeenSet = true;
63 m_ingressPointName = std::forward<IngressPointNameT>(value);
64 }
65 template <typename IngressPointNameT = Aws::String>
66 UpdateIngressPointRequest& WithIngressPointName(IngressPointNameT&& value) {
67 SetIngressPointName(std::forward<IngressPointNameT>(value));
68 return *this;
69 }
71
73
76 inline IngressPointStatusToUpdate GetStatusToUpdate() const { return m_statusToUpdate; }
77 inline bool StatusToUpdateHasBeenSet() const { return m_statusToUpdateHasBeenSet; }
79 m_statusToUpdateHasBeenSet = true;
80 m_statusToUpdate = value;
81 }
83 SetStatusToUpdate(value);
84 return *this;
85 }
87
89
93 inline const Aws::String& GetRuleSetId() const { return m_ruleSetId; }
94 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
95 template <typename RuleSetIdT = Aws::String>
96 void SetRuleSetId(RuleSetIdT&& value) {
97 m_ruleSetIdHasBeenSet = true;
98 m_ruleSetId = std::forward<RuleSetIdT>(value);
99 }
100 template <typename RuleSetIdT = Aws::String>
102 SetRuleSetId(std::forward<RuleSetIdT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetTrafficPolicyId() const { return m_trafficPolicyId; }
113 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
114 template <typename TrafficPolicyIdT = Aws::String>
115 void SetTrafficPolicyId(TrafficPolicyIdT&& value) {
116 m_trafficPolicyIdHasBeenSet = true;
117 m_trafficPolicyId = std::forward<TrafficPolicyIdT>(value);
118 }
119 template <typename TrafficPolicyIdT = Aws::String>
121 SetTrafficPolicyId(std::forward<TrafficPolicyIdT>(value));
122 return *this;
123 }
125
127
131 inline const IngressPointConfiguration& GetIngressPointConfiguration() const { return m_ingressPointConfiguration; }
132 inline bool IngressPointConfigurationHasBeenSet() const { return m_ingressPointConfigurationHasBeenSet; }
133 template <typename IngressPointConfigurationT = IngressPointConfiguration>
134 void SetIngressPointConfiguration(IngressPointConfigurationT&& value) {
135 m_ingressPointConfigurationHasBeenSet = true;
136 m_ingressPointConfiguration = std::forward<IngressPointConfigurationT>(value);
137 }
138 template <typename IngressPointConfigurationT = IngressPointConfiguration>
139 UpdateIngressPointRequest& WithIngressPointConfiguration(IngressPointConfigurationT&& value) {
140 SetIngressPointConfiguration(std::forward<IngressPointConfigurationT>(value));
141 return *this;
142 }
144
146
151 inline TlsPolicy GetTlsPolicy() const { return m_tlsPolicy; }
152 inline bool TlsPolicyHasBeenSet() const { return m_tlsPolicyHasBeenSet; }
153 inline void SetTlsPolicy(TlsPolicy value) {
154 m_tlsPolicyHasBeenSet = true;
155 m_tlsPolicy = value;
156 }
158 SetTlsPolicy(value);
159 return *this;
160 }
162 private:
163 Aws::String m_ingressPointId;
164
165 Aws::String m_ingressPointName;
166
168
169 Aws::String m_ruleSetId;
170
171 Aws::String m_trafficPolicyId;
172
173 IngressPointConfiguration m_ingressPointConfiguration;
174
175 TlsPolicy m_tlsPolicy{TlsPolicy::NOT_SET};
176 bool m_ingressPointIdHasBeenSet = false;
177 bool m_ingressPointNameHasBeenSet = false;
178 bool m_statusToUpdateHasBeenSet = false;
179 bool m_ruleSetIdHasBeenSet = false;
180 bool m_trafficPolicyIdHasBeenSet = false;
181 bool m_ingressPointConfigurationHasBeenSet = false;
182 bool m_tlsPolicyHasBeenSet = false;
183};
184
185} // namespace Model
186} // namespace MailManager
187} // namespace Aws
void SetIngressPointConfiguration(IngressPointConfigurationT &&value)
const IngressPointConfiguration & GetIngressPointConfiguration() const
virtual const char * GetServiceRequestName() const override
UpdateIngressPointRequest & WithRuleSetId(RuleSetIdT &&value)
UpdateIngressPointRequest & WithTrafficPolicyId(TrafficPolicyIdT &&value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateIngressPointRequest & WithIngressPointConfiguration(IngressPointConfigurationT &&value)
UpdateIngressPointRequest & WithIngressPointId(IngressPointIdT &&value)
UpdateIngressPointRequest & WithIngressPointName(IngressPointNameT &&value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
UpdateIngressPointRequest & WithTlsPolicy(TlsPolicy value)
void SetStatusToUpdate(IngressPointStatusToUpdate value)
UpdateIngressPointRequest & WithStatusToUpdate(IngressPointStatusToUpdate value)
AWS_MAILMANAGER_API UpdateIngressPointRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String