AWS SDK for C++

AWS SDK for C++ Version 1.11.901

Loading...
Searching...
No Matches
OnFailureConfiguration.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace EventBridgeV2 {
20namespace Model {
21
29 public:
30 AWS_EVENTBRIDGEV2_API OnFailureConfiguration() = default;
31 AWS_EVENTBRIDGEV2_API OnFailureConfiguration(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_EVENTBRIDGEV2_API OnFailureConfiguration& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
34
36
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53 private:
54 Aws::String m_arn;
55 bool m_arnHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace EventBridgeV2
60} // namespace Aws
AWS_EVENTBRIDGEV2_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_EVENTBRIDGEV2_API OnFailureConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
OnFailureConfiguration & WithArn(ArnT &&value)
AWS_EVENTBRIDGEV2_API OnFailureConfiguration()=default
AWS_EVENTBRIDGEV2_API OnFailureConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String