AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateHealthCheckRequest.h
1
6#pragma once
7#include <aws/route53/Route53_EXPORTS.h>
8#include <aws/route53/Route53Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/route53/model/HealthCheckConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53
16{
17namespace Model
18{
19
27 {
28 public:
29 AWS_ROUTE53_API CreateHealthCheckRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateHealthCheck"; }
36
37 AWS_ROUTE53_API Aws::String SerializePayload() const override;
38
39
41
62 inline const Aws::String& GetCallerReference() const { return m_callerReference; }
63 inline bool CallerReferenceHasBeenSet() const { return m_callerReferenceHasBeenSet; }
64 template<typename CallerReferenceT = Aws::String>
65 void SetCallerReference(CallerReferenceT&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::forward<CallerReferenceT>(value); }
66 template<typename CallerReferenceT = Aws::String>
67 CreateHealthCheckRequest& WithCallerReference(CallerReferenceT&& value) { SetCallerReference(std::forward<CallerReferenceT>(value)); return *this;}
69
71
74 inline const HealthCheckConfig& GetHealthCheckConfig() const { return m_healthCheckConfig; }
75 inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
76 template<typename HealthCheckConfigT = HealthCheckConfig>
77 void SetHealthCheckConfig(HealthCheckConfigT&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::forward<HealthCheckConfigT>(value); }
78 template<typename HealthCheckConfigT = HealthCheckConfig>
79 CreateHealthCheckRequest& WithHealthCheckConfig(HealthCheckConfigT&& value) { SetHealthCheckConfig(std::forward<HealthCheckConfigT>(value)); return *this;}
81 private:
82
83 Aws::String m_callerReference;
84 bool m_callerReferenceHasBeenSet = false;
85
86 HealthCheckConfig m_healthCheckConfig;
87 bool m_healthCheckConfigHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Route53
92} // namespace Aws
const HealthCheckConfig & GetHealthCheckConfig() const
void SetHealthCheckConfig(HealthCheckConfigT &&value)
CreateHealthCheckRequest & WithHealthCheckConfig(HealthCheckConfigT &&value)
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53_API CreateHealthCheckRequest()=default
AWS_ROUTE53_API Aws::String SerializePayload() const override
CreateHealthCheckRequest & WithCallerReference(CallerReferenceT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String