AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DecryptDataResult.h
1
6#pragma once
7#include <aws/payment-cryptography-data/PaymentCryptographyData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptographyData
24{
25namespace Model
26{
28 {
29 public:
30 AWS_PAYMENTCRYPTOGRAPHYDATA_API DecryptDataResult() = default;
33
34
36
40 inline const Aws::String& GetKeyArn() const { return m_keyArn; }
41 template<typename KeyArnT = Aws::String>
42 void SetKeyArn(KeyArnT&& value) { m_keyArnHasBeenSet = true; m_keyArn = std::forward<KeyArnT>(value); }
43 template<typename KeyArnT = Aws::String>
44 DecryptDataResult& WithKeyArn(KeyArnT&& value) { SetKeyArn(std::forward<KeyArnT>(value)); return *this;}
46
48
54 inline const Aws::String& GetKeyCheckValue() const { return m_keyCheckValue; }
55 template<typename KeyCheckValueT = Aws::String>
56 void SetKeyCheckValue(KeyCheckValueT&& value) { m_keyCheckValueHasBeenSet = true; m_keyCheckValue = std::forward<KeyCheckValueT>(value); }
57 template<typename KeyCheckValueT = Aws::String>
58 DecryptDataResult& WithKeyCheckValue(KeyCheckValueT&& value) { SetKeyCheckValue(std::forward<KeyCheckValueT>(value)); return *this;}
60
62
65 inline const Aws::String& GetPlainText() const { return m_plainText; }
66 template<typename PlainTextT = Aws::String>
67 void SetPlainText(PlainTextT&& value) { m_plainTextHasBeenSet = true; m_plainText = std::forward<PlainTextT>(value); }
68 template<typename PlainTextT = Aws::String>
69 DecryptDataResult& WithPlainText(PlainTextT&& value) { SetPlainText(std::forward<PlainTextT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 DecryptDataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::String m_keyArn;
83 bool m_keyArnHasBeenSet = false;
84
85 Aws::String m_keyCheckValue;
86 bool m_keyCheckValueHasBeenSet = false;
87
88 Aws::String m_plainText;
89 bool m_plainTextHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace PaymentCryptographyData
97} // 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