/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The secondary Region that processes events when failover is triggered or
* replication is enabled.See Also:
AWS
* API Reference
Defines the secondary Region.
*/ inline const Aws::String& GetRoute() const{ return m_route; } /** *Defines the secondary Region.
*/ inline bool RouteHasBeenSet() const { return m_routeHasBeenSet; } /** *Defines the secondary Region.
*/ inline void SetRoute(const Aws::String& value) { m_routeHasBeenSet = true; m_route = value; } /** *Defines the secondary Region.
*/ inline void SetRoute(Aws::String&& value) { m_routeHasBeenSet = true; m_route = std::move(value); } /** *Defines the secondary Region.
*/ inline void SetRoute(const char* value) { m_routeHasBeenSet = true; m_route.assign(value); } /** *Defines the secondary Region.
*/ inline Secondary& WithRoute(const Aws::String& value) { SetRoute(value); return *this;} /** *Defines the secondary Region.
*/ inline Secondary& WithRoute(Aws::String&& value) { SetRoute(std::move(value)); return *this;} /** *Defines the secondary Region.
*/ inline Secondary& WithRoute(const char* value) { SetRoute(value); return *this;} private: Aws::String m_route; bool m_routeHasBeenSet = false; }; } // namespace Model } // namespace EventBridge } // namespace Aws