AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateCertificateRequest.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/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Transfer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_TRANSFER_API UpdateCertificateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateCertificate"; }
32
33 AWS_TRANSFER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
43 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
44 template<typename CertificateIdT = Aws::String>
45 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::forward<CertificateIdT>(value); }
46 template<typename CertificateIdT = Aws::String>
47 UpdateCertificateRequest& WithCertificateId(CertificateIdT&& value) { SetCertificateId(std::forward<CertificateIdT>(value)); return *this;}
49
51
56 inline const Aws::Utils::DateTime& GetActiveDate() const { return m_activeDate; }
57 inline bool ActiveDateHasBeenSet() const { return m_activeDateHasBeenSet; }
58 template<typename ActiveDateT = Aws::Utils::DateTime>
59 void SetActiveDate(ActiveDateT&& value) { m_activeDateHasBeenSet = true; m_activeDate = std::forward<ActiveDateT>(value); }
60 template<typename ActiveDateT = Aws::Utils::DateTime>
61 UpdateCertificateRequest& WithActiveDate(ActiveDateT&& value) { SetActiveDate(std::forward<ActiveDateT>(value)); return *this;}
63
65
70 inline const Aws::Utils::DateTime& GetInactiveDate() const { return m_inactiveDate; }
71 inline bool InactiveDateHasBeenSet() const { return m_inactiveDateHasBeenSet; }
72 template<typename InactiveDateT = Aws::Utils::DateTime>
73 void SetInactiveDate(InactiveDateT&& value) { m_inactiveDateHasBeenSet = true; m_inactiveDate = std::forward<InactiveDateT>(value); }
74 template<typename InactiveDateT = Aws::Utils::DateTime>
75 UpdateCertificateRequest& WithInactiveDate(InactiveDateT&& value) { SetInactiveDate(std::forward<InactiveDateT>(value)); return *this;}
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template<typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
86 template<typename DescriptionT = Aws::String>
87 UpdateCertificateRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
89 private:
90
91 Aws::String m_certificateId;
92 bool m_certificateIdHasBeenSet = false;
93
94 Aws::Utils::DateTime m_activeDate{};
95 bool m_activeDateHasBeenSet = false;
96
97 Aws::Utils::DateTime m_inactiveDate{};
98 bool m_inactiveDateHasBeenSet = false;
99
100 Aws::String m_description;
101 bool m_descriptionHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace Transfer
106} // 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