7#include <aws/eventbridge/EventBridge_EXPORTS.h>
8#include <aws/eventbridge/model/Primary.h>
9#include <aws/eventbridge/model/Secondary.h>
48 inline void SetPrimary(
const Primary& value) { m_primaryHasBeenSet =
true; m_primary = value; }
49 inline void SetPrimary(
Primary&& value) { m_primaryHasBeenSet =
true; m_primary = std::move(value); }
69 bool m_primaryHasBeenSet =
false;
72 bool m_secondaryHasBeenSet =
false;
void SetPrimary(Primary &&value)
bool PrimaryHasBeenSet() const
AWS_EVENTBRIDGE_API FailoverConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
FailoverConfig & WithSecondary(const Secondary &value)
const Primary & GetPrimary() const
const Secondary & GetSecondary() const
FailoverConfig & WithPrimary(const Primary &value)
void SetPrimary(const Primary &value)
AWS_EVENTBRIDGE_API FailoverConfig(Aws::Utils::Json::JsonView jsonValue)
bool SecondaryHasBeenSet() const
void SetSecondary(const Secondary &value)
AWS_EVENTBRIDGE_API FailoverConfig()
AWS_EVENTBRIDGE_API Aws::Utils::Json::JsonValue Jsonize() const
FailoverConfig & WithPrimary(Primary &&value)
FailoverConfig & WithSecondary(Secondary &&value)
void SetSecondary(Secondary &&value)
Aws::Utils::Json::JsonValue JsonValue