AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
AddKeyReplicationRegionsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
10#include <aws/payment-cryptography/model/Key.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace PaymentCryptography {
24namespace Model {
32 public:
33 AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult() = default;
35 AWS_PAYMENTCRYPTOGRAPHY_API AddKeyReplicationRegionsResult& operator=(
37
39
43 inline const Key& GetKey() const { return m_key; }
44 template <typename KeyT = Key>
45 void SetKey(KeyT&& value) {
46 m_keyHasBeenSet = true;
47 m_key = std::forward<KeyT>(value);
48 }
49 template <typename KeyT = Key>
51 SetKey(std::forward<KeyT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetRequestId() const { return m_requestId; }
59 template <typename RequestIdT = Aws::String>
60 void SetRequestId(RequestIdT&& value) {
61 m_requestIdHasBeenSet = true;
62 m_requestId = std::forward<RequestIdT>(value);
63 }
64 template <typename RequestIdT = Aws::String>
66 SetRequestId(std::forward<RequestIdT>(value));
67 return *this;
68 }
70 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
71
72 private:
73 Key m_key;
74
75 Aws::String m_requestId;
76 Aws::Http::HttpResponseCode m_HttpResponseCode;
77 bool m_keyHasBeenSet = false;
78 bool m_requestIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace PaymentCryptography
83} // 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