AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GenerateDataKeyWithoutPlaintextResult.h
1
6#pragma once
7#include <aws/kms/KMS_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace KMS
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const Aws::Utils::ByteBuffer& GetCiphertextBlob() const { return m_ciphertextBlob; }
42 template<typename CiphertextBlobT = Aws::Utils::ByteBuffer>
43 void SetCiphertextBlob(CiphertextBlobT&& value) { m_ciphertextBlobHasBeenSet = true; m_ciphertextBlob = std::forward<CiphertextBlobT>(value); }
44 template<typename CiphertextBlobT = Aws::Utils::ByteBuffer>
45 GenerateDataKeyWithoutPlaintextResult& WithCiphertextBlob(CiphertextBlobT&& value) { SetCiphertextBlob(std::forward<CiphertextBlobT>(value)); return *this;}
47
49
54 inline const Aws::String& GetKeyId() const { return m_keyId; }
55 template<typename KeyIdT = Aws::String>
56 void SetKeyId(KeyIdT&& value) { m_keyIdHasBeenSet = true; m_keyId = std::forward<KeyIdT>(value); }
57 template<typename KeyIdT = Aws::String>
58 GenerateDataKeyWithoutPlaintextResult& WithKeyId(KeyIdT&& value) { SetKeyId(std::forward<KeyIdT>(value)); return *this;}
60
62
65 inline const Aws::String& GetKeyMaterialId() const { return m_keyMaterialId; }
66 template<typename KeyMaterialIdT = Aws::String>
67 void SetKeyMaterialId(KeyMaterialIdT&& value) { m_keyMaterialIdHasBeenSet = true; m_keyMaterialId = std::forward<KeyMaterialIdT>(value); }
68 template<typename KeyMaterialIdT = Aws::String>
69 GenerateDataKeyWithoutPlaintextResult& WithKeyMaterialId(KeyMaterialIdT&& value) { SetKeyMaterialId(std::forward<KeyMaterialIdT>(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 GenerateDataKeyWithoutPlaintextResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
82 Aws::Utils::ByteBuffer m_ciphertextBlob{};
83 bool m_ciphertextBlobHasBeenSet = false;
84
85 Aws::String m_keyId;
86 bool m_keyIdHasBeenSet = false;
87
88 Aws::String m_keyMaterialId;
89 bool m_keyMaterialIdHasBeenSet = false;
90
91 Aws::String m_requestId;
92 bool m_requestIdHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace KMS
97} // namespace Aws
GenerateDataKeyWithoutPlaintextResult & WithKeyMaterialId(KeyMaterialIdT &&value)
GenerateDataKeyWithoutPlaintextResult & WithCiphertextBlob(CiphertextBlobT &&value)
AWS_KMS_API GenerateDataKeyWithoutPlaintextResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_KMS_API GenerateDataKeyWithoutPlaintextResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GenerateDataKeyWithoutPlaintextResult & WithKeyId(KeyIdT &&value)
GenerateDataKeyWithoutPlaintextResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue