AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReplayDestination.h
1
6#pragma once
7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace EventBridge
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_EVENTBRIDGE_API ReplayDestination() = default;
37 AWS_EVENTBRIDGE_API ReplayDestination(Aws::Utils::Json::JsonView jsonValue);
39 AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetArn() const { return m_arn; }
48 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
49 template<typename ArnT = Aws::String>
50 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
51 template<typename ArnT = Aws::String>
52 ReplayDestination& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetFilterArns() const { return m_filterArns; }
60 inline bool FilterArnsHasBeenSet() const { return m_filterArnsHasBeenSet; }
61 template<typename FilterArnsT = Aws::Vector<Aws::String>>
62 void SetFilterArns(FilterArnsT&& value) { m_filterArnsHasBeenSet = true; m_filterArns = std::forward<FilterArnsT>(value); }
63 template<typename FilterArnsT = Aws::Vector<Aws::String>>
64 ReplayDestination& WithFilterArns(FilterArnsT&& value) { SetFilterArns(std::forward<FilterArnsT>(value)); return *this;}
65 template<typename FilterArnsT = Aws::String>
66 ReplayDestination& AddFilterArns(FilterArnsT&& value) { m_filterArnsHasBeenSet = true; m_filterArns.emplace_back(std::forward<FilterArnsT>(value)); return *this; }
68 private:
69
70 Aws::String m_arn;
71 bool m_arnHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_filterArns;
74 bool m_filterArnsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace EventBridge
79} // namespace Aws
ReplayDestination & AddFilterArns(FilterArnsT &&value)
ReplayDestination & WithFilterArns(FilterArnsT &&value)
const Aws::Vector< Aws::String > & GetFilterArns() const
AWS_EVENTBRIDGE_API ReplayDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API ReplayDestination()=default
ReplayDestination & WithArn(ArnT &&value)
AWS_EVENTBRIDGE_API ReplayDestination(Aws::Utils::Json::JsonView jsonValue)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue