AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Metadata.h
1
6#pragma once
7#include <aws/mailmanager/MailManager_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MailManager
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAILMANAGER_API Metadata();
36 AWS_MAILMANAGER_API Metadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAILMANAGER_API Metadata& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIngressPointId() const{ return m_ingressPointId; }
46 inline bool IngressPointIdHasBeenSet() const { return m_ingressPointIdHasBeenSet; }
47 inline void SetIngressPointId(const Aws::String& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = value; }
48 inline void SetIngressPointId(Aws::String&& value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId = std::move(value); }
49 inline void SetIngressPointId(const char* value) { m_ingressPointIdHasBeenSet = true; m_ingressPointId.assign(value); }
50 inline Metadata& WithIngressPointId(const Aws::String& value) { SetIngressPointId(value); return *this;}
51 inline Metadata& WithIngressPointId(Aws::String&& value) { SetIngressPointId(std::move(value)); return *this;}
52 inline Metadata& WithIngressPointId(const char* value) { SetIngressPointId(value); return *this;}
54
56
59 inline const Aws::String& GetRuleSetId() const{ return m_ruleSetId; }
60 inline bool RuleSetIdHasBeenSet() const { return m_ruleSetIdHasBeenSet; }
61 inline void SetRuleSetId(const Aws::String& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = value; }
62 inline void SetRuleSetId(Aws::String&& value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId = std::move(value); }
63 inline void SetRuleSetId(const char* value) { m_ruleSetIdHasBeenSet = true; m_ruleSetId.assign(value); }
64 inline Metadata& WithRuleSetId(const Aws::String& value) { SetRuleSetId(value); return *this;}
65 inline Metadata& WithRuleSetId(Aws::String&& value) { SetRuleSetId(std::move(value)); return *this;}
66 inline Metadata& WithRuleSetId(const char* value) { SetRuleSetId(value); return *this;}
68
70
73 inline const Aws::String& GetSenderHostname() const{ return m_senderHostname; }
74 inline bool SenderHostnameHasBeenSet() const { return m_senderHostnameHasBeenSet; }
75 inline void SetSenderHostname(const Aws::String& value) { m_senderHostnameHasBeenSet = true; m_senderHostname = value; }
76 inline void SetSenderHostname(Aws::String&& value) { m_senderHostnameHasBeenSet = true; m_senderHostname = std::move(value); }
77 inline void SetSenderHostname(const char* value) { m_senderHostnameHasBeenSet = true; m_senderHostname.assign(value); }
78 inline Metadata& WithSenderHostname(const Aws::String& value) { SetSenderHostname(value); return *this;}
79 inline Metadata& WithSenderHostname(Aws::String&& value) { SetSenderHostname(std::move(value)); return *this;}
80 inline Metadata& WithSenderHostname(const char* value) { SetSenderHostname(value); return *this;}
82
84
87 inline const Aws::String& GetSenderIpAddress() const{ return m_senderIpAddress; }
88 inline bool SenderIpAddressHasBeenSet() const { return m_senderIpAddressHasBeenSet; }
89 inline void SetSenderIpAddress(const Aws::String& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = value; }
90 inline void SetSenderIpAddress(Aws::String&& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = std::move(value); }
91 inline void SetSenderIpAddress(const char* value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress.assign(value); }
92 inline Metadata& WithSenderIpAddress(const Aws::String& value) { SetSenderIpAddress(value); return *this;}
93 inline Metadata& WithSenderIpAddress(Aws::String&& value) { SetSenderIpAddress(std::move(value)); return *this;}
94 inline Metadata& WithSenderIpAddress(const char* value) { SetSenderIpAddress(value); return *this;}
96
98
101 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
102 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
103 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
104 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
105 inline Metadata& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
106 inline Metadata& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
108
110
114 inline const Aws::String& GetTlsCipherSuite() const{ return m_tlsCipherSuite; }
115 inline bool TlsCipherSuiteHasBeenSet() const { return m_tlsCipherSuiteHasBeenSet; }
116 inline void SetTlsCipherSuite(const Aws::String& value) { m_tlsCipherSuiteHasBeenSet = true; m_tlsCipherSuite = value; }
117 inline void SetTlsCipherSuite(Aws::String&& value) { m_tlsCipherSuiteHasBeenSet = true; m_tlsCipherSuite = std::move(value); }
118 inline void SetTlsCipherSuite(const char* value) { m_tlsCipherSuiteHasBeenSet = true; m_tlsCipherSuite.assign(value); }
119 inline Metadata& WithTlsCipherSuite(const Aws::String& value) { SetTlsCipherSuite(value); return *this;}
120 inline Metadata& WithTlsCipherSuite(Aws::String&& value) { SetTlsCipherSuite(std::move(value)); return *this;}
121 inline Metadata& WithTlsCipherSuite(const char* value) { SetTlsCipherSuite(value); return *this;}
123
125
129 inline const Aws::String& GetTlsProtocol() const{ return m_tlsProtocol; }
130 inline bool TlsProtocolHasBeenSet() const { return m_tlsProtocolHasBeenSet; }
131 inline void SetTlsProtocol(const Aws::String& value) { m_tlsProtocolHasBeenSet = true; m_tlsProtocol = value; }
132 inline void SetTlsProtocol(Aws::String&& value) { m_tlsProtocolHasBeenSet = true; m_tlsProtocol = std::move(value); }
133 inline void SetTlsProtocol(const char* value) { m_tlsProtocolHasBeenSet = true; m_tlsProtocol.assign(value); }
134 inline Metadata& WithTlsProtocol(const Aws::String& value) { SetTlsProtocol(value); return *this;}
135 inline Metadata& WithTlsProtocol(Aws::String&& value) { SetTlsProtocol(std::move(value)); return *this;}
136 inline Metadata& WithTlsProtocol(const char* value) { SetTlsProtocol(value); return *this;}
138
140
144 inline const Aws::String& GetTrafficPolicyId() const{ return m_trafficPolicyId; }
145 inline bool TrafficPolicyIdHasBeenSet() const { return m_trafficPolicyIdHasBeenSet; }
146 inline void SetTrafficPolicyId(const Aws::String& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = value; }
147 inline void SetTrafficPolicyId(Aws::String&& value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId = std::move(value); }
148 inline void SetTrafficPolicyId(const char* value) { m_trafficPolicyIdHasBeenSet = true; m_trafficPolicyId.assign(value); }
149 inline Metadata& WithTrafficPolicyId(const Aws::String& value) { SetTrafficPolicyId(value); return *this;}
150 inline Metadata& WithTrafficPolicyId(Aws::String&& value) { SetTrafficPolicyId(std::move(value)); return *this;}
151 inline Metadata& WithTrafficPolicyId(const char* value) { SetTrafficPolicyId(value); return *this;}
153 private:
154
155 Aws::String m_ingressPointId;
156 bool m_ingressPointIdHasBeenSet = false;
157
158 Aws::String m_ruleSetId;
159 bool m_ruleSetIdHasBeenSet = false;
160
161 Aws::String m_senderHostname;
162 bool m_senderHostnameHasBeenSet = false;
163
164 Aws::String m_senderIpAddress;
165 bool m_senderIpAddressHasBeenSet = false;
166
167 Aws::Utils::DateTime m_timestamp;
168 bool m_timestampHasBeenSet = false;
169
170 Aws::String m_tlsCipherSuite;
171 bool m_tlsCipherSuiteHasBeenSet = false;
172
173 Aws::String m_tlsProtocol;
174 bool m_tlsProtocolHasBeenSet = false;
175
176 Aws::String m_trafficPolicyId;
177 bool m_trafficPolicyIdHasBeenSet = false;
178 };
179
180} // namespace Model
181} // namespace MailManager
182} // namespace Aws
Metadata & WithTrafficPolicyId(const Aws::String &value)
Definition Metadata.h:149
void SetSenderHostname(Aws::String &&value)
Definition Metadata.h:76
void SetTlsProtocol(Aws::String &&value)
Definition Metadata.h:132
Metadata & WithTrafficPolicyId(const char *value)
Definition Metadata.h:151
const Aws::String & GetIngressPointId() const
Definition Metadata.h:45
const Aws::String & GetTlsCipherSuite() const
Definition Metadata.h:114
void SetRuleSetId(const char *value)
Definition Metadata.h:63
const Aws::String & GetTrafficPolicyId() const
Definition Metadata.h:144
void SetTlsProtocol(const Aws::String &value)
Definition Metadata.h:131
const Aws::String & GetRuleSetId() const
Definition Metadata.h:59
Metadata & WithSenderHostname(const char *value)
Definition Metadata.h:80
void SetSenderIpAddress(const char *value)
Definition Metadata.h:91
Metadata & WithRuleSetId(const char *value)
Definition Metadata.h:66
Metadata & WithSenderHostname(const Aws::String &value)
Definition Metadata.h:78
void SetIngressPointId(Aws::String &&value)
Definition Metadata.h:48
bool IngressPointIdHasBeenSet() const
Definition Metadata.h:46
Metadata & WithTlsCipherSuite(const Aws::String &value)
Definition Metadata.h:119
Metadata & WithTrafficPolicyId(Aws::String &&value)
Definition Metadata.h:150
AWS_MAILMANAGER_API Metadata()
Metadata & WithTlsCipherSuite(const char *value)
Definition Metadata.h:121
Metadata & WithSenderIpAddress(const Aws::String &value)
Definition Metadata.h:92
void SetSenderHostname(const Aws::String &value)
Definition Metadata.h:75
void SetTlsCipherSuite(Aws::String &&value)
Definition Metadata.h:117
const Aws::String & GetSenderIpAddress() const
Definition Metadata.h:87
Metadata & WithSenderIpAddress(const char *value)
Definition Metadata.h:94
void SetIngressPointId(const char *value)
Definition Metadata.h:49
void SetTrafficPolicyId(const Aws::String &value)
Definition Metadata.h:146
void SetTrafficPolicyId(const char *value)
Definition Metadata.h:148
void SetRuleSetId(Aws::String &&value)
Definition Metadata.h:62
void SetRuleSetId(const Aws::String &value)
Definition Metadata.h:61
Metadata & WithRuleSetId(const Aws::String &value)
Definition Metadata.h:64
Metadata & WithTlsProtocol(Aws::String &&value)
Definition Metadata.h:135
void SetIngressPointId(const Aws::String &value)
Definition Metadata.h:47
Metadata & WithTlsProtocol(const Aws::String &value)
Definition Metadata.h:134
const Aws::String & GetTlsProtocol() const
Definition Metadata.h:129
Metadata & WithSenderIpAddress(Aws::String &&value)
Definition Metadata.h:93
Metadata & WithIngressPointId(Aws::String &&value)
Definition Metadata.h:51
void SetTrafficPolicyId(Aws::String &&value)
Definition Metadata.h:147
bool SenderIpAddressHasBeenSet() const
Definition Metadata.h:88
const Aws::Utils::DateTime & GetTimestamp() const
Definition Metadata.h:101
bool SenderHostnameHasBeenSet() const
Definition Metadata.h:74
AWS_MAILMANAGER_API Metadata(Aws::Utils::Json::JsonView jsonValue)
Metadata & WithTimestamp(const Aws::Utils::DateTime &value)
Definition Metadata.h:105
void SetTlsCipherSuite(const char *value)
Definition Metadata.h:118
void SetTlsCipherSuite(const Aws::String &value)
Definition Metadata.h:116
void SetSenderHostname(const char *value)
Definition Metadata.h:77
void SetSenderIpAddress(const Aws::String &value)
Definition Metadata.h:89
void SetTlsProtocol(const char *value)
Definition Metadata.h:133
void SetSenderIpAddress(Aws::String &&value)
Definition Metadata.h:90
const Aws::String & GetSenderHostname() const
Definition Metadata.h:73
Metadata & WithIngressPointId(const Aws::String &value)
Definition Metadata.h:50
Metadata & WithTlsProtocol(const char *value)
Definition Metadata.h:136
Metadata & WithRuleSetId(Aws::String &&value)
Definition Metadata.h:65
AWS_MAILMANAGER_API Metadata & operator=(Aws::Utils::Json::JsonView jsonValue)
Metadata & WithSenderHostname(Aws::String &&value)
Definition Metadata.h:79
void SetTimestamp(const Aws::Utils::DateTime &value)
Definition Metadata.h:103
AWS_MAILMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(Aws::Utils::DateTime &&value)
Definition Metadata.h:104
Metadata & WithTimestamp(Aws::Utils::DateTime &&value)
Definition Metadata.h:106
Metadata & WithIngressPointId(const char *value)
Definition Metadata.h:52
Metadata & WithTlsCipherSuite(Aws::String &&value)
Definition Metadata.h:120
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue