7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/globalaccelerator/model/ByoipCidrState.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/globalaccelerator/model/ByoipCidrEvent.h>
24namespace GlobalAccelerator
82 template<
typename C
idrT = Aws::String>
83 void SetCidr(CidrT&& value) { m_cidrHasBeenSet =
true; m_cidr = std::forward<CidrT>(value); }
84 template<
typename C
idrT = Aws::String>
105 template<
typename EventsT = Aws::Vector<ByoipC
idrEvent>>
106 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
107 template<
typename EventsT = Aws::Vector<ByoipC
idrEvent>>
109 template<
typename EventsT = ByoipC
idrEvent>
110 ByoipCidr&
AddEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events.emplace_back(std::forward<EventsT>(value));
return *
this; }
115 bool m_cidrHasBeenSet =
false;
118 bool m_stateHasBeenSet =
false;
121 bool m_eventsHasBeenSet =
false;
ByoipCidr & WithEvents(EventsT &&value)
void SetCidr(CidrT &&value)
bool StateHasBeenSet() const
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API ByoipCidr(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< ByoipCidrEvent > & GetEvents() const
AWS_GLOBALACCELERATOR_API ByoipCidr()=default
void SetEvents(EventsT &&value)
AWS_GLOBALACCELERATOR_API ByoipCidr & operator=(Aws::Utils::Json::JsonView jsonValue)
ByoipCidr & WithCidr(CidrT &&value)
ByoipCidrState GetState() const
ByoipCidr & AddEvents(EventsT &&value)
void SetState(ByoipCidrState value)
ByoipCidr & WithState(ByoipCidrState value)
bool EventsHasBeenSet() const
bool CidrHasBeenSet() const
const Aws::String & GetCidr() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue