AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
RemoveKeyReplicationRegionsResult.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 RemoveKeyReplicationRegionsResult() = default;
35 AWS_PAYMENTCRYPTOGRAPHY_API RemoveKeyReplicationRegionsResult& operator=(
37
39
44 inline const Key& GetKey() const { return m_key; }
45 template <typename KeyT = Key>
46 void SetKey(KeyT&& value) {
47 m_keyHasBeenSet = true;
48 m_key = std::forward<KeyT>(value);
49 }
50 template <typename KeyT = Key>
52 SetKey(std::forward<KeyT>(value));
53 return *this;
54 }
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template <typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) {
62 m_requestIdHasBeenSet = true;
63 m_requestId = std::forward<RequestIdT>(value);
64 }
65 template <typename RequestIdT = Aws::String>
67 SetRequestId(std::forward<RequestIdT>(value));
68 return *this;
69 }
71 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
72
73 private:
74 Key m_key;
75
76 Aws::String m_requestId;
77 Aws::Http::HttpResponseCode m_HttpResponseCode;
78 bool m_keyHasBeenSet = false;
79 bool m_requestIdHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace PaymentCryptography
84} // namespace Aws
RemoveKeyReplicationRegionsResult & WithRequestId(RequestIdT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API RemoveKeyReplicationRegionsResult()=default
AWS_PAYMENTCRYPTOGRAPHY_API RemoveKeyReplicationRegionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_PAYMENTCRYPTOGRAPHY_API RemoveKeyReplicationRegionsResult & operator=(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