AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
DecryptDataResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace PaymentCryptographyData {
22namespace Model {
24 public:
25 AWS_PAYMENTCRYPTOGRAPHYDATA_API DecryptDataResult() = default;
28
30
34 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
35 template <typename KeyArnT = Aws::String>
36 void SetKeyArn(KeyArnT&& value) {
37 m_keyArnHasBeenSet = true;
38 m_keyArn = std::forward<KeyArnT>(value);
39 }
40 template <typename KeyArnT = Aws::String>
41 DecryptDataResult& WithKeyArn(KeyArnT&& value) {
42 SetKeyArn(std::forward<KeyArnT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetKeyCheckValue() const { return m_keyCheckValue; }
55 template <typename KeyCheckValueT = Aws::String>
56 void SetKeyCheckValue(KeyCheckValueT&& value) {
57 m_keyCheckValueHasBeenSet = true;
58 m_keyCheckValue = std::forward<KeyCheckValueT>(value);
59 }
60 template <typename KeyCheckValueT = Aws::String>
61 DecryptDataResult& WithKeyCheckValue(KeyCheckValueT&& value) {
62 SetKeyCheckValue(std::forward<KeyCheckValueT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetPlainText() const { return m_plainText; }
72 template <typename PlainTextT = Aws::String>
73 void SetPlainText(PlainTextT&& value) {
74 m_plainTextHasBeenSet = true;
75 m_plainText = std::forward<PlainTextT>(value);
76 }
77 template <typename PlainTextT = Aws::String>
78 DecryptDataResult& WithPlainText(PlainTextT&& value) {
79 SetPlainText(std::forward<PlainTextT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
93 DecryptDataResult& WithRequestId(RequestIdT&& value) {
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 private:
99 Aws::String m_keyArn;
100
101 Aws::String m_keyCheckValue;
102
103 Aws::String m_plainText;
104
105 Aws::String m_requestId;
106 bool m_keyArnHasBeenSet = false;
107 bool m_keyCheckValueHasBeenSet = false;
108 bool m_plainTextHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace PaymentCryptographyData
114} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHYDATA_API DecryptDataResult()=default
DecryptDataResult & WithKeyCheckValue(KeyCheckValueT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DecryptDataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DecryptDataResult & WithPlainText(PlainTextT &&value)
AWS_PAYMENTCRYPTOGRAPHYDATA_API DecryptDataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DecryptDataResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue