AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
45 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
46 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
47 inline UpdateCertificateRequest& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
48 inline UpdateCertificateRequest& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
49 inline UpdateCertificateRequest& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetActiveDate() const{ return m_activeDate; }
57 inline bool ActiveDateHasBeenSet() const { return m_activeDateHasBeenSet; }
58 inline void SetActiveDate(const Aws::Utils::DateTime& value) { m_activeDateHasBeenSet = true; m_activeDate = value; }
59 inline void SetActiveDate(Aws::Utils::DateTime&& value) { m_activeDateHasBeenSet = true; m_activeDate = std::move(value); }
60 inline UpdateCertificateRequest& WithActiveDate(const Aws::Utils::DateTime& value) { SetActiveDate(value); return *this;}
61 inline UpdateCertificateRequest& WithActiveDate(Aws::Utils::DateTime&& value) { SetActiveDate(std::move(value)); return *this;}
63
65
68 inline const Aws::Utils::DateTime& GetInactiveDate() const{ return m_inactiveDate; }
69 inline bool InactiveDateHasBeenSet() const { return m_inactiveDateHasBeenSet; }
70 inline void SetInactiveDate(const Aws::Utils::DateTime& value) { m_inactiveDateHasBeenSet = true; m_inactiveDate = value; }
71 inline void SetInactiveDate(Aws::Utils::DateTime&& value) { m_inactiveDateHasBeenSet = true; m_inactiveDate = std::move(value); }
73 inline UpdateCertificateRequest& WithInactiveDate(Aws::Utils::DateTime&& value) { SetInactiveDate(std::move(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline UpdateCertificateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline UpdateCertificateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline UpdateCertificateRequest& WithDescription(const char* value) { SetDescription(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
AWS_TRANSFER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
UpdateCertificateRequest & WithDescription(const char *value)
UpdateCertificateRequest & WithActiveDate(Aws::Utils::DateTime &&value)
UpdateCertificateRequest & WithInactiveDate(const Aws::Utils::DateTime &value)
UpdateCertificateRequest & WithDescription(Aws::String &&value)
void SetActiveDate(const Aws::Utils::DateTime &value)
UpdateCertificateRequest & WithCertificateId(const char *value)
UpdateCertificateRequest & WithActiveDate(const Aws::Utils::DateTime &value)
UpdateCertificateRequest & WithCertificateId(const Aws::String &value)
UpdateCertificateRequest & WithDescription(const Aws::String &value)
UpdateCertificateRequest & WithInactiveDate(Aws::Utils::DateTime &&value)
void SetInactiveDate(const Aws::Utils::DateTime &value)
UpdateCertificateRequest & WithCertificateId(Aws::String &&value)
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