AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
CreateHealthCheckSourceResult.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/HealthCheckSourceStatus.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 CreateHealthCheckSourceResult() = default;
36
38
42 inline const Aws::String& GetHealthCheckSourceId() const { return m_healthCheckSourceId; }
43 template <typename HealthCheckSourceIdT = Aws::String>
44 void SetHealthCheckSourceId(HealthCheckSourceIdT&& value) {
45 m_healthCheckSourceIdHasBeenSet = true;
46 m_healthCheckSourceId = std::forward<HealthCheckSourceIdT>(value);
47 }
48 template <typename HealthCheckSourceIdT = Aws::String>
50 SetHealthCheckSourceId(std::forward<HealthCheckSourceIdT>(value));
51 return *this;
52 }
54
56
62 inline HealthCheckSourceStatus GetHealthCheckSourceStatus() const { return m_healthCheckSourceStatus; }
64 m_healthCheckSourceStatusHasBeenSet = true;
65 m_healthCheckSourceStatus = value;
66 }
72
74
77 inline const Aws::String& GetLocation() const { return m_location; }
78 template <typename LocationT = Aws::String>
79 void SetLocation(LocationT&& value) {
80 m_locationHasBeenSet = true;
81 m_location = std::forward<LocationT>(value);
82 }
83 template <typename LocationT = Aws::String>
85 SetLocation(std::forward<LocationT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetRequestId() const { return m_requestId; }
93 template <typename RequestIdT = Aws::String>
94 void SetRequestId(RequestIdT&& value) {
95 m_requestIdHasBeenSet = true;
96 m_requestId = std::forward<RequestIdT>(value);
97 }
98 template <typename RequestIdT = Aws::String>
100 SetRequestId(std::forward<RequestIdT>(value));
101 return *this;
102 }
104 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
105
106 private:
107 Aws::String m_healthCheckSourceId;
108
110
111 Aws::String m_location;
112
113 Aws::String m_requestId;
114 Aws::Http::HttpResponseCode m_HttpResponseCode;
115 bool m_healthCheckSourceIdHasBeenSet = false;
116 bool m_healthCheckSourceStatusHasBeenSet = false;
117 bool m_locationHasBeenSet = false;
118 bool m_requestIdHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace Route53
123} // namespace Aws
AWS_ROUTE53_API CreateHealthCheckSourceResult()=default
CreateHealthCheckSourceResult & WithHealthCheckSourceId(HealthCheckSourceIdT &&value)
AWS_ROUTE53_API CreateHealthCheckSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateHealthCheckSourceResult & WithLocation(LocationT &&value)
AWS_ROUTE53_API CreateHealthCheckSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateHealthCheckSourceResult & WithHealthCheckSourceStatus(HealthCheckSourceStatus value)
CreateHealthCheckSourceResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument