AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateHealthCheckRequest.h
1
6#pragma once
7#include <aws/shield/Shield_EXPORTS.h>
8#include <aws/shield/ShieldRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Shield
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DisassociateHealthCheck"; }
31
32 AWS_SHIELD_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetProtectionId() const{ return m_protectionId; }
43 inline bool ProtectionIdHasBeenSet() const { return m_protectionIdHasBeenSet; }
44 inline void SetProtectionId(const Aws::String& value) { m_protectionIdHasBeenSet = true; m_protectionId = value; }
45 inline void SetProtectionId(Aws::String&& value) { m_protectionIdHasBeenSet = true; m_protectionId = std::move(value); }
46 inline void SetProtectionId(const char* value) { m_protectionIdHasBeenSet = true; m_protectionId.assign(value); }
47 inline DisassociateHealthCheckRequest& WithProtectionId(const Aws::String& value) { SetProtectionId(value); return *this;}
48 inline DisassociateHealthCheckRequest& WithProtectionId(Aws::String&& value) { SetProtectionId(std::move(value)); return *this;}
49 inline DisassociateHealthCheckRequest& WithProtectionId(const char* value) { SetProtectionId(value); return *this;}
51
53
57 inline const Aws::String& GetHealthCheckArn() const{ return m_healthCheckArn; }
58 inline bool HealthCheckArnHasBeenSet() const { return m_healthCheckArnHasBeenSet; }
59 inline void SetHealthCheckArn(const Aws::String& value) { m_healthCheckArnHasBeenSet = true; m_healthCheckArn = value; }
60 inline void SetHealthCheckArn(Aws::String&& value) { m_healthCheckArnHasBeenSet = true; m_healthCheckArn = std::move(value); }
61 inline void SetHealthCheckArn(const char* value) { m_healthCheckArnHasBeenSet = true; m_healthCheckArn.assign(value); }
63 inline DisassociateHealthCheckRequest& WithHealthCheckArn(Aws::String&& value) { SetHealthCheckArn(std::move(value)); return *this;}
64 inline DisassociateHealthCheckRequest& WithHealthCheckArn(const char* value) { SetHealthCheckArn(value); return *this;}
66 private:
67
68 Aws::String m_protectionId;
69 bool m_protectionIdHasBeenSet = false;
70
71 Aws::String m_healthCheckArn;
72 bool m_healthCheckArnHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace Shield
77} // namespace Aws
DisassociateHealthCheckRequest & WithHealthCheckArn(const char *value)
AWS_SHIELD_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SHIELD_API Aws::String SerializePayload() const override
DisassociateHealthCheckRequest & WithHealthCheckArn(const Aws::String &value)
DisassociateHealthCheckRequest & WithHealthCheckArn(Aws::String &&value)
DisassociateHealthCheckRequest & WithProtectionId(const char *value)
DisassociateHealthCheckRequest & WithProtectionId(Aws::String &&value)
DisassociateHealthCheckRequest & WithProtectionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String