7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/DestinationType.h>
9#include <aws/fms/model/TargetType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
68 template<
typename DestinationT = Aws::String>
69 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet =
true; m_destination = std::forward<DestinationT>(value); }
70 template<
typename DestinationT = Aws::String>
80 template<
typename TargetT = Aws::String>
81 void SetTarget(TargetT&& value) { m_targetHasBeenSet =
true; m_target = std::forward<TargetT>(value); }
82 template<
typename TargetT = Aws::String>
88 bool m_destinationTypeHasBeenSet =
false;
91 bool m_targetTypeHasBeenSet =
false;
94 bool m_destinationHasBeenSet =
false;
97 bool m_targetHasBeenSet =
false;
bool TargetTypeHasBeenSet() const
void SetDestinationType(DestinationType value)
void SetTargetType(TargetType value)
DestinationType GetDestinationType() const
Route & WithTargetType(TargetType value)
AWS_FMS_API Route & operator=(Aws::Utils::Json::JsonView jsonValue)
Route & WithDestinationType(DestinationType value)
bool DestinationTypeHasBeenSet() const
const Aws::String & GetDestination() const
void SetTarget(TargetT &&value)
const Aws::String & GetTarget() const
TargetType GetTargetType() const
AWS_FMS_API Route()=default
AWS_FMS_API Route(Aws::Utils::Json::JsonView jsonValue)
void SetDestination(DestinationT &&value)
Route & WithTarget(TargetT &&value)
Route & WithDestination(DestinationT &&value)
bool TargetHasBeenSet() const
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
bool DestinationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue