AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateHealthCheckResult.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/model/HealthCheck.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace Route53
25{
26namespace Model
27{
35 {
36 public:
37 AWS_ROUTE53_API CreateHealthCheckResult();
40
41
43
47 inline const HealthCheck& GetHealthCheck() const{ return m_healthCheck; }
48 inline void SetHealthCheck(const HealthCheck& value) { m_healthCheck = value; }
49 inline void SetHealthCheck(HealthCheck&& value) { m_healthCheck = std::move(value); }
50 inline CreateHealthCheckResult& WithHealthCheck(const HealthCheck& value) { SetHealthCheck(value); return *this;}
51 inline CreateHealthCheckResult& WithHealthCheck(HealthCheck&& value) { SetHealthCheck(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetLocation() const{ return m_location; }
59 inline void SetLocation(const Aws::String& value) { m_location = value; }
60 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
61 inline void SetLocation(const char* value) { m_location.assign(value); }
62 inline CreateHealthCheckResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
63 inline CreateHealthCheckResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
64 inline CreateHealthCheckResult& WithLocation(const char* value) { SetLocation(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline CreateHealthCheckResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline CreateHealthCheckResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline CreateHealthCheckResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 HealthCheck m_healthCheck;
80
81 Aws::String m_location;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace Route53
88} // namespace Aws
CreateHealthCheckResult & WithLocation(const Aws::String &value)
CreateHealthCheckResult & WithRequestId(const char *value)
CreateHealthCheckResult & WithHealthCheck(HealthCheck &&value)
CreateHealthCheckResult & WithRequestId(const Aws::String &value)
CreateHealthCheckResult & WithLocation(const char *value)
CreateHealthCheckResult & WithLocation(Aws::String &&value)
CreateHealthCheckResult & WithHealthCheck(const HealthCheck &value)
AWS_ROUTE53_API CreateHealthCheckResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ROUTE53_API CreateHealthCheckResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateHealthCheckResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument