AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/network-firewall/model/IdentifiedType.h>
10#include <aws/core/utils/memory/stl/AWSString.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 NetworkFirewall
24{
25namespace Model
26{
27
41 {
42 public:
43 AWS_NETWORKFIREWALL_API AnalysisResult();
44 AWS_NETWORKFIREWALL_API AnalysisResult(Aws::Utils::Json::JsonView jsonValue);
45 AWS_NETWORKFIREWALL_API AnalysisResult& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::Vector<Aws::String>& GetIdentifiedRuleIds() const{ return m_identifiedRuleIds; }
54 inline bool IdentifiedRuleIdsHasBeenSet() const { return m_identifiedRuleIdsHasBeenSet; }
55 inline void SetIdentifiedRuleIds(const Aws::Vector<Aws::String>& value) { m_identifiedRuleIdsHasBeenSet = true; m_identifiedRuleIds = value; }
56 inline void SetIdentifiedRuleIds(Aws::Vector<Aws::String>&& value) { m_identifiedRuleIdsHasBeenSet = true; m_identifiedRuleIds = std::move(value); }
58 inline AnalysisResult& WithIdentifiedRuleIds(Aws::Vector<Aws::String>&& value) { SetIdentifiedRuleIds(std::move(value)); return *this;}
59 inline AnalysisResult& AddIdentifiedRuleIds(const Aws::String& value) { m_identifiedRuleIdsHasBeenSet = true; m_identifiedRuleIds.push_back(value); return *this; }
60 inline AnalysisResult& AddIdentifiedRuleIds(Aws::String&& value) { m_identifiedRuleIdsHasBeenSet = true; m_identifiedRuleIds.push_back(std::move(value)); return *this; }
61 inline AnalysisResult& AddIdentifiedRuleIds(const char* value) { m_identifiedRuleIdsHasBeenSet = true; m_identifiedRuleIds.push_back(value); return *this; }
63
65
87 inline const IdentifiedType& GetIdentifiedType() const{ return m_identifiedType; }
88 inline bool IdentifiedTypeHasBeenSet() const { return m_identifiedTypeHasBeenSet; }
89 inline void SetIdentifiedType(const IdentifiedType& value) { m_identifiedTypeHasBeenSet = true; m_identifiedType = value; }
90 inline void SetIdentifiedType(IdentifiedType&& value) { m_identifiedTypeHasBeenSet = true; m_identifiedType = std::move(value); }
91 inline AnalysisResult& WithIdentifiedType(const IdentifiedType& value) { SetIdentifiedType(value); return *this;}
92 inline AnalysisResult& WithIdentifiedType(IdentifiedType&& value) { SetIdentifiedType(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetAnalysisDetail() const{ return m_analysisDetail; }
100 inline bool AnalysisDetailHasBeenSet() const { return m_analysisDetailHasBeenSet; }
101 inline void SetAnalysisDetail(const Aws::String& value) { m_analysisDetailHasBeenSet = true; m_analysisDetail = value; }
102 inline void SetAnalysisDetail(Aws::String&& value) { m_analysisDetailHasBeenSet = true; m_analysisDetail = std::move(value); }
103 inline void SetAnalysisDetail(const char* value) { m_analysisDetailHasBeenSet = true; m_analysisDetail.assign(value); }
104 inline AnalysisResult& WithAnalysisDetail(const Aws::String& value) { SetAnalysisDetail(value); return *this;}
105 inline AnalysisResult& WithAnalysisDetail(Aws::String&& value) { SetAnalysisDetail(std::move(value)); return *this;}
106 inline AnalysisResult& WithAnalysisDetail(const char* value) { SetAnalysisDetail(value); return *this;}
108 private:
109
110 Aws::Vector<Aws::String> m_identifiedRuleIds;
111 bool m_identifiedRuleIdsHasBeenSet = false;
112
113 IdentifiedType m_identifiedType;
114 bool m_identifiedTypeHasBeenSet = false;
115
116 Aws::String m_analysisDetail;
117 bool m_analysisDetailHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace NetworkFirewall
122} // namespace Aws
AnalysisResult & WithAnalysisDetail(Aws::String &&value)
const IdentifiedType & GetIdentifiedType() const
void SetIdentifiedType(IdentifiedType &&value)
AnalysisResult & WithIdentifiedType(IdentifiedType &&value)
AnalysisResult & WithIdentifiedRuleIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetIdentifiedRuleIds() const
AWS_NETWORKFIREWALL_API AnalysisResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisResult & WithIdentifiedRuleIds(const Aws::Vector< Aws::String > &value)
AWS_NETWORKFIREWALL_API AnalysisResult()
void SetIdentifiedRuleIds(const Aws::Vector< Aws::String > &value)
void SetIdentifiedRuleIds(Aws::Vector< Aws::String > &&value)
AWS_NETWORKFIREWALL_API AnalysisResult(Aws::Utils::Json::JsonView jsonValue)
AnalysisResult & WithIdentifiedType(const IdentifiedType &value)
AnalysisResult & AddIdentifiedRuleIds(Aws::String &&value)
void SetAnalysisDetail(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
AnalysisResult & AddIdentifiedRuleIds(const Aws::String &value)
AnalysisResult & WithAnalysisDetail(const Aws::String &value)
const Aws::String & GetAnalysisDetail() const
AnalysisResult & WithAnalysisDetail(const char *value)
AnalysisResult & AddIdentifiedRuleIds(const char *value)
void SetIdentifiedType(const IdentifiedType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue