7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53globalresolver/Route53GlobalResolver_EXPORTS.h>
10#include <aws/route53globalresolver/model/CRResourceStatus.h>
11#include <aws/route53globalresolver/model/DnsProtocol.h>
12#include <aws/route53globalresolver/model/IpAddressType.h>
23namespace Route53GlobalResolver {
44 template <
typename ArnT = Aws::String>
46 m_arnHasBeenSet =
true;
47 m_arn = std::forward<ArnT>(value);
49 template <
typename ArnT = Aws::String>
51 SetArn(std::forward<ArnT>(value));
62 template <
typename C
idrT = Aws::String>
64 m_cidrHasBeenSet =
true;
65 m_cidr = std::forward<CidrT>(value);
67 template <
typename C
idrT = Aws::String>
69 SetCidr(std::forward<CidrT>(value));
80 template <
typename CreatedAtT = Aws::Utils::DateTime>
82 m_createdAtHasBeenSet =
true;
83 m_createdAt = std::forward<CreatedAtT>(value);
85 template <
typename CreatedAtT = Aws::Utils::DateTime>
98 template <
typename IdT = Aws::String>
100 m_idHasBeenSet =
true;
101 m_id = std::forward<IdT>(value);
103 template <
typename IdT = Aws::String>
105 SetId(std::forward<IdT>(value));
117 m_ipAddressTypeHasBeenSet =
true;
118 m_ipAddressType = value;
132 template <
typename NameT = Aws::String>
134 m_nameHasBeenSet =
true;
135 m_name = std::forward<NameT>(value);
137 template <
typename NameT = Aws::String>
139 SetName(std::forward<NameT>(value));
150 template <
typename DnsViewIdT = Aws::String>
152 m_dnsViewIdHasBeenSet =
true;
153 m_dnsViewId = std::forward<DnsViewIdT>(value);
155 template <
typename DnsViewIdT = Aws::String>
169 m_protocolHasBeenSet =
true;
185 m_statusHasBeenSet =
true;
200 template <
typename UpdatedAtT = Aws::Utils::DateTime>
202 m_updatedAtHasBeenSet =
true;
203 m_updatedAt = std::forward<UpdatedAtT>(value);
205 template <
typename UpdatedAtT = Aws::Utils::DateTime>
231 bool m_arnHasBeenSet =
false;
232 bool m_cidrHasBeenSet =
false;
233 bool m_createdAtHasBeenSet =
false;
234 bool m_idHasBeenSet =
false;
235 bool m_ipAddressTypeHasBeenSet =
false;
236 bool m_nameHasBeenSet =
false;
237 bool m_dnsViewIdHasBeenSet =
false;
238 bool m_protocolHasBeenSet =
false;
239 bool m_statusHasBeenSet =
false;
240 bool m_updatedAtHasBeenSet =
false;
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool ProtocolHasBeenSet() const
AWS_ROUTE53GLOBALRESOLVER_API AccessSourcesItem(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
void SetProtocol(DnsProtocol value)
AccessSourcesItem & WithId(IdT &&value)
void SetDnsViewId(DnsViewIdT &&value)
AccessSourcesItem & WithName(NameT &&value)
AccessSourcesItem & WithStatus(CRResourceStatus value)
IpAddressType GetIpAddressType() const
DnsProtocol GetProtocol() const
bool CidrHasBeenSet() const
void SetArn(ArnT &&value)
AccessSourcesItem & WithArn(ArnT &&value)
bool CreatedAtHasBeenSet() const
bool DnsViewIdHasBeenSet() const
AccessSourcesItem & WithUpdatedAt(UpdatedAtT &&value)
AccessSourcesItem & WithProtocol(DnsProtocol value)
void SetUpdatedAt(UpdatedAtT &&value)
AWS_ROUTE53GLOBALRESOLVER_API Aws::Utils::Json::JsonValue Jsonize() const
AccessSourcesItem & WithDnsViewId(DnsViewIdT &&value)
const Aws::String & GetCidr() const
bool UpdatedAtHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
AccessSourcesItem & WithIpAddressType(IpAddressType value)
CRResourceStatus GetStatus() const
const Aws::String & GetName() const
void SetIpAddressType(IpAddressType value)
void SetStatus(CRResourceStatus value)
bool ArnHasBeenSet() const
bool StatusHasBeenSet() const
AWS_ROUTE53GLOBALRESOLVER_API AccessSourcesItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetUpdatedAt() const
const Aws::String & GetArn() const
bool IpAddressTypeHasBeenSet() const
AccessSourcesItem & WithCreatedAt(CreatedAtT &&value)
const Aws::String & GetDnsViewId() const
AccessSourcesItem & WithCidr(CidrT &&value)
AWS_ROUTE53GLOBALRESOLVER_API AccessSourcesItem()=default
void SetCidr(CidrT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue