AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
ListRulesOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Route53RecoveryReadiness {
20namespace Model {
21
29 public:
30 AWS_ROUTE53RECOVERYREADINESS_API ListRulesOutput() = default;
31 AWS_ROUTE53RECOVERYREADINESS_API ListRulesOutput(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ROUTE53RECOVERYREADINESS_API ListRulesOutput& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetResourceType() const { return m_resourceType; }
40 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
41 template <typename ResourceTypeT = Aws::String>
42 void SetResourceType(ResourceTypeT&& value) {
43 m_resourceTypeHasBeenSet = true;
44 m_resourceType = std::forward<ResourceTypeT>(value);
45 }
46 template <typename ResourceTypeT = Aws::String>
47 ListRulesOutput& WithResourceType(ResourceTypeT&& value) {
48 SetResourceType(std::forward<ResourceTypeT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRuleDescription() const { return m_ruleDescription; }
58 inline bool RuleDescriptionHasBeenSet() const { return m_ruleDescriptionHasBeenSet; }
59 template <typename RuleDescriptionT = Aws::String>
60 void SetRuleDescription(RuleDescriptionT&& value) {
61 m_ruleDescriptionHasBeenSet = true;
62 m_ruleDescription = std::forward<RuleDescriptionT>(value);
63 }
64 template <typename RuleDescriptionT = Aws::String>
65 ListRulesOutput& WithRuleDescription(RuleDescriptionT&& value) {
66 SetRuleDescription(std::forward<RuleDescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRuleId() const { return m_ruleId; }
76 inline bool RuleIdHasBeenSet() const { return m_ruleIdHasBeenSet; }
77 template <typename RuleIdT = Aws::String>
78 void SetRuleId(RuleIdT&& value) {
79 m_ruleIdHasBeenSet = true;
80 m_ruleId = std::forward<RuleIdT>(value);
81 }
82 template <typename RuleIdT = Aws::String>
83 ListRulesOutput& WithRuleId(RuleIdT&& value) {
84 SetRuleId(std::forward<RuleIdT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_resourceType;
90
91 Aws::String m_ruleDescription;
92
93 Aws::String m_ruleId;
94 bool m_resourceTypeHasBeenSet = false;
95 bool m_ruleDescriptionHasBeenSet = false;
96 bool m_ruleIdHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Route53RecoveryReadiness
101} // namespace Aws
AWS_ROUTE53RECOVERYREADINESS_API ListRulesOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYREADINESS_API ListRulesOutput()=default
ListRulesOutput & WithRuleDescription(RuleDescriptionT &&value)
AWS_ROUTE53RECOVERYREADINESS_API ListRulesOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_ROUTE53RECOVERYREADINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ListRulesOutput & WithResourceType(ResourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue