AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetGeoLocationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53/Route53_EXPORTS.h>
10#include <aws/route53/model/GeoLocationDetails.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace Route53 {
24namespace Model {
32 public:
33 AWS_ROUTE53_API GetGeoLocationResult() = default;
36
38
42 inline const GeoLocationDetails& GetGeoLocationDetails() const { return m_geoLocationDetails; }
43 template <typename GeoLocationDetailsT = GeoLocationDetails>
44 void SetGeoLocationDetails(GeoLocationDetailsT&& value) {
45 m_geoLocationDetailsHasBeenSet = true;
46 m_geoLocationDetails = std::forward<GeoLocationDetailsT>(value);
47 }
48 template <typename GeoLocationDetailsT = GeoLocationDetails>
49 GetGeoLocationResult& WithGeoLocationDetails(GeoLocationDetailsT&& value) {
50 SetGeoLocationDetails(std::forward<GeoLocationDetailsT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetRequestId() const { return m_requestId; }
58 template <typename RequestIdT = Aws::String>
59 void SetRequestId(RequestIdT&& value) {
60 m_requestIdHasBeenSet = true;
61 m_requestId = std::forward<RequestIdT>(value);
62 }
63 template <typename RequestIdT = Aws::String>
64 GetGeoLocationResult& WithRequestId(RequestIdT&& value) {
65 SetRequestId(std::forward<RequestIdT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 GeoLocationDetails m_geoLocationDetails;
73
74 Aws::String m_requestId;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_geoLocationDetailsHasBeenSet = false;
77 bool m_requestIdHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Route53
82} // namespace Aws
GetGeoLocationResult & WithRequestId(RequestIdT &&value)
AWS_ROUTE53_API GetGeoLocationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetGeoLocationDetails(GeoLocationDetailsT &&value)
GetGeoLocationResult & WithGeoLocationDetails(GeoLocationDetailsT &&value)
AWS_ROUTE53_API GetGeoLocationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const GeoLocationDetails & GetGeoLocationDetails() const
AWS_ROUTE53_API GetGeoLocationResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument