7#include <aws/codedeploy/CodeDeploy_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
33 AWS_CODEDEPLOY_API
TrafficRoute(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_CODEDEPLOY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename ListenerArnsT = Aws::Vector<Aws::String>>
47 m_listenerArnsHasBeenSet =
true;
48 m_listenerArns = std::forward<ListenerArnsT>(value);
50 template <
typename ListenerArnsT = Aws::Vector<Aws::String>>
55 template <
typename ListenerArnsT = Aws::String>
57 m_listenerArnsHasBeenSet =
true;
58 m_listenerArns.emplace_back(std::forward<ListenerArnsT>(value));
64 bool m_listenerArnsHasBeenSet =
false;
AWS_CODEDEPLOY_API TrafficRoute(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEDEPLOY_API TrafficRoute()=default
TrafficRoute & WithListenerArns(ListenerArnsT &&value)
void SetListenerArns(ListenerArnsT &&value)
AWS_CODEDEPLOY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Aws::String > & GetListenerArns() const
AWS_CODEDEPLOY_API TrafficRoute & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
TrafficRoute & AddListenerArns(ListenerArnsT &&value)
bool ListenerArnsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector