AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
DisallowedFeature.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
29 public:
30 AWS_WAFV2_API DisallowedFeature() = default;
33 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFeature() const { return m_feature; }
40 inline bool FeatureHasBeenSet() const { return m_featureHasBeenSet; }
41 template <typename FeatureT = Aws::String>
42 void SetFeature(FeatureT&& value) {
43 m_featureHasBeenSet = true;
44 m_feature = std::forward<FeatureT>(value);
45 }
46 template <typename FeatureT = Aws::String>
47 DisallowedFeature& WithFeature(FeatureT&& value) {
48 SetFeature(std::forward<FeatureT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetRequiredPricingPlan() const { return m_requiredPricingPlan; }
58 inline bool RequiredPricingPlanHasBeenSet() const { return m_requiredPricingPlanHasBeenSet; }
59 template <typename RequiredPricingPlanT = Aws::String>
60 void SetRequiredPricingPlan(RequiredPricingPlanT&& value) {
61 m_requiredPricingPlanHasBeenSet = true;
62 m_requiredPricingPlan = std::forward<RequiredPricingPlanT>(value);
63 }
64 template <typename RequiredPricingPlanT = Aws::String>
65 DisallowedFeature& WithRequiredPricingPlan(RequiredPricingPlanT&& value) {
66 SetRequiredPricingPlan(std::forward<RequiredPricingPlanT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_feature;
72
73 Aws::String m_requiredPricingPlan;
74 bool m_featureHasBeenSet = false;
75 bool m_requiredPricingPlanHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace WAFV2
80} // namespace Aws
AWS_WAFV2_API DisallowedFeature()=default
AWS_WAFV2_API DisallowedFeature(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API DisallowedFeature & operator=(Aws::Utils::Json::JsonView jsonValue)
DisallowedFeature & WithFeature(FeatureT &&value)
void SetRequiredPricingPlan(RequiredPricingPlanT &&value)
const Aws::String & GetRequiredPricingPlan() const
const Aws::String & GetFeature() const
DisallowedFeature & WithRequiredPricingPlan(RequiredPricingPlanT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue