AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccessScopeAnalysisFinding.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/PathComponent.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace EC2
24{
25namespace Model
26{
27
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetNetworkInsightsAccessScopeAnalysisId() const{ return m_networkInsightsAccessScopeAnalysisId; }
49 inline bool NetworkInsightsAccessScopeAnalysisIdHasBeenSet() const { return m_networkInsightsAccessScopeAnalysisIdHasBeenSet; }
50 inline void SetNetworkInsightsAccessScopeAnalysisId(const Aws::String& value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId = value; }
51 inline void SetNetworkInsightsAccessScopeAnalysisId(Aws::String&& value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId = std::move(value); }
52 inline void SetNetworkInsightsAccessScopeAnalysisId(const char* value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId.assign(value); }
57
59
62 inline const Aws::String& GetNetworkInsightsAccessScopeId() const{ return m_networkInsightsAccessScopeId; }
63 inline bool NetworkInsightsAccessScopeIdHasBeenSet() const { return m_networkInsightsAccessScopeIdHasBeenSet; }
64 inline void SetNetworkInsightsAccessScopeId(const Aws::String& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = value; }
65 inline void SetNetworkInsightsAccessScopeId(Aws::String&& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = std::move(value); }
66 inline void SetNetworkInsightsAccessScopeId(const char* value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId.assign(value); }
71
73
76 inline const Aws::String& GetFindingId() const{ return m_findingId; }
77 inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
78 inline void SetFindingId(const Aws::String& value) { m_findingIdHasBeenSet = true; m_findingId = value; }
79 inline void SetFindingId(Aws::String&& value) { m_findingIdHasBeenSet = true; m_findingId = std::move(value); }
80 inline void SetFindingId(const char* value) { m_findingIdHasBeenSet = true; m_findingId.assign(value); }
81 inline AccessScopeAnalysisFinding& WithFindingId(const Aws::String& value) { SetFindingId(value); return *this;}
82 inline AccessScopeAnalysisFinding& WithFindingId(Aws::String&& value) { SetFindingId(std::move(value)); return *this;}
83 inline AccessScopeAnalysisFinding& WithFindingId(const char* value) { SetFindingId(value); return *this;}
85
87
90 inline const Aws::Vector<PathComponent>& GetFindingComponents() const{ return m_findingComponents; }
91 inline bool FindingComponentsHasBeenSet() const { return m_findingComponentsHasBeenSet; }
92 inline void SetFindingComponents(const Aws::Vector<PathComponent>& value) { m_findingComponentsHasBeenSet = true; m_findingComponents = value; }
93 inline void SetFindingComponents(Aws::Vector<PathComponent>&& value) { m_findingComponentsHasBeenSet = true; m_findingComponents = std::move(value); }
96 inline AccessScopeAnalysisFinding& AddFindingComponents(const PathComponent& value) { m_findingComponentsHasBeenSet = true; m_findingComponents.push_back(value); return *this; }
97 inline AccessScopeAnalysisFinding& AddFindingComponents(PathComponent&& value) { m_findingComponentsHasBeenSet = true; m_findingComponents.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_networkInsightsAccessScopeAnalysisId;
102 bool m_networkInsightsAccessScopeAnalysisIdHasBeenSet = false;
103
104 Aws::String m_networkInsightsAccessScopeId;
105 bool m_networkInsightsAccessScopeIdHasBeenSet = false;
106
107 Aws::String m_findingId;
108 bool m_findingIdHasBeenSet = false;
109
110 Aws::Vector<PathComponent> m_findingComponents;
111 bool m_findingComponentsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace EC2
116} // namespace Aws
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeId(const Aws::String &value)
const Aws::Vector< PathComponent > & GetFindingComponents() const
AccessScopeAnalysisFinding & AddFindingComponents(const PathComponent &value)
AccessScopeAnalysisFinding & WithFindingComponents(const Aws::Vector< PathComponent > &value)
void SetFindingComponents(Aws::Vector< PathComponent > &&value)
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeAnalysisId(const Aws::String &value)
const Aws::String & GetNetworkInsightsAccessScopeAnalysisId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeAnalysisId(Aws::String &&value)
AccessScopeAnalysisFinding & WithFindingId(const Aws::String &value)
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeId(const char *value)
void SetNetworkInsightsAccessScopeAnalysisId(const Aws::String &value)
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetNetworkInsightsAccessScopeId(const Aws::String &value)
AccessScopeAnalysisFinding & WithFindingComponents(Aws::Vector< PathComponent > &&value)
void SetFindingComponents(const Aws::Vector< PathComponent > &value)
AWS_EC2_API AccessScopeAnalysisFinding(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessScopeAnalysisFinding & WithFindingId(const char *value)
AWS_EC2_API AccessScopeAnalysisFinding & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessScopeAnalysisFinding & WithFindingId(Aws::String &&value)
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeAnalysisId(const char *value)
AccessScopeAnalysisFinding & AddFindingComponents(PathComponent &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream