AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/mailmanager/model/IngressPointConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mailmanager/model/IngressPointStatusToUpdate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MailManager
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MAILMANAGER_API UpdateIngressPointRequest();
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
44 inline const IngressPointConfiguration& GetIngressPointConfiguration() const{ return m_ingressPointConfiguration; }
45 inline bool IngressPointConfigurationHasBeenSet() const { return m_ingressPointConfigurationHasBeenSet; }
46 inline void SetIngressPointConfiguration(const IngressPointConfiguration& value) { m_ingressPointConfigurationHasBeenSet = true; m_ingressPointConfiguration = value; }
47 inline void SetIngressPointConfiguration(IngressPointConfiguration&& value) { m_ingressPointConfigurationHasBeenSet = true; m_ingressPointConfiguration = std::move(value); }
51
53
56 inline const Aws::String& GetIngressPointId() const{ return m_ingressPointId; }
57 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
58 inline void SetIngressPointId(const Aws::String& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = value; }
59 inline void SetIngressPointId(Aws::String&& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = std::move(value); }
60 inline void SetIngressPointId(const char* value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId.assign(value); }
61 inline UpdateIngressPointRequest& WithIngressPointId(const Aws::String& value) { SetIngressPointId(value); return *this;}
62 inline UpdateIngressPointRequest& WithIngressPointId(Aws::String&& value) { SetIngressPointId(std::move(value)); return *this;}
63 inline UpdateIngressPointRequest& WithIngressPointId(const char* value) { SetIngressPointId(value); return *this;}
65
67
70 inline const Aws::String& GetIngressPointName() const{ return m_ingressPointName; }
71 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
72 inline void SetIngressPointName(const Aws::String& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = value; }
73 inline void SetIngressPointName(Aws::String&& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = std::move(value); }
74 inline void SetIngressPointName(const char* value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName.assign(value); }
76 inline UpdateIngressPointRequest& WithIngressPointName(Aws::String&& value) { SetIngressPointName(std::move(value)); return *this;}
77 inline UpdateIngressPointRequest& WithIngressPointName(const char* value) { SetIngressPointName(value); return *this;}
79
81
85 inline const Aws::String& GetRuleSetId() const{ return m_ruleSetId; }
86 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
87 inline void SetRuleSetId(const Aws::String& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = value; }
88 inline void SetRuleSetId(Aws::String&& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = std::move(value); }
89 inline void SetRuleSetId(const char* value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId.assign(value); }
90 inline UpdateIngressPointRequest& WithRuleSetId(const Aws::String& value) { SetRuleSetId(value); return *this;}
91 inline UpdateIngressPointRequest& WithRuleSetId(Aws::String&& value) { SetRuleSetId(std::move(value)); return *this;}
92 inline UpdateIngressPointRequest& WithRuleSetId(const char* value) { SetRuleSetId(value); return *this;}
94
96
99 inline const IngressPointStatusToUpdate& GetStatusToUpdate() const{ return m_statusToUpdate; }
100 inline bool StatusToUpdateHasBeenSet() const { return m_statusToUpdateHasBeenSet; }
101 inline void SetStatusToUpdate(const IngressPointStatusToUpdate& value) { m_statusToUpdateHasBeenSet = true; m_statusToUpdate = value; }
102 inline void SetStatusToUpdate(IngressPointStatusToUpdate&& value) { m_statusToUpdateHasBeenSet = true; m_statusToUpdate = std::move(value); }
106
108
112 inline const Aws::String& GetTrafficPolicyId() const{ return m_trafficPolicyId; }
113 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
114 inline void SetTrafficPolicyId(const Aws::String& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = value; }
115 inline void SetTrafficPolicyId(Aws::String&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::move(value); }
116 inline void SetTrafficPolicyId(const char* value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId.assign(value); }
118 inline UpdateIngressPointRequest& WithTrafficPolicyId(Aws::String&& value) { SetTrafficPolicyId(std::move(value)); return *this;}
119 inline UpdateIngressPointRequest& WithTrafficPolicyId(const char* value) { SetTrafficPolicyId(value); return *this;}
121 private:
122
123 IngressPointConfiguration m_ingressPointConfiguration;
124 bool m_ingressPointConfigurationHasBeenSet = false;
125
126 Aws::String m_ingressPointId;
127 bool m_ingressPointIdHasBeenSet = false;
128
129 Aws::String m_ingressPointName;
130 bool m_ingressPointNameHasBeenSet = false;
131
132 Aws::String m_ruleSetId;
133 bool m_ruleSetIdHasBeenSet = false;
134
135 IngressPointStatusToUpdate m_statusToUpdate;
136 bool m_statusToUpdateHasBeenSet = false;
137
138 Aws::String m_trafficPolicyId;
139 bool m_trafficPolicyIdHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace MailManager
144} // namespace Aws
UpdateIngressPointRequest & WithIngressPointId(const char *value)
UpdateIngressPointRequest & WithRuleSetId(const char *value)
UpdateIngressPointRequest & WithIngressPointId(Aws::String &&value)
UpdateIngressPointRequest & WithIngressPointName(const char *value)
UpdateIngressPointRequest & WithTrafficPolicyId(const char *value)
UpdateIngressPointRequest & WithRuleSetId(Aws::String &&value)
UpdateIngressPointRequest & WithRuleSetId(const Aws::String &value)
void SetStatusToUpdate(IngressPointStatusToUpdate &&value)
const IngressPointConfiguration & GetIngressPointConfiguration() const
virtual const char * GetServiceRequestName() const override
void SetStatusToUpdate(const IngressPointStatusToUpdate &value)
UpdateIngressPointRequest & WithStatusToUpdate(IngressPointStatusToUpdate &&value)
UpdateIngressPointRequest & WithStatusToUpdate(const IngressPointStatusToUpdate &value)
const IngressPointStatusToUpdate & GetStatusToUpdate() const
UpdateIngressPointRequest & WithIngressPointConfiguration(IngressPointConfiguration &&value)
UpdateIngressPointRequest & WithIngressPointName(const Aws::String &value)
UpdateIngressPointRequest & WithTrafficPolicyId(Aws::String &&value)
UpdateIngressPointRequest & WithIngressPointId(const Aws::String &value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateIngressPointRequest & WithTrafficPolicyId(const Aws::String &value)
UpdateIngressPointRequest & WithIngressPointName(Aws::String &&value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
void SetIngressPointConfiguration(IngressPointConfiguration &&value)
UpdateIngressPointRequest & WithIngressPointConfiguration(const IngressPointConfiguration &value)
void SetIngressPointConfiguration(const IngressPointConfiguration &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String