7#include <aws/awstransfer/Transfer_EXPORTS.h>
8#include <aws/awstransfer/TransferRequest.h>
9#include <aws/awstransfer/model/CertificateUsageType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/awstransfer/model/Tag.h>
69 inline void SetCertificate(
const char* value) { m_certificateHasBeenSet =
true; m_certificate.assign(value); }
84 inline void SetCertificateChain(
const char* value) { m_certificateChainHasBeenSet =
true; m_certificateChain.assign(value); }
102 inline void SetPrivateKey(
const char* value) { m_privateKeyHasBeenSet =
true; m_privateKey.assign(value); }
140 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
162 bool m_usageHasBeenSet =
false;
165 bool m_certificateHasBeenSet =
false;
168 bool m_certificateChainHasBeenSet =
false;
171 bool m_privateKeyHasBeenSet =
false;
174 bool m_activeDateHasBeenSet =
false;
177 bool m_inactiveDateHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
183 bool m_tagsHasBeenSet =
false;
void SetDescription(Aws::String &&value)
const Aws::String & GetCertificateChain() const
void SetDescription(const Aws::String &value)
bool CertificateHasBeenSet() const
ImportCertificateRequest & WithCertificate(const Aws::String &value)
bool ActiveDateHasBeenSet() const
ImportCertificateRequest & WithUsage(CertificateUsageType &&value)
void SetTags(const Aws::Vector< Tag > &value)
bool DescriptionHasBeenSet() const
ImportCertificateRequest & WithPrivateKey(Aws::String &&value)
void SetPrivateKey(Aws::String &&value)
void SetCertificateChain(const char *value)
ImportCertificateRequest & WithDescription(const char *value)
ImportCertificateRequest & WithCertificate(Aws::String &&value)
void SetCertificate(const Aws::String &value)
void SetInactiveDate(Aws::Utils::DateTime &&value)
void SetUsage(const CertificateUsageType &value)
void SetPrivateKey(const char *value)
ImportCertificateRequest & WithActiveDate(Aws::Utils::DateTime &&value)
void SetInactiveDate(const Aws::Utils::DateTime &value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
bool CertificateChainHasBeenSet() const
const Aws::Utils::DateTime & GetActiveDate() const
virtual const char * GetServiceRequestName() const override
bool InactiveDateHasBeenSet() const
void SetDescription(const char *value)
ImportCertificateRequest & WithCertificateChain(const char *value)
ImportCertificateRequest & WithCertificateChain(Aws::String &&value)
ImportCertificateRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PrivateKeyHasBeenSet() const
ImportCertificateRequest & WithTags(Aws::Vector< Tag > &&value)
bool UsageHasBeenSet() const
void SetActiveDate(const Aws::Utils::DateTime &value)
ImportCertificateRequest & WithActiveDate(const Aws::Utils::DateTime &value)
ImportCertificateRequest & WithPrivateKey(const char *value)
ImportCertificateRequest & WithCertificate(const char *value)
void SetCertificate(Aws::String &&value)
void SetActiveDate(Aws::Utils::DateTime &&value)
ImportCertificateRequest & WithDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetInactiveDate() const
ImportCertificateRequest & WithDescription(const Aws::String &value)
bool TagsHasBeenSet() const
void SetCertificateChain(const Aws::String &value)
const Aws::String & GetDescription() const
const Aws::Vector< Tag > & GetTags() const
ImportCertificateRequest & AddTags(Tag &&value)
void SetCertificate(const char *value)
AWS_TRANSFER_API ImportCertificateRequest()
void SetCertificateChain(Aws::String &&value)
void SetUsage(CertificateUsageType &&value)
ImportCertificateRequest & WithUsage(const CertificateUsageType &value)
const CertificateUsageType & GetUsage() const
const Aws::String & GetCertificate() const
const Aws::String & GetPrivateKey() const
ImportCertificateRequest & WithCertificateChain(const Aws::String &value)
ImportCertificateRequest & WithInactiveDate(const Aws::Utils::DateTime &value)
void SetTags(Aws::Vector< Tag > &&value)
ImportCertificateRequest & WithPrivateKey(const Aws::String &value)
ImportCertificateRequest & AddTags(const Tag &value)
void SetPrivateKey(const Aws::String &value)
ImportCertificateRequest & WithInactiveDate(Aws::Utils::DateTime &&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