AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
PartnerEventsSourceConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/eventbridgev2/EventBridgeV2_EXPORTS.h>
10#include <aws/eventbridgev2/model/OnFailureConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace EventBridgeV2 {
21namespace Model {
22
30 public:
31 AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration() = default;
32 AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
38 inline const Aws::String& GetPartnerEventSourceArn() const { return m_partnerEventSourceArn; }
39 inline bool PartnerEventSourceArnHasBeenSet() const { return m_partnerEventSourceArnHasBeenSet; }
40 template <typename PartnerEventSourceArnT = Aws::String>
41 void SetPartnerEventSourceArn(PartnerEventSourceArnT&& value) {
42 m_partnerEventSourceArnHasBeenSet = true;
43 m_partnerEventSourceArn = std::forward<PartnerEventSourceArnT>(value);
44 }
45 template <typename PartnerEventSourceArnT = Aws::String>
47 SetPartnerEventSourceArn(std::forward<PartnerEventSourceArnT>(value));
48 return *this;
49 }
51
53
58 inline const Aws::String& GetPattern() const { return m_pattern; }
59 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
60 template <typename PatternT = Aws::String>
61 void SetPattern(PatternT&& value) {
62 m_patternHasBeenSet = true;
63 m_pattern = std::forward<PatternT>(value);
64 }
65 template <typename PatternT = Aws::String>
67 SetPattern(std::forward<PatternT>(value));
68 return *this;
69 }
71
73
74 inline const Aws::String& GetPartnerBusKmsKeyIdentifier() const { return m_partnerBusKmsKeyIdentifier; }
75 inline bool PartnerBusKmsKeyIdentifierHasBeenSet() const { return m_partnerBusKmsKeyIdentifierHasBeenSet; }
76 template <typename PartnerBusKmsKeyIdentifierT = Aws::String>
77 void SetPartnerBusKmsKeyIdentifier(PartnerBusKmsKeyIdentifierT&& value) {
78 m_partnerBusKmsKeyIdentifierHasBeenSet = true;
79 m_partnerBusKmsKeyIdentifier = std::forward<PartnerBusKmsKeyIdentifierT>(value);
80 }
81 template <typename PartnerBusKmsKeyIdentifierT = Aws::String>
83 SetPartnerBusKmsKeyIdentifier(std::forward<PartnerBusKmsKeyIdentifierT>(value));
84 return *this;
85 }
87
89
93 inline const OnFailureConfiguration& GetOnFailureConfiguration() const { return m_onFailureConfiguration; }
94 inline bool OnFailureConfigurationHasBeenSet() const { return m_onFailureConfigurationHasBeenSet; }
95 template <typename OnFailureConfigurationT = OnFailureConfiguration>
96 void SetOnFailureConfiguration(OnFailureConfigurationT&& value) {
97 m_onFailureConfigurationHasBeenSet = true;
98 m_onFailureConfiguration = std::forward<OnFailureConfigurationT>(value);
99 }
100 template <typename OnFailureConfigurationT = OnFailureConfiguration>
102 SetOnFailureConfiguration(std::forward<OnFailureConfigurationT>(value));
103 return *this;
104 }
106 private:
107 Aws::String m_partnerEventSourceArn;
108
109 Aws::String m_pattern;
110
111 Aws::String m_partnerBusKmsKeyIdentifier;
112
113 OnFailureConfiguration m_onFailureConfiguration;
114 bool m_partnerEventSourceArnHasBeenSet = false;
115 bool m_patternHasBeenSet = false;
116 bool m_partnerBusKmsKeyIdentifierHasBeenSet = false;
117 bool m_onFailureConfigurationHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace EventBridgeV2
122} // namespace Aws
AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration()=default
AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
PartnerEventsSourceConfiguration & WithOnFailureConfiguration(OnFailureConfigurationT &&value)
PartnerEventsSourceConfiguration & WithPattern(PatternT &&value)
PartnerEventsSourceConfiguration & WithPartnerEventSourceArn(PartnerEventSourceArnT &&value)
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API PartnerEventsSourceConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
PartnerEventsSourceConfiguration & WithPartnerBusKmsKeyIdentifier(PartnerBusKmsKeyIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String