7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/awstransfer/model/CertificateUsageType.h>
10#include <aws/awstransfer/model/Tag.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
48 m_usageHasBeenSet =
true;
71 template <
typename CertificateT = Aws::String>
73 m_certificateHasBeenSet =
true;
74 m_certificate = std::forward<CertificateT>(value);
76 template <
typename CertificateT = Aws::String>
90 template <
typename CertificateChainT = Aws::String>
92 m_certificateChainHasBeenSet =
true;
93 m_certificateChain = std::forward<CertificateChainT>(value);
95 template <
typename CertificateChainT = Aws::String>
112 template <
typename PrivateKeyT = Aws::String>
114 m_privateKeyHasBeenSet =
true;
115 m_privateKey = std::forward<PrivateKeyT>(value);
117 template <
typename PrivateKeyT = Aws::String>
132 template <
typename ActiveDateT = Aws::Utils::DateTime>
134 m_activeDateHasBeenSet =
true;
135 m_activeDate = std::forward<ActiveDateT>(value);
137 template <
typename ActiveDateT = Aws::Utils::DateTime>
152 template <
typename InactiveDateT = Aws::Utils::DateTime>
154 m_inactiveDateHasBeenSet =
true;
155 m_inactiveDate = std::forward<InactiveDateT>(value);
157 template <
typename InactiveDateT = Aws::Utils::DateTime>
170 template <
typename DescriptionT = Aws::String>
172 m_descriptionHasBeenSet =
true;
173 m_description = std::forward<DescriptionT>(value);
175 template <
typename DescriptionT = Aws::String>
188 template <
typename TagsT = Aws::Vector<Tag>>
190 m_tagsHasBeenSet =
true;
191 m_tags = std::forward<TagsT>(value);
193 template <
typename TagsT = Aws::Vector<Tag>>
195 SetTags(std::forward<TagsT>(value));
198 template <
typename TagsT = Tag>
200 m_tagsHasBeenSet =
true;
201 m_tags.emplace_back(std::forward<TagsT>(value));
207 bool m_usageHasBeenSet =
false;
210 bool m_certificateHasBeenSet =
false;
213 bool m_certificateChainHasBeenSet =
false;
216 bool m_privateKeyHasBeenSet =
false;
219 bool m_activeDateHasBeenSet =
false;
222 bool m_inactiveDateHasBeenSet =
false;
225 bool m_descriptionHasBeenSet =
false;
228 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