7#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/globalaccelerator/model/IpAddressType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/globalaccelerator/model/CustomRoutingAcceleratorStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/globalaccelerator/model/IpSet.h>
26namespace GlobalAccelerator
51 template<
typename AcceleratorArnT = Aws::String>
52 void SetAcceleratorArn(AcceleratorArnT&& value) { m_acceleratorArnHasBeenSet =
true; m_acceleratorArn = std::forward<AcceleratorArnT>(value); }
53 template<
typename AcceleratorArnT = Aws::String>
64 template<
typename NameT = Aws::String>
65 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
66 template<
typename NameT = Aws::String>
89 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
100 template<
typename IpSetsT = Aws::Vector<IpSet>>
101 void SetIpSets(IpSetsT&& value) { m_ipSetsHasBeenSet =
true; m_ipSets = std::forward<IpSetsT>(value); }
102 template<
typename IpSetsT = Aws::Vector<IpSet>>
104 template<
typename IpSetsT = IpSet>
125 template<
typename DnsNameT = Aws::String>
126 void SetDnsName(DnsNameT&& value) { m_dnsNameHasBeenSet =
true; m_dnsName = std::forward<DnsNameT>(value); }
127 template<
typename DnsNameT = Aws::String>
147 template<
typename CreatedTimeT = Aws::Utils::DateTime>
148 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
149 template<
typename CreatedTimeT = Aws::Utils::DateTime>
159 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
160 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
161 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
167 bool m_acceleratorArnHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
173 bool m_ipAddressTypeHasBeenSet =
false;
175 bool m_enabled{
false};
176 bool m_enabledHasBeenSet =
false;
179 bool m_ipSetsHasBeenSet =
false;
182 bool m_dnsNameHasBeenSet =
false;
185 bool m_statusHasBeenSet =
false;
188 bool m_createdTimeHasBeenSet =
false;
191 bool m_lastModifiedTimeHasBeenSet =
false;
const Aws::String & GetName() const
CustomRoutingAccelerator & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetCreatedTime(CreatedTimeT &&value)
void SetName(NameT &&value)
void SetEnabled(bool value)
IpAddressType GetIpAddressType() const
void SetDnsName(DnsNameT &&value)
CustomRoutingAccelerator & WithIpAddressType(IpAddressType value)
CustomRoutingAccelerator & WithIpSets(IpSetsT &&value)
bool DnsNameHasBeenSet() const
bool StatusHasBeenSet() const
AWS_GLOBALACCELERATOR_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLOBALACCELERATOR_API CustomRoutingAccelerator(Aws::Utils::Json::JsonView jsonValue)
CustomRoutingAccelerator & WithCreatedTime(CreatedTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
CustomRoutingAccelerator & WithEnabled(bool value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetStatus(CustomRoutingAcceleratorStatus value)
bool CreatedTimeHasBeenSet() const
CustomRoutingAccelerator & AddIpSets(IpSetsT &&value)
bool AcceleratorArnHasBeenSet() const
bool EnabledHasBeenSet() const
CustomRoutingAccelerator & WithStatus(CustomRoutingAcceleratorStatus value)
bool LastModifiedTimeHasBeenSet() const
void SetIpAddressType(IpAddressType value)
CustomRoutingAccelerator & WithName(NameT &&value)
CustomRoutingAccelerator & WithDnsName(DnsNameT &&value)
bool NameHasBeenSet() const
void SetAcceleratorArn(AcceleratorArnT &&value)
const Aws::String & GetDnsName() const
CustomRoutingAccelerator & WithAcceleratorArn(AcceleratorArnT &&value)
const Aws::String & GetAcceleratorArn() const
AWS_GLOBALACCELERATOR_API CustomRoutingAccelerator & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IpSetsHasBeenSet() const
void SetIpSets(IpSetsT &&value)
AWS_GLOBALACCELERATOR_API CustomRoutingAccelerator()=default
CustomRoutingAcceleratorStatus GetStatus() const
const Aws::Vector< IpSet > & GetIpSets() const
bool IpAddressTypeHasBeenSet() const
CustomRoutingAcceleratorStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue