AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
RemoveKeyReplicationRegionsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/payment-cryptography/PaymentCryptographyRequest.h>
10#include <aws/payment-cryptography/PaymentCryptography_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace PaymentCryptography {
16namespace Model {
17
25 public:
26 AWS_PAYMENTCRYPTOGRAPHY_API RemoveKeyReplicationRegionsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "RemoveKeyReplicationRegions"; }
33
34 AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override;
35
36 AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
39
44 inline const Aws::String& GetKeyIdentifier() const { return m_keyIdentifier; }
45 inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; }
46 template <typename KeyIdentifierT = Aws::String>
47 void SetKeyIdentifier(KeyIdentifierT&& value) {
48 m_keyIdentifierHasBeenSet = true;
49 m_keyIdentifier = std::forward<KeyIdentifierT>(value);
50 }
51 template <typename KeyIdentifierT = Aws::String>
53 SetKeyIdentifier(std::forward<KeyIdentifierT>(value));
54 return *this;
55 }
57
59
65 inline const Aws::Vector<Aws::String>& GetReplicationRegions() const { return m_replicationRegions; }
66 inline bool ReplicationRegionsHasBeenSet() const { return m_replicationRegionsHasBeenSet; }
67 template <typename ReplicationRegionsT = Aws::Vector<Aws::String>>
68 void SetReplicationRegions(ReplicationRegionsT&& value) {
69 m_replicationRegionsHasBeenSet = true;
70 m_replicationRegions = std::forward<ReplicationRegionsT>(value);
71 }
72 template <typename ReplicationRegionsT = Aws::Vector<Aws::String>>
74 SetReplicationRegions(std::forward<ReplicationRegionsT>(value));
75 return *this;
76 }
77 template <typename ReplicationRegionsT = Aws::String>
79 m_replicationRegionsHasBeenSet = true;
80 m_replicationRegions.emplace_back(std::forward<ReplicationRegionsT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_keyIdentifier;
86
87 Aws::Vector<Aws::String> m_replicationRegions;
88 bool m_keyIdentifierHasBeenSet = false;
89 bool m_replicationRegionsHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace PaymentCryptography
94} // namespace Aws
AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
RemoveKeyReplicationRegionsRequest & WithReplicationRegions(ReplicationRegionsT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API RemoveKeyReplicationRegionsRequest()=default
RemoveKeyReplicationRegionsRequest & WithKeyIdentifier(KeyIdentifierT &&value)
AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override
RemoveKeyReplicationRegionsRequest & AddReplicationRegions(ReplicationRegionsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector