AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
As2ConnectorConfig.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/model/As2AsyncMdnConnectorConfig.h>
9#include <aws/awstransfer/model/CompressionEnum.h>
10#include <aws/awstransfer/model/EncryptionAlg.h>
11#include <aws/awstransfer/model/MdnResponse.h>
12#include <aws/awstransfer/model/MdnSigningAlg.h>
13#include <aws/awstransfer/model/PreserveContentType.h>
14#include <aws/awstransfer/model/SigningAlg.h>
15#include <aws/core/utils/memory/stl/AWSString.h>
16
17#include <utility>
18
19namespace Aws {
20namespace Utils {
21namespace Json {
22class JsonValue;
23class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Transfer {
27namespace Model {
28
37 public:
38 AWS_TRANSFER_API As2ConnectorConfig() = default;
41 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::String& GetLocalProfileId() const { return m_localProfileId; }
48 inline bool LocalProfileIdHasBeenSet() const { return m_localProfileIdHasBeenSet; }
49 template <typename LocalProfileIdT = Aws::String>
50 void SetLocalProfileId(LocalProfileIdT&& value) {
51 m_localProfileIdHasBeenSet = true;
52 m_localProfileId = std::forward<LocalProfileIdT>(value);
53 }
54 template <typename LocalProfileIdT = Aws::String>
55 As2ConnectorConfig& WithLocalProfileId(LocalProfileIdT&& value) {
56 SetLocalProfileId(std::forward<LocalProfileIdT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetPartnerProfileId() const { return m_partnerProfileId; }
66 inline bool PartnerProfileIdHasBeenSet() const { return m_partnerProfileIdHasBeenSet; }
67 template <typename PartnerProfileIdT = Aws::String>
68 void SetPartnerProfileId(PartnerProfileIdT&& value) {
69 m_partnerProfileIdHasBeenSet = true;
70 m_partnerProfileId = std::forward<PartnerProfileIdT>(value);
71 }
72 template <typename PartnerProfileIdT = Aws::String>
73 As2ConnectorConfig& WithPartnerProfileId(PartnerProfileIdT&& value) {
74 SetPartnerProfileId(std::forward<PartnerProfileIdT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetMessageSubject() const { return m_messageSubject; }
85 inline bool MessageSubjectHasBeenSet() const { return m_messageSubjectHasBeenSet; }
86 template <typename MessageSubjectT = Aws::String>
87 void SetMessageSubject(MessageSubjectT&& value) {
88 m_messageSubjectHasBeenSet = true;
89 m_messageSubject = std::forward<MessageSubjectT>(value);
90 }
91 template <typename MessageSubjectT = Aws::String>
92 As2ConnectorConfig& WithMessageSubject(MessageSubjectT&& value) {
93 SetMessageSubject(std::forward<MessageSubjectT>(value));
94 return *this;
95 }
97
99
102 inline CompressionEnum GetCompression() const { return m_compression; }
103 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
104 inline void SetCompression(CompressionEnum value) {
105 m_compressionHasBeenSet = true;
106 m_compression = value;
107 }
109 SetCompression(value);
110 return *this;
111 }
113
115
123 inline EncryptionAlg GetEncryptionAlgorithm() const { return m_encryptionAlgorithm; }
124 inline bool EncryptionAlgorithmHasBeenSet() const { return m_encryptionAlgorithmHasBeenSet; }
126 m_encryptionAlgorithmHasBeenSet = true;
127 m_encryptionAlgorithm = value;
128 }
131 return *this;
132 }
134
136
140 inline SigningAlg GetSigningAlgorithm() const { return m_signingAlgorithm; }
141 inline bool SigningAlgorithmHasBeenSet() const { return m_signingAlgorithmHasBeenSet; }
142 inline void SetSigningAlgorithm(SigningAlg value) {
143 m_signingAlgorithmHasBeenSet = true;
144 m_signingAlgorithm = value;
145 }
147 SetSigningAlgorithm(value);
148 return *this;
149 }
151
153
158 inline MdnSigningAlg GetMdnSigningAlgorithm() const { return m_mdnSigningAlgorithm; }
159 inline bool MdnSigningAlgorithmHasBeenSet() const { return m_mdnSigningAlgorithmHasBeenSet; }
161 m_mdnSigningAlgorithmHasBeenSet = true;
162 m_mdnSigningAlgorithm = value;
163 }
166 return *this;
167 }
169
171
181 inline MdnResponse GetMdnResponse() const { return m_mdnResponse; }
182 inline bool MdnResponseHasBeenSet() const { return m_mdnResponseHasBeenSet; }
183 inline void SetMdnResponse(MdnResponse value) {
184 m_mdnResponseHasBeenSet = true;
185 m_mdnResponse = value;
186 }
188 SetMdnResponse(value);
189 return *this;
190 }
192
194
216 inline const Aws::String& GetBasicAuthSecretId() const { return m_basicAuthSecretId; }
217 inline bool BasicAuthSecretIdHasBeenSet() const { return m_basicAuthSecretIdHasBeenSet; }
218 template <typename BasicAuthSecretIdT = Aws::String>
219 void SetBasicAuthSecretId(BasicAuthSecretIdT&& value) {
220 m_basicAuthSecretIdHasBeenSet = true;
221 m_basicAuthSecretId = std::forward<BasicAuthSecretIdT>(value);
222 }
223 template <typename BasicAuthSecretIdT = Aws::String>
224 As2ConnectorConfig& WithBasicAuthSecretId(BasicAuthSecretIdT&& value) {
225 SetBasicAuthSecretId(std::forward<BasicAuthSecretIdT>(value));
226 return *this;
227 }
229
231
238 inline PreserveContentType GetPreserveContentType() const { return m_preserveContentType; }
239 inline bool PreserveContentTypeHasBeenSet() const { return m_preserveContentTypeHasBeenSet; }
241 m_preserveContentTypeHasBeenSet = true;
242 m_preserveContentType = value;
243 }
246 return *this;
247 }
249
251
256 inline const As2AsyncMdnConnectorConfig& GetAsyncMdnConfig() const { return m_asyncMdnConfig; }
257 inline bool AsyncMdnConfigHasBeenSet() const { return m_asyncMdnConfigHasBeenSet; }
258 template <typename AsyncMdnConfigT = As2AsyncMdnConnectorConfig>
259 void SetAsyncMdnConfig(AsyncMdnConfigT&& value) {
260 m_asyncMdnConfigHasBeenSet = true;
261 m_asyncMdnConfig = std::forward<AsyncMdnConfigT>(value);
262 }
263 template <typename AsyncMdnConfigT = As2AsyncMdnConnectorConfig>
264 As2ConnectorConfig& WithAsyncMdnConfig(AsyncMdnConfigT&& value) {
265 SetAsyncMdnConfig(std::forward<AsyncMdnConfigT>(value));
266 return *this;
267 }
269 private:
270 Aws::String m_localProfileId;
271
272 Aws::String m_partnerProfileId;
273
274 Aws::String m_messageSubject;
275
277
278 EncryptionAlg m_encryptionAlgorithm{EncryptionAlg::NOT_SET};
279
280 SigningAlg m_signingAlgorithm{SigningAlg::NOT_SET};
281
282 MdnSigningAlg m_mdnSigningAlgorithm{MdnSigningAlg::NOT_SET};
283
284 MdnResponse m_mdnResponse{MdnResponse::NOT_SET};
285
286 Aws::String m_basicAuthSecretId;
287
289
290 As2AsyncMdnConnectorConfig m_asyncMdnConfig;
291 bool m_localProfileIdHasBeenSet = false;
292 bool m_partnerProfileIdHasBeenSet = false;
293 bool m_messageSubjectHasBeenSet = false;
294 bool m_compressionHasBeenSet = false;
295 bool m_encryptionAlgorithmHasBeenSet = false;
296 bool m_signingAlgorithmHasBeenSet = false;
297 bool m_mdnSigningAlgorithmHasBeenSet = false;
298 bool m_mdnResponseHasBeenSet = false;
299 bool m_basicAuthSecretIdHasBeenSet = false;
300 bool m_preserveContentTypeHasBeenSet = false;
301 bool m_asyncMdnConfigHasBeenSet = false;
302};
303
304} // namespace Model
305} // namespace Transfer
306} // namespace Aws
As2ConnectorConfig & WithPreserveContentType(PreserveContentType value)
void SetMessageSubject(MessageSubjectT &&value)
As2ConnectorConfig & WithMdnResponse(MdnResponse value)
const Aws::String & GetLocalProfileId() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
As2ConnectorConfig & WithAsyncMdnConfig(AsyncMdnConfigT &&value)
const Aws::String & GetPartnerProfileId() const
PreserveContentType GetPreserveContentType() const
As2ConnectorConfig & WithCompression(CompressionEnum value)
const Aws::String & GetBasicAuthSecretId() const
void SetMdnSigningAlgorithm(MdnSigningAlg value)
As2ConnectorConfig & WithLocalProfileId(LocalProfileIdT &&value)
AWS_TRANSFER_API As2ConnectorConfig(Aws::Utils::Json::JsonView jsonValue)
void SetBasicAuthSecretId(BasicAuthSecretIdT &&value)
void SetLocalProfileId(LocalProfileIdT &&value)
AWS_TRANSFER_API As2ConnectorConfig()=default
As2ConnectorConfig & WithBasicAuthSecretId(BasicAuthSecretIdT &&value)
const Aws::String & GetMessageSubject() const
As2ConnectorConfig & WithEncryptionAlgorithm(EncryptionAlg value)
const As2AsyncMdnConnectorConfig & GetAsyncMdnConfig() const
As2ConnectorConfig & WithMdnSigningAlgorithm(MdnSigningAlg value)
As2ConnectorConfig & WithSigningAlgorithm(SigningAlg value)
void SetPreserveContentType(PreserveContentType value)
void SetPartnerProfileId(PartnerProfileIdT &&value)
void SetEncryptionAlgorithm(EncryptionAlg value)
AWS_TRANSFER_API As2ConnectorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
As2ConnectorConfig & WithPartnerProfileId(PartnerProfileIdT &&value)
void SetAsyncMdnConfig(AsyncMdnConfigT &&value)
As2ConnectorConfig & WithMessageSubject(MessageSubjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue