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 template<
typename CertificateT = Aws::String>
70 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet =
true; m_certificate = std::forward<CertificateT>(value); }
71 template<
typename CertificateT = Aws::String>
82 template<
typename CertificateChainT = Aws::String>
83 void SetCertificateChain(CertificateChainT&& value) { m_certificateChainHasBeenSet =
true; m_certificateChain = std::forward<CertificateChainT>(value); }
84 template<
typename CertificateChainT = Aws::String>
98 template<
typename PrivateKeyT = Aws::String>
99 void SetPrivateKey(PrivateKeyT&& value) { m_privateKeyHasBeenSet =
true; m_privateKey = std::forward<PrivateKeyT>(value); }
100 template<
typename PrivateKeyT = Aws::String>
112 template<
typename ActiveDateT = Aws::Utils::DateTime>
113 void SetActiveDate(ActiveDateT&& value) { m_activeDateHasBeenSet =
true; m_activeDate = std::forward<ActiveDateT>(value); }
114 template<
typename ActiveDateT = Aws::Utils::DateTime>
126 template<
typename InactiveDateT = Aws::Utils::DateTime>
127 void SetInactiveDate(InactiveDateT&& value) { m_inactiveDateHasBeenSet =
true; m_inactiveDate = std::forward<InactiveDateT>(value); }
128 template<
typename InactiveDateT = Aws::Utils::DateTime>
138 template<
typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
140 template<
typename DescriptionT = Aws::String>
150 template<
typename TagsT = Aws::Vector<Tag>>
151 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
152 template<
typename TagsT = Aws::Vector<Tag>>
154 template<
typename TagsT = Tag>
160 bool m_usageHasBeenSet =
false;
163 bool m_certificateHasBeenSet =
false;
166 bool m_certificateChainHasBeenSet =
false;
169 bool m_privateKeyHasBeenSet =
false;
172 bool m_activeDateHasBeenSet =
false;
175 bool m_inactiveDateHasBeenSet =
false;
178 bool m_descriptionHasBeenSet =
false;
181 bool m_tagsHasBeenSet =
false;
const Aws::String & GetCertificateChain() const
bool CertificateHasBeenSet() const
bool ActiveDateHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetActiveDate(ActiveDateT &&value)
AWS_TRANSFER_API Aws::String SerializePayload() const override
ImportCertificateRequest & WithCertificateChain(CertificateChainT &&value)
bool CertificateChainHasBeenSet() const
const Aws::Utils::DateTime & GetActiveDate() const
void SetUsage(CertificateUsageType value)
virtual const char * GetServiceRequestName() const override
bool InactiveDateHasBeenSet() const
void SetCertificateChain(CertificateChainT &&value)
ImportCertificateRequest & AddTags(TagsT &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool PrivateKeyHasBeenSet() const
bool UsageHasBeenSet() const
void SetPrivateKey(PrivateKeyT &&value)
void SetDescription(DescriptionT &&value)
CertificateUsageType GetUsage() const
ImportCertificateRequest & WithActiveDate(ActiveDateT &&value)
const Aws::Utils::DateTime & GetInactiveDate() const
bool TagsHasBeenSet() const
AWS_TRANSFER_API ImportCertificateRequest()=default
void SetTags(TagsT &&value)
ImportCertificateRequest & WithInactiveDate(InactiveDateT &&value)
const Aws::String & GetDescription() const
const Aws::Vector< Tag > & GetTags() const
void SetCertificate(CertificateT &&value)
ImportCertificateRequest & WithCertificate(CertificateT &&value)
ImportCertificateRequest & WithPrivateKey(PrivateKeyT &&value)
ImportCertificateRequest & WithDescription(DescriptionT &&value)
void SetInactiveDate(InactiveDateT &&value)
const Aws::String & GetCertificate() const
const Aws::String & GetPrivateKey() const
ImportCertificateRequest & WithUsage(CertificateUsageType value)
ImportCertificateRequest & WithTags(TagsT &&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