AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeoProximityLocation.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/model/Coordinates.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace Route53
22{
23namespace Model
24{
25
39 {
40 public:
41 AWS_ROUTE53_API GeoProximityLocation();
42 AWS_ROUTE53_API GeoProximityLocation(const Aws::Utils::Xml::XmlNode& xmlNode);
44
45 AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
46
47
49
53 inline const Aws::String& GetAWSRegion() const{ return m_aWSRegion; }
54 inline bool AWSRegionHasBeenSet() const { return m_aWSRegionHasBeenSet; }
55 inline void SetAWSRegion(const Aws::String& value) { m_aWSRegionHasBeenSet = true; m_aWSRegion = value; }
56 inline void SetAWSRegion(Aws::String&& value) { m_aWSRegionHasBeenSet = true; m_aWSRegion = std::move(value); }
57 inline void SetAWSRegion(const char* value) { m_aWSRegionHasBeenSet = true; m_aWSRegion.assign(value); }
58 inline GeoProximityLocation& WithAWSRegion(const Aws::String& value) { SetAWSRegion(value); return *this;}
59 inline GeoProximityLocation& WithAWSRegion(Aws::String&& value) { SetAWSRegion(std::move(value)); return *this;}
60 inline GeoProximityLocation& WithAWSRegion(const char* value) { SetAWSRegion(value); return *this;}
62
64
76 inline const Aws::String& GetLocalZoneGroup() const{ return m_localZoneGroup; }
77 inline bool LocalZoneGroupHasBeenSet() const { return m_localZoneGroupHasBeenSet; }
78 inline void SetLocalZoneGroup(const Aws::String& value) { m_localZoneGroupHasBeenSet = true; m_localZoneGroup = value; }
79 inline void SetLocalZoneGroup(Aws::String&& value) { m_localZoneGroupHasBeenSet = true; m_localZoneGroup = std::move(value); }
80 inline void SetLocalZoneGroup(const char* value) { m_localZoneGroupHasBeenSet = true; m_localZoneGroup.assign(value); }
81 inline GeoProximityLocation& WithLocalZoneGroup(const Aws::String& value) { SetLocalZoneGroup(value); return *this;}
82 inline GeoProximityLocation& WithLocalZoneGroup(Aws::String&& value) { SetLocalZoneGroup(std::move(value)); return *this;}
83 inline GeoProximityLocation& WithLocalZoneGroup(const char* value) { SetLocalZoneGroup(value); return *this;}
85
87
90 inline const Coordinates& GetCoordinates() const{ return m_coordinates; }
91 inline bool CoordinatesHasBeenSet() const { return m_coordinatesHasBeenSet; }
92 inline void SetCoordinates(const Coordinates& value) { m_coordinatesHasBeenSet = true; m_coordinates = value; }
93 inline void SetCoordinates(Coordinates&& value) { m_coordinatesHasBeenSet = true; m_coordinates = std::move(value); }
94 inline GeoProximityLocation& WithCoordinates(const Coordinates& value) { SetCoordinates(value); return *this;}
95 inline GeoProximityLocation& WithCoordinates(Coordinates&& value) { SetCoordinates(std::move(value)); return *this;}
97
99
110 inline int GetBias() const{ return m_bias; }
111 inline bool BiasHasBeenSet() const { return m_biasHasBeenSet; }
112 inline void SetBias(int value) { m_biasHasBeenSet = true; m_bias = value; }
113 inline GeoProximityLocation& WithBias(int value) { SetBias(value); return *this;}
115 private:
116
117 Aws::String m_aWSRegion;
118 bool m_aWSRegionHasBeenSet = false;
119
120 Aws::String m_localZoneGroup;
121 bool m_localZoneGroupHasBeenSet = false;
122
123 Coordinates m_coordinates;
124 bool m_coordinatesHasBeenSet = false;
125
126 int m_bias;
127 bool m_biasHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace Route53
132} // namespace Aws
AWS_ROUTE53_API GeoProximityLocation & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
GeoProximityLocation & WithLocalZoneGroup(const Aws::String &value)
AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
GeoProximityLocation & WithAWSRegion(const Aws::String &value)
GeoProximityLocation & WithBias(int value)
GeoProximityLocation & WithLocalZoneGroup(const char *value)
GeoProximityLocation & WithCoordinates(Coordinates &&value)
void SetCoordinates(const Coordinates &value)
GeoProximityLocation & WithCoordinates(const Coordinates &value)
GeoProximityLocation & WithLocalZoneGroup(Aws::String &&value)
GeoProximityLocation & WithAWSRegion(Aws::String &&value)
void SetLocalZoneGroup(const Aws::String &value)
AWS_ROUTE53_API GeoProximityLocation(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAWSRegion(const Aws::String &value)
GeoProximityLocation & WithAWSRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String