7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
10#include <aws/globalaccelerator/model/ByoipCidrEvent.h>
11#include <aws/globalaccelerator/model/ByoipCidrState.h>
22namespace GlobalAccelerator {
76 template <
typename C
idrT = Aws::String>
78 m_cidrHasBeenSet =
true;
79 m_cidr = std::forward<CidrT>(value);
81 template <
typename C
idrT = Aws::String>
83 SetCidr(std::forward<CidrT>(value));
95 m_stateHasBeenSet =
true;
111 template <
typename EventsT = Aws::Vector<ByoipC
idrEvent>>
113 m_eventsHasBeenSet =
true;
114 m_events = std::forward<EventsT>(value);
116 template <
typename EventsT = Aws::Vector<ByoipC
idrEvent>>
121 template <
typename EventsT = ByoipC
idrEvent>
123 m_eventsHasBeenSet =
true;
124 m_events.emplace_back(std::forward<EventsT>(value));
134 bool m_cidrHasBeenSet =
false;
135 bool m_stateHasBeenSet =
false;
136 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