AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Transfer
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_TRANSFER_API As2ConnectorConfig();
44 AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetLocalProfileId() const{ return m_localProfileId; }
52 inline bool LocalProfileIdHasBeenSet() const { return m_localProfileIdHasBeenSet; }
53 inline void SetLocalProfileId(const Aws::String& value) { m_localProfileIdHasBeenSet = true; m_localProfileId = value; }
54 inline void SetLocalProfileId(Aws::String&& value) { m_localProfileIdHasBeenSet = true; m_localProfileId = std::move(value); }
55 inline void SetLocalProfileId(const char* value) { m_localProfileIdHasBeenSet = true; m_localProfileId.assign(value); }
56 inline As2ConnectorConfig& WithLocalProfileId(const Aws::String& value) { SetLocalProfileId(value); return *this;}
57 inline As2ConnectorConfig& WithLocalProfileId(Aws::String&& value) { SetLocalProfileId(std::move(value)); return *this;}
58 inline As2ConnectorConfig& WithLocalProfileId(const char* value) { SetLocalProfileId(value); return *this;}
60
62
65 inline const Aws::String& GetPartnerProfileId() const{ return m_partnerProfileId; }
66 inline bool PartnerProfileIdHasBeenSet() const { return m_partnerProfileIdHasBeenSet; }
67 inline void SetPartnerProfileId(const Aws::String& value) { m_partnerProfileIdHasBeenSet = true; m_partnerProfileId = value; }
68 inline void SetPartnerProfileId(Aws::String&& value) { m_partnerProfileIdHasBeenSet = true; m_partnerProfileId = std::move(value); }
69 inline void SetPartnerProfileId(const char* value) { m_partnerProfileIdHasBeenSet = true; m_partnerProfileId.assign(value); }
70 inline As2ConnectorConfig& WithPartnerProfileId(const Aws::String& value) { SetPartnerProfileId(value); return *this;}
71 inline As2ConnectorConfig& WithPartnerProfileId(Aws::String&& value) { SetPartnerProfileId(std::move(value)); return *this;}
72 inline As2ConnectorConfig& WithPartnerProfileId(const char* value) { SetPartnerProfileId(value); return *this;}
74
76
80 inline const Aws::String& GetMessageSubject() const{ return m_messageSubject; }
81 inline bool MessageSubjectHasBeenSet() const { return m_messageSubjectHasBeenSet; }
82 inline void SetMessageSubject(const Aws::String& value) { m_messageSubjectHasBeenSet = true; m_messageSubject = value; }
83 inline void SetMessageSubject(Aws::String&& value) { m_messageSubjectHasBeenSet = true; m_messageSubject = std::move(value); }
84 inline void SetMessageSubject(const char* value) { m_messageSubjectHasBeenSet = true; m_messageSubject.assign(value); }
85 inline As2ConnectorConfig& WithMessageSubject(const Aws::String& value) { SetMessageSubject(value); return *this;}
86 inline As2ConnectorConfig& WithMessageSubject(Aws::String&& value) { SetMessageSubject(std::move(value)); return *this;}
87 inline As2ConnectorConfig& WithMessageSubject(const char* value) { SetMessageSubject(value); return *this;}
89
91
94 inline const CompressionEnum& GetCompression() const{ return m_compression; }
95 inline bool CompressionHasBeenSet() const { return m_compressionHasBeenSet; }
96 inline void SetCompression(const CompressionEnum& value) { m_compressionHasBeenSet = true; m_compression = value; }
97 inline void SetCompression(CompressionEnum&& value) { m_compressionHasBeenSet = true; m_compression = std::move(value); }
98 inline As2ConnectorConfig& WithCompression(const CompressionEnum& value) { SetCompression(value); return *this;}
99 inline As2ConnectorConfig& WithCompression(CompressionEnum&& value) { SetCompression(std::move(value)); return *this;}
101
103
111 inline const EncryptionAlg& GetEncryptionAlgorithm() const{ return m_encryptionAlgorithm; }
112 inline bool EncryptionAlgorithmHasBeenSet() const { return m_encryptionAlgorithmHasBeenSet; }
113 inline void SetEncryptionAlgorithm(const EncryptionAlg& value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = value; }
114 inline void SetEncryptionAlgorithm(EncryptionAlg&& value) { m_encryptionAlgorithmHasBeenSet = true; m_encryptionAlgorithm = std::move(value); }
116 inline As2ConnectorConfig& WithEncryptionAlgorithm(EncryptionAlg&& value) { SetEncryptionAlgorithm(std::move(value)); return *this;}
118
120
124 inline const SigningAlg& GetSigningAlgorithm() const{ return m_signingAlgorithm; }
125 inline bool SigningAlgorithmHasBeenSet() const { return m_signingAlgorithmHasBeenSet; }
126 inline void SetSigningAlgorithm(const SigningAlg& value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = value; }
127 inline void SetSigningAlgorithm(SigningAlg&& value) { m_signingAlgorithmHasBeenSet = true; m_signingAlgorithm = std::move(value); }
128 inline As2ConnectorConfig& WithSigningAlgorithm(const SigningAlg& value) { SetSigningAlgorithm(value); return *this;}
129 inline As2ConnectorConfig& WithSigningAlgorithm(SigningAlg&& value) { SetSigningAlgorithm(std::move(value)); return *this;}
131
133
138 inline const MdnSigningAlg& GetMdnSigningAlgorithm() const{ return m_mdnSigningAlgorithm; }
139 inline bool MdnSigningAlgorithmHasBeenSet() const { return m_mdnSigningAlgorithmHasBeenSet; }
140 inline void SetMdnSigningAlgorithm(const MdnSigningAlg& value) { m_mdnSigningAlgorithmHasBeenSet = true; m_mdnSigningAlgorithm = value; }
141 inline void SetMdnSigningAlgorithm(MdnSigningAlg&& value) { m_mdnSigningAlgorithmHasBeenSet = true; m_mdnSigningAlgorithm = std::move(value); }
143 inline As2ConnectorConfig& WithMdnSigningAlgorithm(MdnSigningAlg&& value) { SetMdnSigningAlgorithm(std::move(value)); return *this;}
145
147
155 inline const MdnResponse& GetMdnResponse() const{ return m_mdnResponse; }
156 inline bool MdnResponseHasBeenSet() const { return m_mdnResponseHasBeenSet; }
157 inline void SetMdnResponse(const MdnResponse& value) { m_mdnResponseHasBeenSet = true; m_mdnResponse = value; }
158 inline void SetMdnResponse(MdnResponse&& value) { m_mdnResponseHasBeenSet = true; m_mdnResponse = std::move(value); }
159 inline As2ConnectorConfig& WithMdnResponse(const MdnResponse& value) { SetMdnResponse(value); return *this;}
160 inline As2ConnectorConfig& WithMdnResponse(MdnResponse&& value) { SetMdnResponse(std::move(value)); return *this;}
162
164
186 inline const Aws::String& GetBasicAuthSecretId() const{ return m_basicAuthSecretId; }
187 inline bool BasicAuthSecretIdHasBeenSet() const { return m_basicAuthSecretIdHasBeenSet; }
188 inline void SetBasicAuthSecretId(const Aws::String& value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId = value; }
189 inline void SetBasicAuthSecretId(Aws::String&& value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId = std::move(value); }
190 inline void SetBasicAuthSecretId(const char* value) { m_basicAuthSecretIdHasBeenSet = true; m_basicAuthSecretId.assign(value); }
191 inline As2ConnectorConfig& WithBasicAuthSecretId(const Aws::String& value) { SetBasicAuthSecretId(value); return *this;}
192 inline As2ConnectorConfig& WithBasicAuthSecretId(Aws::String&& value) { SetBasicAuthSecretId(std::move(value)); return *this;}
193 inline As2ConnectorConfig& WithBasicAuthSecretId(const char* value) { SetBasicAuthSecretId(value); return *this;}
195 private:
196
197 Aws::String m_localProfileId;
198 bool m_localProfileIdHasBeenSet = false;
199
200 Aws::String m_partnerProfileId;
201 bool m_partnerProfileIdHasBeenSet = false;
202
203 Aws::String m_messageSubject;
204 bool m_messageSubjectHasBeenSet = false;
205
206 CompressionEnum m_compression;
207 bool m_compressionHasBeenSet = false;
208
209 EncryptionAlg m_encryptionAlgorithm;
210 bool m_encryptionAlgorithmHasBeenSet = false;
211
212 SigningAlg m_signingAlgorithm;
213 bool m_signingAlgorithmHasBeenSet = false;
214
215 MdnSigningAlg m_mdnSigningAlgorithm;
216 bool m_mdnSigningAlgorithmHasBeenSet = false;
217
218 MdnResponse m_mdnResponse;
219 bool m_mdnResponseHasBeenSet = false;
220
221 Aws::String m_basicAuthSecretId;
222 bool m_basicAuthSecretIdHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace Transfer
227} // namespace Aws
As2ConnectorConfig & WithSigningAlgorithm(SigningAlg &&value)
As2ConnectorConfig & WithLocalProfileId(const Aws::String &value)
As2ConnectorConfig & WithMdnSigningAlgorithm(const MdnSigningAlg &value)
As2ConnectorConfig & WithCompression(const CompressionEnum &value)
const Aws::String & GetLocalProfileId() const
AWS_TRANSFER_API Aws::Utils::Json::JsonValue Jsonize() const
As2ConnectorConfig & WithBasicAuthSecretId(Aws::String &&value)
As2ConnectorConfig & WithBasicAuthSecretId(const Aws::String &value)
const EncryptionAlg & GetEncryptionAlgorithm() const
As2ConnectorConfig & WithPartnerProfileId(Aws::String &&value)
void SetCompression(const CompressionEnum &value)
const Aws::String & GetPartnerProfileId() const
As2ConnectorConfig & WithSigningAlgorithm(const SigningAlg &value)
void SetPartnerProfileId(const Aws::String &value)
As2ConnectorConfig & WithMessageSubject(const char *value)
void SetBasicAuthSecretId(const Aws::String &value)
const Aws::String & GetBasicAuthSecretId() const
AWS_TRANSFER_API As2ConnectorConfig(Aws::Utils::Json::JsonView jsonValue)
void SetLocalProfileId(const Aws::String &value)
As2ConnectorConfig & WithPartnerProfileId(const char *value)
As2ConnectorConfig & WithPartnerProfileId(const Aws::String &value)
const MdnSigningAlg & GetMdnSigningAlgorithm() const
void SetEncryptionAlgorithm(const EncryptionAlg &value)
void SetPartnerProfileId(Aws::String &&value)
void SetMessageSubject(const Aws::String &value)
const Aws::String & GetMessageSubject() const
As2ConnectorConfig & WithBasicAuthSecretId(const char *value)
const CompressionEnum & GetCompression() const
const SigningAlg & GetSigningAlgorithm() const
As2ConnectorConfig & WithMdnResponse(MdnResponse &&value)
As2ConnectorConfig & WithCompression(CompressionEnum &&value)
void SetMdnSigningAlgorithm(MdnSigningAlg &&value)
As2ConnectorConfig & WithLocalProfileId(Aws::String &&value)
void SetCompression(CompressionEnum &&value)
As2ConnectorConfig & WithEncryptionAlgorithm(const EncryptionAlg &value)
As2ConnectorConfig & WithMdnResponse(const MdnResponse &value)
void SetSigningAlgorithm(const SigningAlg &value)
void SetMdnResponse(const MdnResponse &value)
As2ConnectorConfig & WithMdnSigningAlgorithm(MdnSigningAlg &&value)
AWS_TRANSFER_API As2ConnectorConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEncryptionAlgorithm(EncryptionAlg &&value)
As2ConnectorConfig & WithLocalProfileId(const char *value)
void SetMdnSigningAlgorithm(const MdnSigningAlg &value)
As2ConnectorConfig & WithMessageSubject(const Aws::String &value)
As2ConnectorConfig & WithMessageSubject(Aws::String &&value)
As2ConnectorConfig & WithEncryptionAlgorithm(EncryptionAlg &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue