AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCertificateIdentifier(const Aws::String& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = value; }
49 inline void SetCertificateIdentifier(Aws::String&& value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier = std::move(value); }
50 inline void SetCertificateIdentifier(const char* value) { m_certificateIdentifierHasBeenSet = true; m_certificateIdentifier.assign(value); }
53 inline ImportCertificateRequest& WithCertificateIdentifier(const char* value) { SetCertificateIdentifier(value); return *this;}
55
57
61 inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
62 inline bool CertificatePemHasBeenSet() const { return m_certificatePemHasBeenSet; }
63 inline void SetCertificatePem(const Aws::String& value) { m_certificatePemHasBeenSet = true; m_certificatePem = value; }
64 inline void SetCertificatePem(Aws::String&& value) { m_certificatePemHasBeenSet = true; m_certificatePem = std::move(value); }
65 inline void SetCertificatePem(const char* value) { m_certificatePemHasBeenSet = true; m_certificatePem.assign(value); }
66 inline ImportCertificateRequest& WithCertificatePem(const Aws::String& value) { SetCertificatePem(value); return *this;}
67 inline ImportCertificateRequest& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
68 inline ImportCertificateRequest& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
70
72
78 inline const Aws::Utils::ByteBuffer& GetCertificateWallet() const{ return m_certificateWallet; }
79 inline bool CertificateWalletHasBeenSet() const { return m_certificateWalletHasBeenSet; }
80 inline void SetCertificateWallet(const Aws::Utils::ByteBuffer& value) { m_certificateWalletHasBeenSet = true; m_certificateWallet = value; }
81 inline void SetCertificateWallet(Aws::Utils::ByteBuffer&& value) { m_certificateWalletHasBeenSet = true; m_certificateWallet = std::move(value); }
85
87
90 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
91 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
92 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
93 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
94 inline ImportCertificateRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
95 inline ImportCertificateRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
96 inline ImportCertificateRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
97 inline ImportCertificateRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_certificateIdentifier;
102 bool m_certificateIdentifierHasBeenSet = false;
103
104 Aws::String m_certificatePem;
105 bool m_certificatePemHasBeenSet = false;
106
107 Aws::Utils::ByteBuffer m_certificateWallet;
108 bool m_certificateWalletHasBeenSet = false;
109
110 Aws::Vector<Tag> m_tags;
111 bool m_tagsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace DatabaseMigrationService
116} // namespace Aws
ImportCertificateRequest & WithCertificateIdentifier(const char *value)
ImportCertificateRequest & WithCertificateIdentifier(const Aws::String &value)
ImportCertificateRequest & WithCertificatePem(const Aws::String &value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ImportCertificateRequest & WithTags(const Aws::Vector< Tag > &value)
ImportCertificateRequest & WithCertificateWallet(const Aws::Utils::ByteBuffer &value)
ImportCertificateRequest & WithCertificateWallet(Aws::Utils::ByteBuffer &&value)
ImportCertificateRequest & WithCertificatePem(Aws::String &&value)
ImportCertificateRequest & WithTags(Aws::Vector< Tag > &&value)
ImportCertificateRequest & WithCertificatePem(const char *value)
ImportCertificateRequest & WithCertificateIdentifier(Aws::String &&value)
AWS_DATABASEMIGRATIONSERVICE_API Aws::String SerializePayload() const override
AWS_DATABASEMIGRATIONSERVICE_API ImportCertificateRequest()
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