AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
As2ConnectorConfig.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/awstransfer/model/CompressionEnum.h>
10#include <aws/awstransfer/model/EncryptionAlg.h>
11#include <aws/awstransfer/model/SigningAlg.h>
12#include <aws/awstransfer/model/MdnSigningAlg.h>
13#include <aws/awstransfer/model/MdnResponse.h>
14#include <aws/awstransfer/model/PreserveContentType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Transfer
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_TRANSFER_API As2ConnectorConfig() = default;
45 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
52 inline const Aws::String& GetLocalProfileId() const { return m_localProfileId; }
53 inline bool LocalProfileIdHasBeenSet() const { return m_localProfileIdHasBeenSet; }
54 template<typename LocalProfileIdT = Aws::String>
55 void SetLocalProfileId(LocalProfileIdT&& value) { m_localProfileIdHasBeenSet = true; m_localProfileId = std::forward<LocalProfileIdT>(value); }
56 template<typename LocalProfileIdT = Aws::String>
57 As2ConnectorConfig& WithLocalProfileId(LocalProfileIdT&& value) { SetLocalProfileId(std::forward<LocalProfileIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetPartnerProfileId() const { return m_partnerProfileId; }
65 inline bool PartnerProfileIdHasBeenSet() const { return m_partnerProfileIdHasBeenSet; }
66 template<typename PartnerProfileIdT = Aws::String>
67 void SetPartnerProfileId(PartnerProfileIdT&& value) { m_partnerProfileIdHasBeenSet = true; m_partnerProfileId = std::forward<PartnerProfileIdT>(value); }
68 template<typename PartnerProfileIdT = Aws::String>
69 As2ConnectorConfig& WithPartnerProfileId(PartnerProfileIdT&& value) { SetPartnerProfileId(std::forward<PartnerProfileIdT>(value)); return *this;}
71
73
77 inline const Aws::String& GetMessageSubject() const { return m_messageSubject; }
78 inline bool MessageSubjectHasBeenSet() const { return m_messageSubjectHasBeenSet; }
79 template<typename MessageSubjectT = Aws::String>
80 void SetMessageSubject(MessageSubjectT&& value) { m_messageSubjectHasBeenSet = true; m_messageSubject = std::forward<MessageSubjectT>(value); }
81 template<typename MessageSubjectT = Aws::String>
82 As2ConnectorConfig& WithMessageSubject(MessageSubjectT&& value) { SetMessageSubject(std::forward<MessageSubjectT>(value)); return *this;}
84
86
89 inline CompressionEnum GetCompression() const { return m_compression; }
90 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
91 inline void SetCompression(CompressionEnum value) { m_compressionHasBeenSet = true; m_compression = value; }
92 inline As2ConnectorConfig& WithCompression(CompressionEnum value) { SetCompression(value); return *this;}
94
96
104 inline EncryptionAlg GetEncryptionAlgorithm() const { return m_encryptionAlgorithm; }
105 inline bool EncryptionAlgorithmHasBeenSet() const { return m_encryptionAlgorithmHasBeenSet; }
106 inline void SetEncryptionAlgorithm(EncryptionAlg value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = value; }
109
111
115 inline SigningAlg GetSigningAlgorithm() const { return m_signingAlgorithm; }
116 inline bool SigningAlgorithmHasBeenSet() const { return m_signingAlgorithmHasBeenSet; }
117 inline void SetSigningAlgorithm(SigningAlg value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = value; }
120
122
127 inline MdnSigningAlg GetMdnSigningAlgorithm() const { return m_mdnSigningAlgorithm; }
128 inline bool MdnSigningAlgorithmHasBeenSet() const { return m_mdnSigningAlgorithmHasBeenSet; }
129 inline void SetMdnSigningAlgorithm(MdnSigningAlg value) { m_mdnSigningAlgorithmHasBeenSet = true; m_mdnSigningAlgorithm = value; }
132
134
143 inline MdnResponse GetMdnResponse() const { return m_mdnResponse; }
144 inline bool MdnResponseHasBeenSet() const { return m_mdnResponseHasBeenSet; }
145 inline void SetMdnResponse(MdnResponse value) { m_mdnResponseHasBeenSet = true; m_mdnResponse = value; }
146 inline As2ConnectorConfig& WithMdnResponse(MdnResponse value) { SetMdnResponse(value); return *this;}
148
150
172 inline const Aws::String& GetBasicAuthSecretId() const { return m_basicAuthSecretId; }
173 inline bool BasicAuthSecretIdHasBeenSet() const { return m_basicAuthSecretIdHasBeenSet; }
174 template<typename BasicAuthSecretIdT = Aws::String>
175 void SetBasicAuthSecretId(BasicAuthSecretIdT&& value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId = std::forward<BasicAuthSecretIdT>(value); }
176 template<typename BasicAuthSecretIdT = Aws::String>
177 As2ConnectorConfig& WithBasicAuthSecretId(BasicAuthSecretIdT&& value) { SetBasicAuthSecretId(std::forward<BasicAuthSecretIdT>(value)); return *this;}
179
181
188 inline PreserveContentType GetPreserveContentType() const { return m_preserveContentType; }
189 inline bool PreserveContentTypeHasBeenSet() const { return m_preserveContentTypeHasBeenSet; }
190 inline void SetPreserveContentType(PreserveContentType value) { m_preserveContentTypeHasBeenSet = true; m_preserveContentType = value; }
193 private:
194
195 Aws::String m_localProfileId;
196 bool m_localProfileIdHasBeenSet = false;
197
198 Aws::String m_partnerProfileId;
199 bool m_partnerProfileIdHasBeenSet = false;
200
201 Aws::String m_messageSubject;
202 bool m_messageSubjectHasBeenSet = false;
203
205 bool m_compressionHasBeenSet = false;
206
207 EncryptionAlg m_encryptionAlgorithm{EncryptionAlg::NOT_SET};
208 bool m_encryptionAlgorithmHasBeenSet = false;
209
210 SigningAlg m_signingAlgorithm{SigningAlg::NOT_SET};
211 bool m_signingAlgorithmHasBeenSet = false;
212
213 MdnSigningAlg m_mdnSigningAlgorithm{MdnSigningAlg::NOT_SET};
214 bool m_mdnSigningAlgorithmHasBeenSet = false;
215
216 MdnResponse m_mdnResponse{MdnResponse::NOT_SET};
217 bool m_mdnResponseHasBeenSet = false;
218
219 Aws::String m_basicAuthSecretId;
220 bool m_basicAuthSecretIdHasBeenSet = false;
221
223 bool m_preserveContentTypeHasBeenSet = false;
224 };
225
226} // namespace Model
227} // namespace Transfer
228} // 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
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)
As2ConnectorConfig & WithMdnSigningAlgorithm(MdnSigningAlg value)
As2ConnectorConfig & WithSigningAlgorithm(SigningAlg value)
void SetPreserveContentType(PreserveContentType value)
void SetPartnerProfileId(PartnerProfileIdT &&value)
void SetEncryptionAlgorithm(EncryptionAlg value)
void SetCompression(CompressionEnum value)
AWS_TRANSFER_API As2ConnectorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
As2ConnectorConfig & WithPartnerProfileId(PartnerProfileIdT &&value)
As2ConnectorConfig & WithMessageSubject(MessageSubjectT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue