7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/Primary.h>
9#include <aws/eventbridge/model/Secondary.h>
48 template<
typename PrimaryT = Primary>
49 void SetPrimary(PrimaryT&& value) { m_primaryHasBeenSet =
true; m_primary = std::forward<PrimaryT>(value); }
50 template<
typename PrimaryT = Primary>
61 template<
typename SecondaryT = Secondary>
62 void SetSecondary(SecondaryT&& value) { m_secondaryHasBeenSet =
true; m_secondary = std::forward<SecondaryT>(value); }
63 template<
typename SecondaryT = Secondary>
69 bool m_primaryHasBeenSet =
false;
72 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