AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/IngressPointConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mailmanager/model/IngressPointType.h>
13#include <aws/mailmanager/model/Tag.h>
14#include <utility>
15#include <aws/core/utils/UUID.h>
16
17namespace Aws
18{
19namespace MailManager
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_MAILMANAGER_API CreateIngressPointRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateIngressPoint"; }
36
37 AWS_MAILMANAGER_API Aws::String SerializePayload() const override;
38
39 AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
40
41
43
47 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
50 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
51 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
52 inline CreateIngressPointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
53 inline CreateIngressPointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
54 inline CreateIngressPointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
56
58
62 inline const IngressPointConfiguration& GetIngressPointConfiguration() const{ return m_ingressPointConfiguration; }
63 inline bool IngressPointConfigurationHasBeenSet() const { return m_ingressPointConfigurationHasBeenSet; }
64 inline void SetIngressPointConfiguration(const IngressPointConfiguration& value) { m_ingressPointConfigurationHasBeenSet = true; m_ingressPointConfiguration = value; }
65 inline void SetIngressPointConfiguration(IngressPointConfiguration&& value) { m_ingressPointConfigurationHasBeenSet = true; m_ingressPointConfiguration = std::move(value); }
69
71
74 inline const Aws::String& GetIngressPointName() const{ return m_ingressPointName; }
75 inline bool IngressPointNameHasBeenSet() const { return m_ingressPointNameHasBeenSet; }
76 inline void SetIngressPointName(const Aws::String& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = value; }
77 inline void SetIngressPointName(Aws::String&& value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName = std::move(value); }
78 inline void SetIngressPointName(const char* value) { m_ingressPointNameHasBeenSet = true; m_ingressPointName.assign(value); }
80 inline CreateIngressPointRequest& WithIngressPointName(Aws::String&& value) { SetIngressPointName(std::move(value)); return *this;}
81 inline CreateIngressPointRequest& WithIngressPointName(const char* value) { SetIngressPointName(value); return *this;}
83
85
89 inline const Aws::String& GetRuleSetId() const{ return m_ruleSetId; }
90 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
91 inline void SetRuleSetId(const Aws::String& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = value; }
92 inline void SetRuleSetId(Aws::String&& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = std::move(value); }
93 inline void SetRuleSetId(const char* value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId.assign(value); }
94 inline CreateIngressPointRequest& WithRuleSetId(const Aws::String& value) { SetRuleSetId(value); return *this;}
95 inline CreateIngressPointRequest& WithRuleSetId(Aws::String&& value) { SetRuleSetId(std::move(value)); return *this;}
96 inline CreateIngressPointRequest& WithRuleSetId(const char* value) { SetRuleSetId(value); return *this;}
98
100
104 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
105 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
106 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
107 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
108 inline CreateIngressPointRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
109 inline CreateIngressPointRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
110 inline CreateIngressPointRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
111 inline CreateIngressPointRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
113
115
119 inline const Aws::String& GetTrafficPolicyId() const{ return m_trafficPolicyId; }
120 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
121 inline void SetTrafficPolicyId(const Aws::String& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = value; }
122 inline void SetTrafficPolicyId(Aws::String&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::move(value); }
123 inline void SetTrafficPolicyId(const char* value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId.assign(value); }
125 inline CreateIngressPointRequest& WithTrafficPolicyId(Aws::String&& value) { SetTrafficPolicyId(std::move(value)); return *this;}
126 inline CreateIngressPointRequest& WithTrafficPolicyId(const char* value) { SetTrafficPolicyId(value); return *this;}
128
130
133 inline const IngressPointType& GetType() const{ return m_type; }
134 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
135 inline void SetType(const IngressPointType& value) { m_typeHasBeenSet = true; m_type = value; }
136 inline void SetType(IngressPointType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
137 inline CreateIngressPointRequest& WithType(const IngressPointType& value) { SetType(value); return *this;}
138 inline CreateIngressPointRequest& WithType(IngressPointType&& value) { SetType(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_clientToken;
143 bool m_clientTokenHasBeenSet = false;
144
145 IngressPointConfiguration m_ingressPointConfiguration;
146 bool m_ingressPointConfigurationHasBeenSet = false;
147
148 Aws::String m_ingressPointName;
149 bool m_ingressPointNameHasBeenSet = false;
150
151 Aws::String m_ruleSetId;
152 bool m_ruleSetIdHasBeenSet = false;
153
154 Aws::Vector<Tag> m_tags;
155 bool m_tagsHasBeenSet = false;
156
157 Aws::String m_trafficPolicyId;
158 bool m_trafficPolicyIdHasBeenSet = false;
159
160 IngressPointType m_type;
161 bool m_typeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace MailManager
166} // namespace Aws
CreateIngressPointRequest & WithIngressPointName(Aws::String &&value)
CreateIngressPointRequest & WithTags(const Aws::Vector< Tag > &value)
CreateIngressPointRequest & AddTags(const Tag &value)
CreateIngressPointRequest & WithRuleSetId(Aws::String &&value)
CreateIngressPointRequest & WithClientToken(const Aws::String &value)
AWS_MAILMANAGER_API Aws::String SerializePayload() const override
CreateIngressPointRequest & WithClientToken(const char *value)
CreateIngressPointRequest & WithTrafficPolicyId(const Aws::String &value)
CreateIngressPointRequest & WithRuleSetId(const char *value)
void SetIngressPointConfiguration(const IngressPointConfiguration &value)
CreateIngressPointRequest & WithClientToken(Aws::String &&value)
CreateIngressPointRequest & WithTrafficPolicyId(const char *value)
AWS_MAILMANAGER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateIngressPointRequest & WithTags(Aws::Vector< Tag > &&value)
CreateIngressPointRequest & WithType(const IngressPointType &value)
CreateIngressPointRequest & WithIngressPointName(const char *value)
CreateIngressPointRequest & WithTrafficPolicyId(Aws::String &&value)
CreateIngressPointRequest & WithType(IngressPointType &&value)
CreateIngressPointRequest & WithIngressPointConfiguration(const IngressPointConfiguration &value)
const IngressPointConfiguration & GetIngressPointConfiguration() const
virtual const char * GetServiceRequestName() const override
CreateIngressPointRequest & WithIngressPointConfiguration(IngressPointConfiguration &&value)
CreateIngressPointRequest & WithRuleSetId(const Aws::String &value)
CreateIngressPointRequest & WithIngressPointName(const Aws::String &value)
void SetIngressPointConfiguration(IngressPointConfiguration &&value)
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