7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/eventbridge/EventBridge_EXPORTS.h>
19namespace EventBridge {
43 template <
typename ArnT = Aws::String>
45 m_arnHasBeenSet =
true;
46 m_arn = std::forward<ArnT>(value);
48 template <
typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
76 bool m_arnHasBeenSet =
false;
77 bool m_nameHasBeenSet =
false;
const Aws::String & GetName() const
const Aws::String & GetArn() const
AWS_EVENTBRIDGE_API PartnerEventSource & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
void SetArn(ArnT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ArnHasBeenSet() const
PartnerEventSource & WithName(NameT &&value)
AWS_EVENTBRIDGE_API PartnerEventSource()=default
bool NameHasBeenSet() const
AWS_EVENTBRIDGE_API PartnerEventSource(Aws::Utils::Json::JsonView jsonValue)
PartnerEventSource & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue