AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateIngressPointRequest.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/IngressPointStatusToUpdate.h>
11#include <aws/mailmanager/model/IngressPointConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MailManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MAILMANAGER_API UpdateIngressPointRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateIngressPoint"; }
33
34 AWS_MAILMANAGER_API Aws::String SerializePayload() const override;
35
36 AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetIngressPointId() const { return m_ingressPointId; }
44 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
45 template<typename IngressPointIdT = Aws::String>
46 void SetIngressPointId(IngressPointIdT&& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = std::forward<IngressPointIdT>(value); }
47 template<typename IngressPointIdT = Aws::String>
48 UpdateIngressPointRequest& WithIngressPointId(IngressPointIdT&& value) { SetIngressPointId(std::forward<IngressPointIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetIngressPointName() const { return m_ingressPointName; }
56 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
57 template<typename IngressPointNameT = Aws::String>
58 void SetIngressPointName(IngressPointNameT&& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = std::forward<IngressPointNameT>(value); }
59 template<typename IngressPointNameT = Aws::String>
60 UpdateIngressPointRequest& WithIngressPointName(IngressPointNameT&& value) { SetIngressPointName(std::forward<IngressPointNameT>(value)); return *this;}
62
64
67 inline IngressPointStatusToUpdate GetStatusToUpdate() const { return m_statusToUpdate; }
68 inline bool StatusToUpdateHasBeenSet() const { return m_statusToUpdateHasBeenSet; }
69 inline void SetStatusToUpdate(IngressPointStatusToUpdate value) { m_statusToUpdateHasBeenSet = true; m_statusToUpdate = value; }
72
74
78 inline const Aws::String& GetRuleSetId() const { return m_ruleSetId; }
79 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
80 template<typename RuleSetIdT = Aws::String>
81 void SetRuleSetId(RuleSetIdT&& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = std::forward<RuleSetIdT>(value); }
82 template<typename RuleSetIdT = Aws::String>
83 UpdateIngressPointRequest& WithRuleSetId(RuleSetIdT&& value) { SetRuleSetId(std::forward<RuleSetIdT>(value)); return *this;}
85
87
91 inline const Aws::String& GetTrafficPolicyId() const { return m_trafficPolicyId; }
92 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
93 template<typename TrafficPolicyIdT = Aws::String>
94 void SetTrafficPolicyId(TrafficPolicyIdT&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::forward<TrafficPolicyIdT>(value); }
95 template<typename TrafficPolicyIdT = Aws::String>
96 UpdateIngressPointRequest& WithTrafficPolicyId(TrafficPolicyIdT&& value) { SetTrafficPolicyId(std::forward<TrafficPolicyIdT>(value)); return *this;}
98
100
104 inline const IngressPointConfiguration& GetIngressPointConfiguration() const { return m_ingressPointConfiguration; }
105 inline bool IngressPointConfigurationHasBeenSet() const { return m_ingressPointConfigurationHasBeenSet; }
106 template<typename IngressPointConfigurationT = IngressPointConfiguration>
107 void SetIngressPointConfiguration(IngressPointConfigurationT&& value) { m_ingressPointConfigurationHasBeenSet = true; m_ingressPointConfiguration = std::forward<IngressPointConfigurationT>(value); }
108 template<typename IngressPointConfigurationT = IngressPointConfiguration>
109 UpdateIngressPointRequest& WithIngressPointConfiguration(IngressPointConfigurationT&& value) { SetIngressPointConfiguration(std::forward<IngressPointConfigurationT>(value)); return *this;}
111 private:
112
113 Aws::String m_ingressPointId;
114 bool m_ingressPointIdHasBeenSet = false;
115
116 Aws::String m_ingressPointName;
117 bool m_ingressPointNameHasBeenSet = false;
118
120 bool m_statusToUpdateHasBeenSet = false;
121
122 Aws::String m_ruleSetId;
123 bool m_ruleSetIdHasBeenSet = false;
124
125 Aws::String m_trafficPolicyId;
126 bool m_trafficPolicyIdHasBeenSet = false;
127
128 IngressPointConfiguration m_ingressPointConfiguration;
129 bool m_ingressPointConfigurationHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace MailManager
134} // 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