7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/fms/FMS_EXPORTS.h>
10#include <aws/fms/model/DestinationType.h>
11#include <aws/fms/model/TargetType.h>
32 AWS_FMS_API
Route(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_FMS_API
Route&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_FMS_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_destinationTypeHasBeenSet =
true;
44 m_destinationType = value;
59 m_targetTypeHasBeenSet =
true;
74 template <
typename DestinationT = Aws::String>
76 m_destinationHasBeenSet =
true;
77 m_destination = std::forward<DestinationT>(value);
79 template <
typename DestinationT = Aws::String>
92 template <
typename TargetT = Aws::String>
94 m_targetHasBeenSet =
true;
95 m_target = std::forward<TargetT>(value);
97 template <
typename TargetT = Aws::String>
111 bool m_destinationTypeHasBeenSet =
false;
112 bool m_targetTypeHasBeenSet =
false;
113 bool m_destinationHasBeenSet =
false;
114 bool m_targetHasBeenSet =
false;
bool TargetTypeHasBeenSet() const
void SetDestinationType(DestinationType value)
void SetTargetType(TargetType value)
DestinationType GetDestinationType() const
AWS_FMS_API Route(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Route & WithTargetType(TargetType value)
AWS_FMS_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
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 & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetDestination(DestinationT &&value)
Route & WithTarget(TargetT &&value)
Route & WithDestination(DestinationT &&value)
bool TargetHasBeenSet() const
bool DestinationHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String