7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/RRType.h>
10#include <aws/route53/model/ResourceRecordSetRegion.h>
11#include <aws/route53/model/GeoLocation.h>
12#include <aws/route53/model/ResourceRecordSetFailover.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/route53/model/AliasTarget.h>
15#include <aws/route53/model/CidrRoutingConfig.h>
16#include <aws/route53/model/GeoProximityLocation.h>
17#include <aws/route53/model/ResourceRecord.h>
79 template<
typename NameT = Aws::String>
80 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
81 template<
typename NameT = Aws::String>
138 inline void SetType(
RRType value) { m_typeHasBeenSet =
true; m_type = value; }
156 template<
typename SetIdentifierT = Aws::String>
157 void SetSetIdentifier(SetIdentifierT&& value) { m_setIdentifierHasBeenSet =
true; m_setIdentifier = std::forward<SetIdentifierT>(value); }
158 template<
typename SetIdentifierT = Aws::String>
193 inline void SetWeight(
long long value) { m_weightHasBeenSet =
true; m_weight = value; }
258 template<
typename GeoLocationT = GeoLocation>
259 void SetGeoLocation(GeoLocationT&& value) { m_geoLocationHasBeenSet =
true; m_geoLocation = std::forward<GeoLocationT>(value); }
260 template<
typename GeoLocationT = GeoLocation>
328 inline void SetMultiValueAnswer(
bool value) { m_multiValueAnswerHasBeenSet =
true; m_multiValueAnswer = value; }
350 inline long long GetTTL()
const {
return m_tTL; }
352 inline void SetTTL(
long long value) { m_tTLHasBeenSet =
true; m_tTL = value; }
364 template<
typename ResourceRecordsT = Aws::Vector<ResourceRecord>>
365 void SetResourceRecords(ResourceRecordsT&& value) { m_resourceRecordsHasBeenSet =
true; m_resourceRecords = std::forward<ResourceRecordsT>(value); }
366 template<
typename ResourceRecordsT = Aws::Vector<ResourceRecord>>
368 template<
typename ResourceRecordsT = ResourceRecord>
369 ResourceRecordSet&
AddResourceRecords(ResourceRecordsT&& value) { m_resourceRecordsHasBeenSet =
true; m_resourceRecords.emplace_back(std::forward<ResourceRecordsT>(value));
return *
this; }
387 template<
typename AliasTargetT = AliasTarget>
388 void SetAliasTarget(AliasTargetT&& value) { m_aliasTargetHasBeenSet =
true; m_aliasTarget = std::forward<AliasTargetT>(value); }
389 template<
typename AliasTargetT = AliasTarget>
474 template<
typename HealthCheckIdT = Aws::String>
475 void SetHealthCheckId(HealthCheckIdT&& value) { m_healthCheckIdHasBeenSet =
true; m_healthCheckId = std::forward<HealthCheckIdT>(value); }
476 template<
typename HealthCheckIdT = Aws::String>
494 template<
typename TrafficPolicyInstanceIdT = Aws::String>
495 void SetTrafficPolicyInstanceId(TrafficPolicyInstanceIdT&& value) { m_trafficPolicyInstanceIdHasBeenSet =
true; m_trafficPolicyInstanceId = std::forward<TrafficPolicyInstanceIdT>(value); }
496 template<
typename TrafficPolicyInstanceIdT = Aws::String>
504 template<
typename C
idrRoutingConfigT = C
idrRoutingConfig>
505 void SetCidrRoutingConfig(CidrRoutingConfigT&& value) { m_cidrRoutingConfigHasBeenSet =
true; m_cidrRoutingConfig = std::forward<CidrRoutingConfigT>(value); }
506 template<
typename C
idrRoutingConfigT = C
idrRoutingConfig>
518 template<
typename GeoProximityLocationT = GeoProximityLocation>
519 void SetGeoProximityLocation(GeoProximityLocationT&& value) { m_geoProximityLocationHasBeenSet =
true; m_geoProximityLocation = std::forward<GeoProximityLocationT>(value); }
520 template<
typename GeoProximityLocationT = GeoProximityLocation>
526 bool m_nameHasBeenSet =
false;
529 bool m_typeHasBeenSet =
false;
532 bool m_setIdentifierHasBeenSet =
false;
534 long long m_weight{0};
535 bool m_weightHasBeenSet =
false;
538 bool m_regionHasBeenSet =
false;
540 GeoLocation m_geoLocation;
541 bool m_geoLocationHasBeenSet =
false;
544 bool m_failoverHasBeenSet =
false;
546 bool m_multiValueAnswer{
false};
547 bool m_multiValueAnswerHasBeenSet =
false;
550 bool m_tTLHasBeenSet =
false;
553 bool m_resourceRecordsHasBeenSet =
false;
555 AliasTarget m_aliasTarget;
556 bool m_aliasTargetHasBeenSet =
false;
559 bool m_healthCheckIdHasBeenSet =
false;
562 bool m_trafficPolicyInstanceIdHasBeenSet =
false;
564 CidrRoutingConfig m_cidrRoutingConfig;
565 bool m_cidrRoutingConfigHasBeenSet =
false;
567 GeoProximityLocation m_geoProximityLocation;
568 bool m_geoProximityLocationHasBeenSet =
false;
void SetAliasTarget(AliasTargetT &&value)
ResourceRecordSet & WithCidrRoutingConfig(CidrRoutingConfigT &&value)
void SetHealthCheckId(HealthCheckIdT &&value)
AWS_ROUTE53_API ResourceRecordSet(const Aws::Utils::Xml::XmlNode &xmlNode)
ResourceRecordSet & WithAliasTarget(AliasTargetT &&value)
ResourceRecordSet & WithGeoLocation(GeoLocationT &&value)
long long GetWeight() const
void SetType(RRType value)
void SetName(NameT &&value)
const Aws::String & GetHealthCheckId() const
void SetMultiValueAnswer(bool value)
bool MultiValueAnswerHasBeenSet() const
ResourceRecordSet & WithSetIdentifier(SetIdentifierT &&value)
ResourceRecordSet & WithResourceRecords(ResourceRecordsT &&value)
void SetRegion(ResourceRecordSetRegion value)
bool ResourceRecordsHasBeenSet() const
void SetTrafficPolicyInstanceId(TrafficPolicyInstanceIdT &&value)
AWS_ROUTE53_API ResourceRecordSet & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool GeoLocationHasBeenSet() const
void SetGeoLocation(GeoLocationT &&value)
bool CidrRoutingConfigHasBeenSet() const
const Aws::String & GetName() const
const AliasTarget & GetAliasTarget() const
ResourceRecordSet & WithTTL(long long value)
void SetSetIdentifier(SetIdentifierT &&value)
bool AliasTargetHasBeenSet() const
ResourceRecordSet & WithType(RRType value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
ResourceRecordSet & WithMultiValueAnswer(bool value)
ResourceRecordSet & WithRegion(ResourceRecordSetRegion value)
const Aws::Vector< ResourceRecord > & GetResourceRecords() const
void SetFailover(ResourceRecordSetFailover value)
bool TTLHasBeenSet() const
bool SetIdentifierHasBeenSet() const
bool RegionHasBeenSet() const
bool HealthCheckIdHasBeenSet() const
ResourceRecordSet & WithHealthCheckId(HealthCheckIdT &&value)
const Aws::String & GetSetIdentifier() const
bool GetMultiValueAnswer() const
void SetResourceRecords(ResourceRecordsT &&value)
void SetWeight(long long value)
bool WeightHasBeenSet() const
const Aws::String & GetTrafficPolicyInstanceId() const
bool TypeHasBeenSet() const
ResourceRecordSet & AddResourceRecords(ResourceRecordsT &&value)
void SetTTL(long long value)
ResourceRecordSet & WithFailover(ResourceRecordSetFailover value)
ResourceRecordSet & WithTrafficPolicyInstanceId(TrafficPolicyInstanceIdT &&value)
AWS_ROUTE53_API ResourceRecordSet()=default
void SetCidrRoutingConfig(CidrRoutingConfigT &&value)
bool TrafficPolicyInstanceIdHasBeenSet() const
ResourceRecordSet & WithGeoProximityLocation(GeoProximityLocationT &&value)
const GeoProximityLocation & GetGeoProximityLocation() const
ResourceRecordSetRegion GetRegion() const
ResourceRecordSet & WithWeight(long long value)
bool NameHasBeenSet() const
bool FailoverHasBeenSet() const
ResourceRecordSet & WithName(NameT &&value)
const CidrRoutingConfig & GetCidrRoutingConfig() const
const GeoLocation & GetGeoLocation() const
void SetGeoProximityLocation(GeoProximityLocationT &&value)
bool GeoProximityLocationHasBeenSet() const
ResourceRecordSetFailover GetFailover() const
ResourceRecordSetFailover
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector