AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WAFInvalidParameterException.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/ParameterExceptionField.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/waf-regional/model/ParameterExceptionReason.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WAFRegional
24{
25namespace Model
26{
27
52 {
53 public:
54 AWS_WAFREGIONAL_API WAFInvalidParameterException();
57 AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const;
58
59
61
62 inline const ParameterExceptionField& GetField() const{ return m_field; }
63 inline bool FieldHasBeenSet() const { return m_fieldHasBeenSet; }
64 inline void SetField(const ParameterExceptionField& value) { m_fieldHasBeenSet = true; m_field = value; }
65 inline void SetField(ParameterExceptionField&& value) { m_fieldHasBeenSet = true; m_field = std::move(value); }
66 inline WAFInvalidParameterException& WithField(const ParameterExceptionField& value) { SetField(value); return *this;}
67 inline WAFInvalidParameterException& WithField(ParameterExceptionField&& value) { SetField(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetParameter() const{ return m_parameter; }
73 inline bool ParameterHasBeenSet() const { return m_parameterHasBeenSet; }
74 inline void SetParameter(const Aws::String& value) { m_parameterHasBeenSet = true; m_parameter = value; }
75 inline void SetParameter(Aws::String&& value) { m_parameterHasBeenSet = true; m_parameter = std::move(value); }
76 inline void SetParameter(const char* value) { m_parameterHasBeenSet = true; m_parameter.assign(value); }
77 inline WAFInvalidParameterException& WithParameter(const Aws::String& value) { SetParameter(value); return *this;}
78 inline WAFInvalidParameterException& WithParameter(Aws::String&& value) { SetParameter(std::move(value)); return *this;}
79 inline WAFInvalidParameterException& WithParameter(const char* value) { SetParameter(value); return *this;}
81
83
84 inline const ParameterExceptionReason& GetReason() const{ return m_reason; }
85 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
86 inline void SetReason(const ParameterExceptionReason& value) { m_reasonHasBeenSet = true; m_reason = value; }
87 inline void SetReason(ParameterExceptionReason&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
88 inline WAFInvalidParameterException& WithReason(const ParameterExceptionReason& value) { SetReason(value); return *this;}
89 inline WAFInvalidParameterException& WithReason(ParameterExceptionReason&& value) { SetReason(std::move(value)); return *this;}
91 private:
92
94 bool m_fieldHasBeenSet = false;
95
96 Aws::String m_parameter;
97 bool m_parameterHasBeenSet = false;
98
100 bool m_reasonHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace WAFRegional
105} // namespace Aws
WAFInvalidParameterException & WithReason(const ParameterExceptionReason &value)
WAFInvalidParameterException & WithField(const ParameterExceptionField &value)
WAFInvalidParameterException & WithParameter(Aws::String &&value)
AWS_WAFREGIONAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFREGIONAL_API WAFInvalidParameterException & operator=(Aws::Utils::Json::JsonView jsonValue)
WAFInvalidParameterException & WithParameter(const Aws::String &value)
AWS_WAFREGIONAL_API WAFInvalidParameterException(Aws::Utils::Json::JsonView jsonValue)
WAFInvalidParameterException & WithParameter(const char *value)
WAFInvalidParameterException & WithField(ParameterExceptionField &&value)
WAFInvalidParameterException & WithReason(ParameterExceptionReason &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue