AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AddKeyReplicationRegionsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
9#include <aws/payment-cryptography/model/Key.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace PaymentCryptography {
23namespace Model {
31 public:
32 AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult() = default;
34 AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult& operator=(
36
38
42 inline const Key& GetKey() const { return m_key; }
43 template <typename KeyT = Key>
44 void SetKey(KeyT&& value) {
45 m_keyHasBeenSet = true;
46 m_key = std::forward<KeyT>(value);
47 }
48 template <typename KeyT = Key>
50 SetKey(std::forward<KeyT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template <typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) {
60 m_requestIdHasBeenSet = true;
61 m_requestId = std::forward<RequestIdT>(value);
62 }
63 template <typename RequestIdT = Aws::String>
65 SetRequestId(std::forward<RequestIdT>(value));
66 return *this;
67 }
69 private:
70 Key m_key;
71
72 Aws::String m_requestId;
73 bool m_keyHasBeenSet = false;
74 bool m_requestIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace PaymentCryptography
79} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AddKeyReplicationRegionsResult & WithRequestId(RequestIdT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult()=default
AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue