AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCallerReference(const Aws::String& value) { m_callerReferenceHasBeenSet = true; m_callerReference = value; }
65 inline void SetCallerReference(Aws::String&& value) { m_callerReferenceHasBeenSet = true; m_callerReference = std::move(value); }
66 inline void SetCallerReference(const char* value) { m_callerReferenceHasBeenSet = true; m_callerReference.assign(value); }
67 inline CreateHealthCheckRequest& WithCallerReference(const Aws::String& value) { SetCallerReference(value); return *this;}
68 inline CreateHealthCheckRequest& WithCallerReference(Aws::String&& value) { SetCallerReference(std::move(value)); return *this;}
69 inline CreateHealthCheckRequest& WithCallerReference(const char* value) { SetCallerReference(value); return *this;}
71
73
76 inline const HealthCheckConfig& GetHealthCheckConfig() const{ return m_healthCheckConfig; }
77 inline bool HealthCheckConfigHasBeenSet() const { return m_healthCheckConfigHasBeenSet; }
78 inline void SetHealthCheckConfig(const HealthCheckConfig& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = value; }
79 inline void SetHealthCheckConfig(HealthCheckConfig&& value) { m_healthCheckConfigHasBeenSet = true; m_healthCheckConfig = std::move(value); }
81 inline CreateHealthCheckRequest& WithHealthCheckConfig(HealthCheckConfig&& value) { SetHealthCheckConfig(std::move(value)); return *this;}
83 private:
84
85 Aws::String m_callerReference;
86 bool m_callerReferenceHasBeenSet = false;
87
88 HealthCheckConfig m_healthCheckConfig;
89 bool m_healthCheckConfigHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Route53
94} // namespace Aws
CreateHealthCheckRequest & WithCallerReference(const Aws::String &value)
const HealthCheckConfig & GetHealthCheckConfig() const
void SetHealthCheckConfig(const HealthCheckConfig &value)
CreateHealthCheckRequest & WithHealthCheckConfig(HealthCheckConfig &&value)
CreateHealthCheckRequest & WithHealthCheckConfig(const HealthCheckConfig &value)
CreateHealthCheckRequest & WithCallerReference(Aws::String &&value)
CreateHealthCheckRequest & WithCallerReference(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_ROUTE53_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String