AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AccessScopeAnalysisFinding.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/PathComponent.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Xml {
18class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2 {
22namespace Model {
23
30 public:
31 AWS_EC2_API AccessScopeAnalysisFinding() = default;
34
35 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
42 inline const Aws::String& GetNetworkInsightsAccessScopeAnalysisId() const { return m_networkInsightsAccessScopeAnalysisId; }
43 inline bool NetworkInsightsAccessScopeAnalysisIdHasBeenSet() const { return m_networkInsightsAccessScopeAnalysisIdHasBeenSet; }
44 template <typename NetworkInsightsAccessScopeAnalysisIdT = Aws::String>
45 void SetNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT&& value) {
46 m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true;
47 m_networkInsightsAccessScopeAnalysisId = std::forward<NetworkInsightsAccessScopeAnalysisIdT>(value);
48 }
49 template <typename NetworkInsightsAccessScopeAnalysisIdT = Aws::String>
50 AccessScopeAnalysisFinding& WithNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT&& value) {
51 SetNetworkInsightsAccessScopeAnalysisId(std::forward<NetworkInsightsAccessScopeAnalysisIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetNetworkInsightsAccessScopeId() const { return m_networkInsightsAccessScopeId; }
61 inline bool NetworkInsightsAccessScopeIdHasBeenSet() const { return m_networkInsightsAccessScopeIdHasBeenSet; }
62 template <typename NetworkInsightsAccessScopeIdT = Aws::String>
63 void SetNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT&& value) {
64 m_networkInsightsAccessScopeIdHasBeenSet = true;
65 m_networkInsightsAccessScopeId = std::forward<NetworkInsightsAccessScopeIdT>(value);
66 }
67 template <typename NetworkInsightsAccessScopeIdT = Aws::String>
68 AccessScopeAnalysisFinding& WithNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT&& value) {
69 SetNetworkInsightsAccessScopeId(std::forward<NetworkInsightsAccessScopeIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetFindingId() const { return m_findingId; }
79 inline bool FindingIdHasBeenSet() const { return m_findingIdHasBeenSet; }
80 template <typename FindingIdT = Aws::String>
81 void SetFindingId(FindingIdT&& value) {
82 m_findingIdHasBeenSet = true;
83 m_findingId = std::forward<FindingIdT>(value);
84 }
85 template <typename FindingIdT = Aws::String>
87 SetFindingId(std::forward<FindingIdT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Vector<PathComponent>& GetFindingComponents() const { return m_findingComponents; }
97 inline bool FindingComponentsHasBeenSet() const { return m_findingComponentsHasBeenSet; }
98 template <typename FindingComponentsT = Aws::Vector<PathComponent>>
99 void SetFindingComponents(FindingComponentsT&& value) {
100 m_findingComponentsHasBeenSet = true;
101 m_findingComponents = std::forward<FindingComponentsT>(value);
102 }
103 template <typename FindingComponentsT = Aws::Vector<PathComponent>>
105 SetFindingComponents(std::forward<FindingComponentsT>(value));
106 return *this;
107 }
108 template <typename FindingComponentsT = PathComponent>
110 m_findingComponentsHasBeenSet = true;
111 m_findingComponents.emplace_back(std::forward<FindingComponentsT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_networkInsightsAccessScopeAnalysisId;
117
118 Aws::String m_networkInsightsAccessScopeId;
119
120 Aws::String m_findingId;
121
122 Aws::Vector<PathComponent> m_findingComponents;
123 bool m_networkInsightsAccessScopeAnalysisIdHasBeenSet = false;
124 bool m_networkInsightsAccessScopeIdHasBeenSet = false;
125 bool m_findingIdHasBeenSet = false;
126 bool m_findingComponentsHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace EC2
131} // namespace Aws
AccessScopeAnalysisFinding & WithFindingId(FindingIdT &&value)
void SetNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT &&value)
const Aws::Vector< PathComponent > & GetFindingComponents() const
AccessScopeAnalysisFinding & WithFindingComponents(FindingComponentsT &&value)
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT &&value)
const Aws::String & GetNetworkInsightsAccessScopeAnalysisId() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AccessScopeAnalysisFinding & WithNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT &&value)
void SetNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT &&value)
AWS_EC2_API AccessScopeAnalysisFinding()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API AccessScopeAnalysisFinding(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API AccessScopeAnalysisFinding & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AccessScopeAnalysisFinding & AddFindingComponents(FindingComponentsT &&value)
void SetFindingComponents(FindingComponentsT &&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