AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateCertificateRequest.h
1
6#pragma once
7#include <aws/awstransfer/TransferRequest.h>
8#include <aws/awstransfer/Transfer_EXPORTS.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Transfer {
16namespace Model {
17
21 public:
22 AWS_TRANSFER_API UpdateCertificateRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateCertificate"; }
29
30 AWS_TRANSFER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
39 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
40 template <typename CertificateIdT = Aws::String>
41 void SetCertificateId(CertificateIdT&& value) {
42 m_certificateIdHasBeenSet = true;
43 m_certificateId = std::forward<CertificateIdT>(value);
44 }
45 template <typename CertificateIdT = Aws::String>
47 SetCertificateId(std::forward<CertificateIdT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::Utils::DateTime& GetActiveDate() const { return m_activeDate; }
59 inline bool ActiveDateHasBeenSet() const { return m_activeDateHasBeenSet; }
60 template <typename ActiveDateT = Aws::Utils::DateTime>
61 void SetActiveDate(ActiveDateT&& value) {
62 m_activeDateHasBeenSet = true;
63 m_activeDate = std::forward<ActiveDateT>(value);
64 }
65 template <typename ActiveDateT = Aws::Utils::DateTime>
67 SetActiveDate(std::forward<ActiveDateT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::Utils::DateTime& GetInactiveDate() const { return m_inactiveDate; }
79 inline bool InactiveDateHasBeenSet() const { return m_inactiveDateHasBeenSet; }
80 template <typename InactiveDateT = Aws::Utils::DateTime>
81 void SetInactiveDate(InactiveDateT&& value) {
82 m_inactiveDateHasBeenSet = true;
83 m_inactiveDate = std::forward<InactiveDateT>(value);
84 }
85 template <typename InactiveDateT = Aws::Utils::DateTime>
87 SetInactiveDate(std::forward<InactiveDateT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::String& GetDescription() const { return m_description; }
97 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
98 template <typename DescriptionT = Aws::String>
99 void SetDescription(DescriptionT&& value) {
100 m_descriptionHasBeenSet = true;
101 m_description = std::forward<DescriptionT>(value);
102 }
103 template <typename DescriptionT = Aws::String>
105 SetDescription(std::forward<DescriptionT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_certificateId;
111
112 Aws::Utils::DateTime m_activeDate{};
113
114 Aws::Utils::DateTime m_inactiveDate{};
115
116 Aws::String m_description;
117 bool m_certificateIdHasBeenSet = false;
118 bool m_activeDateHasBeenSet = false;
119 bool m_inactiveDateHasBeenSet = false;
120 bool m_descriptionHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace Transfer
125} // namespace Aws
UpdateCertificateRequest & WithActiveDate(ActiveDateT &&value)
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateCertificateRequest & WithInactiveDate(InactiveDateT &&value)
UpdateCertificateRequest & WithDescription(DescriptionT &&value)
UpdateCertificateRequest & WithCertificateId(CertificateIdT &&value)
AWS_TRANSFER_API UpdateCertificateRequest()=default
AWS_TRANSFER_API Aws::String SerializePayload() const override
const Aws::Utils::DateTime & GetActiveDate() const
const Aws::Utils::DateTime & GetInactiveDate() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String