AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
50 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
51 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
52 inline ReplayDestination& WithArn(const Aws::String& value) { SetArn(value); return *this;}
53 inline ReplayDestination& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
54 inline ReplayDestination& WithArn(const char* value) { SetArn(value); return *this;}
56
58
61 inline const Aws::Vector<Aws::String>& GetFilterArns() const{ return m_filterArns; }
62 inline bool FilterArnsHasBeenSet() const { return m_filterArnsHasBeenSet; }
63 inline void SetFilterArns(const Aws::Vector<Aws::String>& value) { m_filterArnsHasBeenSet = true; m_filterArns = value; }
64 inline void SetFilterArns(Aws::Vector<Aws::String>&& value) { m_filterArnsHasBeenSet = true; m_filterArns = std::move(value); }
65 inline ReplayDestination& WithFilterArns(const Aws::Vector<Aws::String>& value) { SetFilterArns(value); return *this;}
66 inline ReplayDestination& WithFilterArns(Aws::Vector<Aws::String>&& value) { SetFilterArns(std::move(value)); return *this;}
67 inline ReplayDestination& AddFilterArns(const Aws::String& value) { m_filterArnsHasBeenSet = true; m_filterArns.push_back(value); return *this; }
68 inline ReplayDestination& AddFilterArns(Aws::String&& value) { m_filterArnsHasBeenSet = true; m_filterArns.push_back(std::move(value)); return *this; }
69 inline ReplayDestination& AddFilterArns(const char* value) { m_filterArnsHasBeenSet = true; m_filterArns.push_back(value); return *this; }
71 private:
72
73 Aws::String m_arn;
74 bool m_arnHasBeenSet = false;
75
76 Aws::Vector<Aws::String> m_filterArns;
77 bool m_filterArnsHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EventBridge
82} // namespace Aws
ReplayDestination & WithArn(const char *value)
ReplayDestination & AddFilterArns(Aws::String &&value)
ReplayDestination & WithFilterArns(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetFilterArns() const
ReplayDestination & WithFilterArns(Aws::Vector< Aws::String > &&value)
AWS_EVENTBRIDGE_API ReplayDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(const Aws::String &value)
ReplayDestination & AddFilterArns(const Aws::String &value)
ReplayDestination & AddFilterArns(const char *value)
ReplayDestination & WithArn(const Aws::String &value)
AWS_EVENTBRIDGE_API ReplayDestination(Aws::Utils::Json::JsonView jsonValue)
void SetFilterArns(const Aws::Vector< Aws::String > &value)
ReplayDestination & WithArn(Aws::String &&value)
void SetFilterArns(Aws::Vector< Aws::String > &&value)
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