AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateServerRequest.h
1
6#pragma once
7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/awstransfer/model/ProtocolDetails.h>
11#include <aws/awstransfer/model/EndpointDetails.h>
12#include <aws/awstransfer/model/EndpointType.h>
13#include <aws/awstransfer/model/IdentityProviderDetails.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/awstransfer/model/WorkflowDetails.h>
16#include <aws/awstransfer/model/S3StorageOptions.h>
17#include <aws/awstransfer/model/Protocol.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Transfer
23{
24namespace Model
25{
26
30 {
31 public:
32 AWS_TRANSFER_API UpdateServerRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateServer"; }
39
40 AWS_TRANSFER_API Aws::String SerializePayload() const override;
41
43
44
46
68 inline const Aws::String& GetCertificate() const{ return m_certificate; }
69 inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; }
70 inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; }
71 inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); }
72 inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); }
73 inline UpdateServerRequest& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
74 inline UpdateServerRequest& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;}
75 inline UpdateServerRequest& WithCertificate(const char* value) { SetCertificate(value); return *this;}
77
79
98 inline const ProtocolDetails& GetProtocolDetails() const{ return m_protocolDetails; }
99 inline bool ProtocolDetailsHasBeenSet() const { return m_protocolDetailsHasBeenSet; }
100 inline void SetProtocolDetails(const ProtocolDetails& value) { m_protocolDetailsHasBeenSet = true; m_protocolDetails = value; }
101 inline void SetProtocolDetails(ProtocolDetails&& value) { m_protocolDetailsHasBeenSet = true; m_protocolDetails = std::move(value); }
102 inline UpdateServerRequest& WithProtocolDetails(const ProtocolDetails& value) { SetProtocolDetails(value); return *this;}
103 inline UpdateServerRequest& WithProtocolDetails(ProtocolDetails&& value) { SetProtocolDetails(std::move(value)); return *this;}
105
107
115 inline const EndpointDetails& GetEndpointDetails() const{ return m_endpointDetails; }
116 inline bool EndpointDetailsHasBeenSet() const { return m_endpointDetailsHasBeenSet; }
117 inline void SetEndpointDetails(const EndpointDetails& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails = value; }
118 inline void SetEndpointDetails(EndpointDetails&& value) { m_endpointDetailsHasBeenSet = true; m_endpointDetails = std::move(value); }
119 inline UpdateServerRequest& WithEndpointDetails(const EndpointDetails& value) { SetEndpointDetails(value); return *this;}
120 inline UpdateServerRequest& WithEndpointDetails(EndpointDetails&& value) { SetEndpointDetails(std::move(value)); return *this;}
122
124
145 inline const EndpointType& GetEndpointType() const{ return m_endpointType; }
146 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
147 inline void SetEndpointType(const EndpointType& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
148 inline void SetEndpointType(EndpointType&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
149 inline UpdateServerRequest& WithEndpointType(const EndpointType& value) { SetEndpointType(value); return *this;}
150 inline UpdateServerRequest& WithEndpointType(EndpointType&& value) { SetEndpointType(std::move(value)); return *this;}
152
154
175 inline const Aws::String& GetHostKey() const{ return m_hostKey; }
176 inline bool HostKeyHasBeenSet() const { return m_hostKeyHasBeenSet; }
177 inline void SetHostKey(const Aws::String& value) { m_hostKeyHasBeenSet = true; m_hostKey = value; }
178 inline void SetHostKey(Aws::String&& value) { m_hostKeyHasBeenSet = true; m_hostKey = std::move(value); }
179 inline void SetHostKey(const char* value) { m_hostKeyHasBeenSet = true; m_hostKey.assign(value); }
180 inline UpdateServerRequest& WithHostKey(const Aws::String& value) { SetHostKey(value); return *this;}
181 inline UpdateServerRequest& WithHostKey(Aws::String&& value) { SetHostKey(std::move(value)); return *this;}
182 inline UpdateServerRequest& WithHostKey(const char* value) { SetHostKey(value); return *this;}
184
186
190 inline const IdentityProviderDetails& GetIdentityProviderDetails() const{ return m_identityProviderDetails; }
191 inline bool IdentityProviderDetailsHasBeenSet() const { return m_identityProviderDetailsHasBeenSet; }
192 inline void SetIdentityProviderDetails(const IdentityProviderDetails& value) { m_identityProviderDetailsHasBeenSet = true; m_identityProviderDetails = value; }
193 inline void SetIdentityProviderDetails(IdentityProviderDetails&& value) { m_identityProviderDetailsHasBeenSet = true; m_identityProviderDetails = std::move(value); }
197
199
205 inline const Aws::String& GetLoggingRole() const{ return m_loggingRole; }
206 inline bool LoggingRoleHasBeenSet() const { return m_loggingRoleHasBeenSet; }
207 inline void SetLoggingRole(const Aws::String& value) { m_loggingRoleHasBeenSet = true; m_loggingRole = value; }
208 inline void SetLoggingRole(Aws::String&& value) { m_loggingRoleHasBeenSet = true; m_loggingRole = std::move(value); }
209 inline void SetLoggingRole(const char* value) { m_loggingRoleHasBeenSet = true; m_loggingRole.assign(value); }
210 inline UpdateServerRequest& WithLoggingRole(const Aws::String& value) { SetLoggingRole(value); return *this;}
211 inline UpdateServerRequest& WithLoggingRole(Aws::String&& value) { SetLoggingRole(std::move(value)); return *this;}
212 inline UpdateServerRequest& WithLoggingRole(const char* value) { SetLoggingRole(value); return *this;}
214
216
221 inline const Aws::String& GetPostAuthenticationLoginBanner() const{ return m_postAuthenticationLoginBanner; }
222 inline bool PostAuthenticationLoginBannerHasBeenSet() const { return m_postAuthenticationLoginBannerHasBeenSet; }
223 inline void SetPostAuthenticationLoginBanner(const Aws::String& value) { m_postAuthenticationLoginBannerHasBeenSet = true; m_postAuthenticationLoginBanner = value; }
224 inline void SetPostAuthenticationLoginBanner(Aws::String&& value) { m_postAuthenticationLoginBannerHasBeenSet = true; m_postAuthenticationLoginBanner = std::move(value); }
225 inline void SetPostAuthenticationLoginBanner(const char* value) { m_postAuthenticationLoginBannerHasBeenSet = true; m_postAuthenticationLoginBanner.assign(value); }
230
232
241 inline const Aws::String& GetPreAuthenticationLoginBanner() const{ return m_preAuthenticationLoginBanner; }
242 inline bool PreAuthenticationLoginBannerHasBeenSet() const { return m_preAuthenticationLoginBannerHasBeenSet; }
243 inline void SetPreAuthenticationLoginBanner(const Aws::String& value) { m_preAuthenticationLoginBannerHasBeenSet = true; m_preAuthenticationLoginBanner = value; }
244 inline void SetPreAuthenticationLoginBanner(Aws::String&& value) { m_preAuthenticationLoginBannerHasBeenSet = true; m_preAuthenticationLoginBanner = std::move(value); }
245 inline void SetPreAuthenticationLoginBanner(const char* value) { m_preAuthenticationLoginBannerHasBeenSet = true; m_preAuthenticationLoginBanner.assign(value); }
250
252
279 inline const Aws::Vector<Protocol>& GetProtocols() const{ return m_protocols; }
280 inline bool ProtocolsHasBeenSet() const { return m_protocolsHasBeenSet; }
281 inline void SetProtocols(const Aws::Vector<Protocol>& value) { m_protocolsHasBeenSet = true; m_protocols = value; }
282 inline void SetProtocols(Aws::Vector<Protocol>&& value) { m_protocolsHasBeenSet = true; m_protocols = std::move(value); }
283 inline UpdateServerRequest& WithProtocols(const Aws::Vector<Protocol>& value) { SetProtocols(value); return *this;}
284 inline UpdateServerRequest& WithProtocols(Aws::Vector<Protocol>&& value) { SetProtocols(std::move(value)); return *this;}
285 inline UpdateServerRequest& AddProtocols(const Protocol& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(value); return *this; }
286 inline UpdateServerRequest& AddProtocols(Protocol&& value) { m_protocolsHasBeenSet = true; m_protocols.push_back(std::move(value)); return *this; }
288
290
293 inline const Aws::String& GetSecurityPolicyName() const{ return m_securityPolicyName; }
294 inline bool SecurityPolicyNameHasBeenSet() const { return m_securityPolicyNameHasBeenSet; }
295 inline void SetSecurityPolicyName(const Aws::String& value) { m_securityPolicyNameHasBeenSet = true; m_securityPolicyName = value; }
296 inline void SetSecurityPolicyName(Aws::String&& value) { m_securityPolicyNameHasBeenSet = true; m_securityPolicyName = std::move(value); }
297 inline void SetSecurityPolicyName(const char* value) { m_securityPolicyNameHasBeenSet = true; m_securityPolicyName.assign(value); }
299 inline UpdateServerRequest& WithSecurityPolicyName(Aws::String&& value) { SetSecurityPolicyName(std::move(value)); return *this;}
300 inline UpdateServerRequest& WithSecurityPolicyName(const char* value) { SetSecurityPolicyName(value); return *this;}
302
304
308 inline const Aws::String& GetServerId() const{ return m_serverId; }
309 inline bool ServerIdHasBeenSet() const { return m_serverIdHasBeenSet; }
310 inline void SetServerId(const Aws::String& value) { m_serverIdHasBeenSet = true; m_serverId = value; }
311 inline void SetServerId(Aws::String&& value) { m_serverIdHasBeenSet = true; m_serverId = std::move(value); }
312 inline void SetServerId(const char* value) { m_serverIdHasBeenSet = true; m_serverId.assign(value); }
313 inline UpdateServerRequest& WithServerId(const Aws::String& value) { SetServerId(value); return *this;}
314 inline UpdateServerRequest& WithServerId(Aws::String&& value) { SetServerId(std::move(value)); return *this;}
315 inline UpdateServerRequest& WithServerId(const char* value) { SetServerId(value); return *this;}
317
319
330 inline const WorkflowDetails& GetWorkflowDetails() const{ return m_workflowDetails; }
331 inline bool WorkflowDetailsHasBeenSet() const { return m_workflowDetailsHasBeenSet; }
332 inline void SetWorkflowDetails(const WorkflowDetails& value) { m_workflowDetailsHasBeenSet = true; m_workflowDetails = value; }
333 inline void SetWorkflowDetails(WorkflowDetails&& value) { m_workflowDetailsHasBeenSet = true; m_workflowDetails = std::move(value); }
334 inline UpdateServerRequest& WithWorkflowDetails(const WorkflowDetails& value) { SetWorkflowDetails(value); return *this;}
335 inline UpdateServerRequest& WithWorkflowDetails(WorkflowDetails&& value) { SetWorkflowDetails(std::move(value)); return *this;}
337
339
352 inline const Aws::Vector<Aws::String>& GetStructuredLogDestinations() const{ return m_structuredLogDestinations; }
353 inline bool StructuredLogDestinationsHasBeenSet() const { return m_structuredLogDestinationsHasBeenSet; }
354 inline void SetStructuredLogDestinations(const Aws::Vector<Aws::String>& value) { m_structuredLogDestinationsHasBeenSet = true; m_structuredLogDestinations = value; }
355 inline void SetStructuredLogDestinations(Aws::Vector<Aws::String>&& value) { m_structuredLogDestinationsHasBeenSet = true; m_structuredLogDestinations = std::move(value); }
358 inline UpdateServerRequest& AddStructuredLogDestinations(const Aws::String& value) { m_structuredLogDestinationsHasBeenSet = true; m_structuredLogDestinations.push_back(value); return *this; }
359 inline UpdateServerRequest& AddStructuredLogDestinations(Aws::String&& value) { m_structuredLogDestinationsHasBeenSet = true; m_structuredLogDestinations.push_back(std::move(value)); return *this; }
360 inline UpdateServerRequest& AddStructuredLogDestinations(const char* value) { m_structuredLogDestinationsHasBeenSet = true; m_structuredLogDestinations.push_back(value); return *this; }
362
364
372 inline const S3StorageOptions& GetS3StorageOptions() const{ return m_s3StorageOptions; }
373 inline bool S3StorageOptionsHasBeenSet() const { return m_s3StorageOptionsHasBeenSet; }
374 inline void SetS3StorageOptions(const S3StorageOptions& value) { m_s3StorageOptionsHasBeenSet = true; m_s3StorageOptions = value; }
375 inline void SetS3StorageOptions(S3StorageOptions&& value) { m_s3StorageOptionsHasBeenSet = true; m_s3StorageOptions = std::move(value); }
377 inline UpdateServerRequest& WithS3StorageOptions(S3StorageOptions&& value) { SetS3StorageOptions(std::move(value)); return *this;}
379 private:
380
381 Aws::String m_certificate;
382 bool m_certificateHasBeenSet = false;
383
384 ProtocolDetails m_protocolDetails;
385 bool m_protocolDetailsHasBeenSet = false;
386
387 EndpointDetails m_endpointDetails;
388 bool m_endpointDetailsHasBeenSet = false;
389
390 EndpointType m_endpointType;
391 bool m_endpointTypeHasBeenSet = false;
392
393 Aws::String m_hostKey;
394 bool m_hostKeyHasBeenSet = false;
395
396 IdentityProviderDetails m_identityProviderDetails;
397 bool m_identityProviderDetailsHasBeenSet = false;
398
399 Aws::String m_loggingRole;
400 bool m_loggingRoleHasBeenSet = false;
401
402 Aws::String m_postAuthenticationLoginBanner;
403 bool m_postAuthenticationLoginBannerHasBeenSet = false;
404
405 Aws::String m_preAuthenticationLoginBanner;
406 bool m_preAuthenticationLoginBannerHasBeenSet = false;
407
408 Aws::Vector<Protocol> m_protocols;
409 bool m_protocolsHasBeenSet = false;
410
411 Aws::String m_securityPolicyName;
412 bool m_securityPolicyNameHasBeenSet = false;
413
414 Aws::String m_serverId;
415 bool m_serverIdHasBeenSet = false;
416
417 WorkflowDetails m_workflowDetails;
418 bool m_workflowDetailsHasBeenSet = false;
419
420 Aws::Vector<Aws::String> m_structuredLogDestinations;
421 bool m_structuredLogDestinationsHasBeenSet = false;
422
423 S3StorageOptions m_s3StorageOptions;
424 bool m_s3StorageOptionsHasBeenSet = false;
425 };
426
427} // namespace Model
428} // namespace Transfer
429} // namespace Aws
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Vector< Protocol > & GetProtocols() const
void SetIdentityProviderDetails(const IdentityProviderDetails &value)
void SetPostAuthenticationLoginBanner(const Aws::String &value)
UpdateServerRequest & WithProtocols(Aws::Vector< Protocol > &&value)
void SetHostKey(const Aws::String &value)
void SetProtocols(const Aws::Vector< Protocol > &value)
UpdateServerRequest & WithLoggingRole(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStructuredLogDestinations() const
void SetEndpointDetails(const EndpointDetails &value)
UpdateServerRequest & WithEndpointDetails(const EndpointDetails &value)
void SetWorkflowDetails(WorkflowDetails &&value)
UpdateServerRequest & WithProtocolDetails(const ProtocolDetails &value)
const Aws::String & GetPreAuthenticationLoginBanner() const
UpdateServerRequest & WithWorkflowDetails(WorkflowDetails &&value)
UpdateServerRequest & WithWorkflowDetails(const WorkflowDetails &value)
UpdateServerRequest & WithEndpointType(EndpointType &&value)
UpdateServerRequest & WithPostAuthenticationLoginBanner(const char *value)
UpdateServerRequest & WithLoggingRole(Aws::String &&value)
UpdateServerRequest & WithEndpointDetails(EndpointDetails &&value)
UpdateServerRequest & WithCertificate(Aws::String &&value)
UpdateServerRequest & WithProtocols(const Aws::Vector< Protocol > &value)
const ProtocolDetails & GetProtocolDetails() const
UpdateServerRequest & WithServerId(const Aws::String &value)
const Aws::String & GetPostAuthenticationLoginBanner() const
UpdateServerRequest & WithLoggingRole(const char *value)
UpdateServerRequest & AddStructuredLogDestinations(const Aws::String &value)
const WorkflowDetails & GetWorkflowDetails() const
void SetIdentityProviderDetails(IdentityProviderDetails &&value)
void SetLoggingRole(const Aws::String &value)
void SetPostAuthenticationLoginBanner(Aws::String &&value)
void SetSecurityPolicyName(const Aws::String &value)
UpdateServerRequest & WithSecurityPolicyName(Aws::String &&value)
void SetPostAuthenticationLoginBanner(const char *value)
UpdateServerRequest & WithIdentityProviderDetails(IdentityProviderDetails &&value)
UpdateServerRequest & WithHostKey(Aws::String &&value)
void SetStructuredLogDestinations(Aws::Vector< Aws::String > &&value)
UpdateServerRequest & WithIdentityProviderDetails(const IdentityProviderDetails &value)
UpdateServerRequest & WithSecurityPolicyName(const char *value)
UpdateServerRequest & WithPreAuthenticationLoginBanner(const char *value)
const Aws::String & GetSecurityPolicyName() const
void SetProtocols(Aws::Vector< Protocol > &&value)
void SetS3StorageOptions(const S3StorageOptions &value)
void SetWorkflowDetails(const WorkflowDetails &value)
UpdateServerRequest & WithS3StorageOptions(S3StorageOptions &&value)
UpdateServerRequest & AddStructuredLogDestinations(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateServerRequest & WithProtocolDetails(ProtocolDetails &&value)
UpdateServerRequest & WithHostKey(const Aws::String &value)
const S3StorageOptions & GetS3StorageOptions() const
UpdateServerRequest & WithS3StorageOptions(const S3StorageOptions &value)
UpdateServerRequest & AddProtocols(const Protocol &value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
UpdateServerRequest & AddProtocols(Protocol &&value)
UpdateServerRequest & WithCertificate(const char *value)
void SetPreAuthenticationLoginBanner(Aws::String &&value)
UpdateServerRequest & WithServerId(const char *value)
void SetCertificate(const Aws::String &value)
UpdateServerRequest & WithPostAuthenticationLoginBanner(Aws::String &&value)
UpdateServerRequest & AddStructuredLogDestinations(Aws::String &&value)
void SetPreAuthenticationLoginBanner(const char *value)
void SetPreAuthenticationLoginBanner(const Aws::String &value)
void SetEndpointDetails(EndpointDetails &&value)
void SetStructuredLogDestinations(const Aws::Vector< Aws::String > &value)
void SetS3StorageOptions(S3StorageOptions &&value)
UpdateServerRequest & WithPreAuthenticationLoginBanner(const Aws::String &value)
UpdateServerRequest & WithEndpointType(const EndpointType &value)
void SetProtocolDetails(ProtocolDetails &&value)
UpdateServerRequest & WithHostKey(const char *value)
UpdateServerRequest & WithCertificate(const Aws::String &value)
UpdateServerRequest & WithPostAuthenticationLoginBanner(const Aws::String &value)
UpdateServerRequest & WithPreAuthenticationLoginBanner(Aws::String &&value)
void SetServerId(const Aws::String &value)
void SetEndpointType(const EndpointType &value)
UpdateServerRequest & WithServerId(Aws::String &&value)
UpdateServerRequest & WithStructuredLogDestinations(Aws::Vector< Aws::String > &&value)
const IdentityProviderDetails & GetIdentityProviderDetails() const
void SetProtocolDetails(const ProtocolDetails &value)
UpdateServerRequest & WithStructuredLogDestinations(const Aws::Vector< Aws::String > &value)
const EndpointDetails & GetEndpointDetails() const
UpdateServerRequest & WithSecurityPolicyName(const Aws::String &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