AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSafetyRuleResult.h
1
6#pragma once
7#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
8#include <aws/route53-recovery-control-config/model/AssertionRule.h>
9#include <aws/route53-recovery-control-config/model/GatingRule.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Route53RecoveryControlConfig
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleResult();
33 AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
35
36
38
41 inline const AssertionRule& GetAssertionRule() const{ return m_assertionRule; }
42 inline void SetAssertionRule(const AssertionRule& value) { m_assertionRule = value; }
43 inline void SetAssertionRule(AssertionRule&& value) { m_assertionRule = std::move(value); }
44 inline UpdateSafetyRuleResult& WithAssertionRule(const AssertionRule& value) { SetAssertionRule(value); return *this;}
45 inline UpdateSafetyRuleResult& WithAssertionRule(AssertionRule&& value) { SetAssertionRule(std::move(value)); return *this;}
47
49
52 inline const GatingRule& GetGatingRule() const{ return m_gatingRule; }
53 inline void SetGatingRule(const GatingRule& value) { m_gatingRule = value; }
54 inline void SetGatingRule(GatingRule&& value) { m_gatingRule = std::move(value); }
55 inline UpdateSafetyRuleResult& WithGatingRule(const GatingRule& value) { SetGatingRule(value); return *this;}
56 inline UpdateSafetyRuleResult& WithGatingRule(GatingRule&& value) { SetGatingRule(std::move(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline UpdateSafetyRuleResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline UpdateSafetyRuleResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline UpdateSafetyRuleResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 AssertionRule m_assertionRule;
72
73 GatingRule m_gatingRule;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Route53RecoveryControlConfig
80} // namespace Aws
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSafetyRuleResult & WithAssertionRule(AssertionRule &&value)
UpdateSafetyRuleResult & WithRequestId(const Aws::String &value)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROUTE53RECOVERYCONTROLCONFIG_API UpdateSafetyRuleResult()
UpdateSafetyRuleResult & WithAssertionRule(const AssertionRule &value)
UpdateSafetyRuleResult & WithGatingRule(const GatingRule &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue