AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSafetyRuleRequest.h
1
6#pragma once
7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/route53-recovery-control-config/Route53RecoveryControlConfigRequest.h>
9#include <aws/route53-recovery-control-config/model/AssertionRuleUpdate.h>
10#include <aws/route53-recovery-control-config/model/GatingRuleUpdate.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Route53RecoveryControlConfig
16{
17namespace Model
18{
19
28 {
29 public:
30 AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateSafetyRule"; }
37
38 AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override;
39
40
42
45 inline const AssertionRuleUpdate& GetAssertionRuleUpdate() const{ return m_assertionRuleUpdate; }
46 inline bool AssertionRuleUpdateHasBeenSet() const { return m_assertionRuleUpdateHasBeenSet; }
47 inline void SetAssertionRuleUpdate(const AssertionRuleUpdate& value) { m_assertionRuleUpdateHasBeenSet = true; m_assertionRuleUpdate = value; }
48 inline void SetAssertionRuleUpdate(AssertionRuleUpdate&& value) { m_assertionRuleUpdateHasBeenSet = true; m_assertionRuleUpdate = std::move(value); }
52
54
57 inline const GatingRuleUpdate& GetGatingRuleUpdate() const{ return m_gatingRuleUpdate; }
58 inline bool GatingRuleUpdateHasBeenSet() const { return m_gatingRuleUpdateHasBeenSet; }
59 inline void SetGatingRuleUpdate(const GatingRuleUpdate& value) { m_gatingRuleUpdateHasBeenSet = true; m_gatingRuleUpdate = value; }
60 inline void SetGatingRuleUpdate(GatingRuleUpdate&& value) { m_gatingRuleUpdateHasBeenSet = true; m_gatingRuleUpdate = std::move(value); }
62 inline UpdateSafetyRuleRequest& WithGatingRuleUpdate(GatingRuleUpdate&& value) { SetGatingRuleUpdate(std::move(value)); return *this;}
64 private:
65
66 AssertionRuleUpdate m_assertionRuleUpdate;
67 bool m_assertionRuleUpdateHasBeenSet = false;
68
69 GatingRuleUpdate m_gatingRuleUpdate;
70 bool m_gatingRuleUpdateHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Route53RecoveryControlConfig
75} // namespace Aws
AWS_ROUTE53RECOVERYCONTROLCONFIG_API Aws::String SerializePayload() const override
UpdateSafetyRuleRequest & WithGatingRuleUpdate(GatingRuleUpdate &&value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleRequest()
UpdateSafetyRuleRequest & WithAssertionRuleUpdate(AssertionRuleUpdate &&value)
UpdateSafetyRuleRequest & WithAssertionRuleUpdate(const AssertionRuleUpdate &value)
UpdateSafetyRuleRequest & WithGatingRuleUpdate(const GatingRuleUpdate &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String