AWS SDK for C++

AWS SDK for C++ Version 1.11.745

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
13#include <utility>
14
15namespace Aws {
16namespace MailManager {
17namespace Model {
18
22 public:
23 AWS_MAILMANAGER_API UpdateIngressPointRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateIngressPoint"; }
30
31 AWS_MAILMANAGER_API Aws::String SerializePayload() const override;
32
33 AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
34
36
39 inline const Aws::String& GetIngressPointId() const { return m_ingressPointId; }
40 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
41 template <typename IngressPointIdT = Aws::String>
42 void SetIngressPointId(IngressPointIdT&& value) {
43 m_ingressPointIdHasBeenSet = true;
44 m_ingressPointId = std::forward<IngressPointIdT>(value);
45 }
46 template <typename IngressPointIdT = Aws::String>
48 SetIngressPointId(std::forward<IngressPointIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIngressPointName() const { return m_ingressPointName; }
58 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
59 template <typename IngressPointNameT = Aws::String>
60 void SetIngressPointName(IngressPointNameT&& value) {
61 m_ingressPointNameHasBeenSet = true;
62 m_ingressPointName = std::forward<IngressPointNameT>(value);
63 }
64 template <typename IngressPointNameT = Aws::String>
65 UpdateIngressPointRequest& WithIngressPointName(IngressPointNameT&& value) {
66 SetIngressPointName(std::forward<IngressPointNameT>(value));
67 return *this;
68 }
70
72
75 inline IngressPointStatusToUpdate GetStatusToUpdate() const { return m_statusToUpdate; }
76 inline bool StatusToUpdateHasBeenSet() const { return m_statusToUpdateHasBeenSet; }
78 m_statusToUpdateHasBeenSet = true;
79 m_statusToUpdate = value;
80 }
82 SetStatusToUpdate(value);
83 return *this;
84 }
86
88
92 inline const Aws::String& GetRuleSetId() const { return m_ruleSetId; }
93 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
94 template <typename RuleSetIdT = Aws::String>
95 void SetRuleSetId(RuleSetIdT&& value) {
96 m_ruleSetIdHasBeenSet = true;
97 m_ruleSetId = std::forward<RuleSetIdT>(value);
98 }
99 template <typename RuleSetIdT = Aws::String>
101 SetRuleSetId(std::forward<RuleSetIdT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetTrafficPolicyId() const { return m_trafficPolicyId; }
112 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
113 template <typename TrafficPolicyIdT = Aws::String>
114 void SetTrafficPolicyId(TrafficPolicyIdT&& value) {
115 m_trafficPolicyIdHasBeenSet = true;
116 m_trafficPolicyId = std::forward<TrafficPolicyIdT>(value);
117 }
118 template <typename TrafficPolicyIdT = Aws::String>
120 SetTrafficPolicyId(std::forward<TrafficPolicyIdT>(value));
121 return *this;
122 }
124
126
130 inline const IngressPointConfiguration& GetIngressPointConfiguration() const { return m_ingressPointConfiguration; }
131 inline bool IngressPointConfigurationHasBeenSet() const { return m_ingressPointConfigurationHasBeenSet; }
132 template <typename IngressPointConfigurationT = IngressPointConfiguration>
133 void SetIngressPointConfiguration(IngressPointConfigurationT&& value) {
134 m_ingressPointConfigurationHasBeenSet = true;
135 m_ingressPointConfiguration = std::forward<IngressPointConfigurationT>(value);
136 }
137 template <typename IngressPointConfigurationT = IngressPointConfiguration>
138 UpdateIngressPointRequest& WithIngressPointConfiguration(IngressPointConfigurationT&& value) {
139 SetIngressPointConfiguration(std::forward<IngressPointConfigurationT>(value));
140 return *this;
141 }
143 private:
144 Aws::String m_ingressPointId;
145
146 Aws::String m_ingressPointName;
147
149
150 Aws::String m_ruleSetId;
151
152 Aws::String m_trafficPolicyId;
153
154 IngressPointConfiguration m_ingressPointConfiguration;
155 bool m_ingressPointIdHasBeenSet = false;
156 bool m_ingressPointNameHasBeenSet = false;
157 bool m_statusToUpdateHasBeenSet = false;
158 bool m_ruleSetIdHasBeenSet = false;
159 bool m_trafficPolicyIdHasBeenSet = false;
160 bool m_ingressPointConfigurationHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace MailManager
165} // 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
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