AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImportCertificateRequest.h
1
6#pragma once
7#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
8#include <aws/dms/DatabaseMigrationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/dms/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DatabaseMigrationService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATABASEMIGRATIONSERVICE_API ImportCertificateRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ImportCertificate"; }
34
35 AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override;
36
37 AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38
39
41
46 inline const Aws::String& GetCertificateIdentifier() const { return m_certificateIdentifier; }
47 inline bool CertificateIdentifierHasBeenSet() const { return m_certificateIdentifierHasBeenSet; }
48 template<typename CertificateIdentifierT = Aws::String>
49 void SetCertificateIdentifier(CertificateIdentifierT&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::forward<CertificateIdentifierT>(value); }
50 template<typename CertificateIdentifierT = Aws::String>
51 ImportCertificateRequest& WithCertificateIdentifier(CertificateIdentifierT&& value) { SetCertificateIdentifier(std::forward<CertificateIdentifierT>(value)); return *this;}
53
55
59 inline const Aws::String& GetCertificatePem() const { return m_certificatePem; }
60 inline bool CertificatePemHasBeenSet() const { return m_certificatePemHasBeenSet; }
61 template<typename CertificatePemT = Aws::String>
62 void SetCertificatePem(CertificatePemT&& value) { m_certificatePemHasBeenSet = true; m_certificatePem = std::forward<CertificatePemT>(value); }
63 template<typename CertificatePemT = Aws::String>
64 ImportCertificateRequest& WithCertificatePem(CertificatePemT&& value) { SetCertificatePem(std::forward<CertificatePemT>(value)); return *this;}
66
68
74 inline const Aws::Utils::ByteBuffer& GetCertificateWallet() const { return m_certificateWallet; }
75 inline bool CertificateWalletHasBeenSet() const { return m_certificateWalletHasBeenSet; }
76 template<typename CertificateWalletT = Aws::Utils::ByteBuffer>
77 void SetCertificateWallet(CertificateWalletT&& value) { m_certificateWalletHasBeenSet = true; m_certificateWallet = std::forward<CertificateWalletT>(value); }
78 template<typename CertificateWalletT = Aws::Utils::ByteBuffer>
79 ImportCertificateRequest& WithCertificateWallet(CertificateWalletT&& value) { SetCertificateWallet(std::forward<CertificateWalletT>(value)); return *this;}
81
83
86 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
87 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
88 template<typename TagsT = Aws::Vector<Tag>>
89 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
90 template<typename TagsT = Aws::Vector<Tag>>
91 ImportCertificateRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
92 template<typename TagsT = Tag>
93 ImportCertificateRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
95 private:
96
97 Aws::String m_certificateIdentifier;
98 bool m_certificateIdentifierHasBeenSet = false;
99
100 Aws::String m_certificatePem;
101 bool m_certificatePemHasBeenSet = false;
102
103 Aws::Utils::ByteBuffer m_certificateWallet{};
104 bool m_certificateWalletHasBeenSet = false;
105
106 Aws::Vector<Tag> m_tags;
107 bool m_tagsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DatabaseMigrationService
112} // namespace Aws
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportCertificateRequest & WithCertificatePem(CertificatePemT &&value)
ImportCertificateRequest & WithCertificateWallet(CertificateWalletT &&value)
AWS_DATABASEMIGRATIONSERVICE_API ImportCertificateRequest()=default
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
ImportCertificateRequest & WithCertificateIdentifier(CertificateIdentifierT &&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