AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ResponseInspectionStatusCode.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace WAFV2
22{
23namespace Model
24{
25
37 {
38 public:
42 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
53 inline const Aws::Vector<int>& GetSuccessCodes() const{ return m_successCodes; }
54 inline bool SuccessCodesHasBeenSet() const { return m_successCodesHasBeenSet; }
55 inline void SetSuccessCodes(const Aws::Vector<int>& value) { m_successCodesHasBeenSet = true; m_successCodes = value; }
56 inline void SetSuccessCodes(Aws::Vector<int>&& value) { m_successCodesHasBeenSet = true; m_successCodes = std::move(value); }
58 inline ResponseInspectionStatusCode& WithSuccessCodes(Aws::Vector<int>&& value) { SetSuccessCodes(std::move(value)); return *this;}
59 inline ResponseInspectionStatusCode& AddSuccessCodes(int value) { m_successCodesHasBeenSet = true; m_successCodes.push_back(value); return *this; }
61
63
69 inline const Aws::Vector<int>& GetFailureCodes() const{ return m_failureCodes; }
70 inline bool FailureCodesHasBeenSet() const { return m_failureCodesHasBeenSet; }
71 inline void SetFailureCodes(const Aws::Vector<int>& value) { m_failureCodesHasBeenSet = true; m_failureCodes = value; }
72 inline void SetFailureCodes(Aws::Vector<int>&& value) { m_failureCodesHasBeenSet = true; m_failureCodes = std::move(value); }
74 inline ResponseInspectionStatusCode& WithFailureCodes(Aws::Vector<int>&& value) { SetFailureCodes(std::move(value)); return *this;}
75 inline ResponseInspectionStatusCode& AddFailureCodes(int value) { m_failureCodesHasBeenSet = true; m_failureCodes.push_back(value); return *this; }
77 private:
78
79 Aws::Vector<int> m_successCodes;
80 bool m_successCodesHasBeenSet = false;
81
82 Aws::Vector<int> m_failureCodes;
83 bool m_failureCodesHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace WAFV2
88} // namespace Aws
ResponseInspectionStatusCode & WithFailureCodes(Aws::Vector< int > &&value)
ResponseInspectionStatusCode & AddFailureCodes(int value)
ResponseInspectionStatusCode & AddSuccessCodes(int value)
ResponseInspectionStatusCode & WithSuccessCodes(Aws::Vector< int > &&value)
AWS_WAFV2_API ResponseInspectionStatusCode(Aws::Utils::Json::JsonView jsonValue)
ResponseInspectionStatusCode & WithSuccessCodes(const Aws::Vector< int > &value)
AWS_WAFV2_API ResponseInspectionStatusCode & operator=(Aws::Utils::Json::JsonView jsonValue)
ResponseInspectionStatusCode & WithFailureCodes(const Aws::Vector< int > &value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue