AWS SDK for C++

AWS SDK for C++ Version 1.11.693

Loading...
Searching...
No Matches
GetHealthCheckRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/route53/Route53_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Route53 {
15namespace Model {
16
24 public:
25 AWS_ROUTE53_API GetHealthCheckRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetHealthCheck"; }
32
33 AWS_ROUTE53_API Aws::String SerializePayload() const override;
34
36
42 inline const Aws::String& GetHealthCheckId() const { return m_healthCheckId; }
43 inline bool HealthCheckIdHasBeenSet() const { return m_healthCheckIdHasBeenSet; }
44 template <typename HealthCheckIdT = Aws::String>
45 void SetHealthCheckId(HealthCheckIdT&& value) {
46 m_healthCheckIdHasBeenSet = true;
47 m_healthCheckId = std::forward<HealthCheckIdT>(value);
48 }
49 template <typename HealthCheckIdT = Aws::String>
50 GetHealthCheckRequest& WithHealthCheckId(HealthCheckIdT&& value) {
51 SetHealthCheckId(std::forward<HealthCheckIdT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_healthCheckId;
57 bool m_healthCheckIdHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace Route53
62} // namespace Aws
GetHealthCheckRequest & WithHealthCheckId(HealthCheckIdT &&value)
AWS_ROUTE53_API Aws::String SerializePayload() const override
AWS_ROUTE53_API GetHealthCheckRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String