7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/Primary.h>
9#include <aws/eventbridge/model/Secondary.h>
20namespace EventBridge {
42 template <
typename PrimaryT = Primary>
44 m_primaryHasBeenSet =
true;
45 m_primary = std::forward<PrimaryT>(value);
47 template <
typename PrimaryT = Primary>
61 template <
typename SecondaryT = Secondary>
63 m_secondaryHasBeenSet =
true;
64 m_secondary = std::forward<SecondaryT>(value);
66 template <
typename SecondaryT = Secondary>
76 bool m_primaryHasBeenSet =
false;
77 bool m_secondaryHasBeenSet =
false;
bool PrimaryHasBeenSet() const
AWS_EVENTBRIDGE_API FailoverConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const Primary & GetPrimary() const
const Secondary & GetSecondary() const
AWS_EVENTBRIDGE_API FailoverConfig(Aws::Utils::Json::JsonView jsonValue)
bool SecondaryHasBeenSet() const
void SetSecondary(SecondaryT &&value)
FailoverConfig & WithSecondary(SecondaryT &&value)
FailoverConfig & WithPrimary(PrimaryT &&value)
void SetPrimary(PrimaryT &&value)
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_EVENTBRIDGE_API FailoverConfig()=default
Aws::Utils::Json::JsonValue JsonValue