7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/globalaccelerator/GlobalAccelerator_EXPORTS.h>
11#include <aws/globalaccelerator/model/CustomRoutingAcceleratorStatus.h>
12#include <aws/globalaccelerator/model/IpAddressType.h>
13#include <aws/globalaccelerator/model/IpSet.h>
24namespace GlobalAccelerator {
45 template <
typename AcceleratorArnT = Aws::String>
47 m_acceleratorArnHasBeenSet =
true;
48 m_acceleratorArn = std::forward<AcceleratorArnT>(value);
50 template <
typename AcceleratorArnT = Aws::String>
64 template <
typename NameT = Aws::String>
66 m_nameHasBeenSet =
true;
67 m_name = std::forward<NameT>(value);
69 template <
typename NameT = Aws::String>
71 SetName(std::forward<NameT>(value));
84 m_ipAddressTypeHasBeenSet =
true;
85 m_ipAddressType = value;
102 m_enabledHasBeenSet =
true;
118 template <
typename IpSetsT = Aws::Vector<IpSet>>
120 m_ipSetsHasBeenSet =
true;
121 m_ipSets = std::forward<IpSetsT>(value);
123 template <
typename IpSetsT = Aws::Vector<IpSet>>
128 template <
typename IpSetsT = IpSet>
130 m_ipSetsHasBeenSet =
true;
131 m_ipSets.emplace_back(std::forward<IpSetsT>(value));
153 template <
typename DnsNameT = Aws::String>
155 m_dnsNameHasBeenSet =
true;
156 m_dnsName = std::forward<DnsNameT>(value);
158 template <
typename DnsNameT = Aws::String>
172 m_statusHasBeenSet =
true;
187 template <
typename CreatedTimeT = Aws::Utils::DateTime>
189 m_createdTimeHasBeenSet =
true;
190 m_createdTime = std::forward<CreatedTimeT>(value);
192 template <
typename CreatedTimeT = Aws::Utils::DateTime>
205 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
207 m_lastModifiedTimeHasBeenSet =
true;
208 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
210 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
223 bool m_enabled{
false};
234 bool m_acceleratorArnHasBeenSet =
false;
235 bool m_nameHasBeenSet =
false;
236 bool m_ipAddressTypeHasBeenSet =
false;
237 bool m_enabledHasBeenSet =
false;
238 bool m_ipSetsHasBeenSet =
false;
239 bool m_dnsNameHasBeenSet =
false;
240 bool m_statusHasBeenSet =
false;
241 bool m_createdTimeHasBeenSet =
false;
242 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