AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NetworkInsightsAccessScopeAnalysis.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/ec2/model/AnalysisStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/ec2/model/FindingsFound.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Xml
22{
23 class XmlNode;
24} // namespace Xml
25} // namespace Utils
26namespace EC2
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_EC2_API NetworkInsightsAccessScopeAnalysis() = default;
42
43 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
51 inline const Aws::String& GetNetworkInsightsAccessScopeAnalysisId() const { return m_networkInsightsAccessScopeAnalysisId; }
52 inline bool NetworkInsightsAccessScopeAnalysisIdHasBeenSet() const { return m_networkInsightsAccessScopeAnalysisIdHasBeenSet; }
53 template<typename NetworkInsightsAccessScopeAnalysisIdT = Aws::String>
54 void SetNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT&& value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId = std::forward<NetworkInsightsAccessScopeAnalysisIdT>(value); }
55 template<typename NetworkInsightsAccessScopeAnalysisIdT = Aws::String>
56 NetworkInsightsAccessScopeAnalysis& WithNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT&& value) { SetNetworkInsightsAccessScopeAnalysisId(std::forward<NetworkInsightsAccessScopeAnalysisIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetNetworkInsightsAccessScopeAnalysisArn() const { return m_networkInsightsAccessScopeAnalysisArn; }
64 inline bool NetworkInsightsAccessScopeAnalysisArnHasBeenSet() const { return m_networkInsightsAccessScopeAnalysisArnHasBeenSet; }
65 template<typename NetworkInsightsAccessScopeAnalysisArnT = Aws::String>
66 void SetNetworkInsightsAccessScopeAnalysisArn(NetworkInsightsAccessScopeAnalysisArnT&& value) { m_networkInsightsAccessScopeAnalysisArnHasBeenSet = true; m_networkInsightsAccessScopeAnalysisArn = std::forward<NetworkInsightsAccessScopeAnalysisArnT>(value); }
67 template<typename NetworkInsightsAccessScopeAnalysisArnT = Aws::String>
68 NetworkInsightsAccessScopeAnalysis& WithNetworkInsightsAccessScopeAnalysisArn(NetworkInsightsAccessScopeAnalysisArnT&& value) { SetNetworkInsightsAccessScopeAnalysisArn(std::forward<NetworkInsightsAccessScopeAnalysisArnT>(value)); return *this;}
70
72
75 inline const Aws::String& GetNetworkInsightsAccessScopeId() const { return m_networkInsightsAccessScopeId; }
76 inline bool NetworkInsightsAccessScopeIdHasBeenSet() const { return m_networkInsightsAccessScopeIdHasBeenSet; }
77 template<typename NetworkInsightsAccessScopeIdT = Aws::String>
78 void SetNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT&& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = std::forward<NetworkInsightsAccessScopeIdT>(value); }
79 template<typename NetworkInsightsAccessScopeIdT = Aws::String>
80 NetworkInsightsAccessScopeAnalysis& WithNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT&& value) { SetNetworkInsightsAccessScopeId(std::forward<NetworkInsightsAccessScopeIdT>(value)); return *this;}
82
84
87 inline AnalysisStatus GetStatus() const { return m_status; }
88 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
89 inline void SetStatus(AnalysisStatus value) { m_statusHasBeenSet = true; m_status = value; }
92
94
97 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
98 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
99 template<typename StatusMessageT = Aws::String>
100 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
101 template<typename StatusMessageT = Aws::String>
102 NetworkInsightsAccessScopeAnalysis& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
104
106
109 inline const Aws::String& GetWarningMessage() const { return m_warningMessage; }
110 inline bool WarningMessageHasBeenSet() const { return m_warningMessageHasBeenSet; }
111 template<typename WarningMessageT = Aws::String>
112 void SetWarningMessage(WarningMessageT&& value) { m_warningMessageHasBeenSet = true; m_warningMessage = std::forward<WarningMessageT>(value); }
113 template<typename WarningMessageT = Aws::String>
114 NetworkInsightsAccessScopeAnalysis& WithWarningMessage(WarningMessageT&& value) { SetWarningMessage(std::forward<WarningMessageT>(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetStartDate() const { return m_startDate; }
122 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
123 template<typename StartDateT = Aws::Utils::DateTime>
124 void SetStartDate(StartDateT&& value) { m_startDateHasBeenSet = true; m_startDate = std::forward<StartDateT>(value); }
125 template<typename StartDateT = Aws::Utils::DateTime>
126 NetworkInsightsAccessScopeAnalysis& WithStartDate(StartDateT&& value) { SetStartDate(std::forward<StartDateT>(value)); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetEndDate() const { return m_endDate; }
134 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
135 template<typename EndDateT = Aws::Utils::DateTime>
136 void SetEndDate(EndDateT&& value) { m_endDateHasBeenSet = true; m_endDate = std::forward<EndDateT>(value); }
137 template<typename EndDateT = Aws::Utils::DateTime>
138 NetworkInsightsAccessScopeAnalysis& WithEndDate(EndDateT&& value) { SetEndDate(std::forward<EndDateT>(value)); return *this;}
140
142
145 inline FindingsFound GetFindingsFound() const { return m_findingsFound; }
146 inline bool FindingsFoundHasBeenSet() const { return m_findingsFoundHasBeenSet; }
147 inline void SetFindingsFound(FindingsFound value) { m_findingsFoundHasBeenSet = true; m_findingsFound = value; }
150
152
155 inline int GetAnalyzedEniCount() const { return m_analyzedEniCount; }
156 inline bool AnalyzedEniCountHasBeenSet() const { return m_analyzedEniCountHasBeenSet; }
157 inline void SetAnalyzedEniCount(int value) { m_analyzedEniCountHasBeenSet = true; m_analyzedEniCount = value; }
160
162
165 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
166 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
167 template<typename TagsT = Aws::Vector<Tag>>
168 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
169 template<typename TagsT = Aws::Vector<Tag>>
170 NetworkInsightsAccessScopeAnalysis& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
171 template<typename TagsT = Tag>
172 NetworkInsightsAccessScopeAnalysis& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
174 private:
175
176 Aws::String m_networkInsightsAccessScopeAnalysisId;
177 bool m_networkInsightsAccessScopeAnalysisIdHasBeenSet = false;
178
179 Aws::String m_networkInsightsAccessScopeAnalysisArn;
180 bool m_networkInsightsAccessScopeAnalysisArnHasBeenSet = false;
181
182 Aws::String m_networkInsightsAccessScopeId;
183 bool m_networkInsightsAccessScopeIdHasBeenSet = false;
184
186 bool m_statusHasBeenSet = false;
187
188 Aws::String m_statusMessage;
189 bool m_statusMessageHasBeenSet = false;
190
191 Aws::String m_warningMessage;
192 bool m_warningMessageHasBeenSet = false;
193
194 Aws::Utils::DateTime m_startDate{};
195 bool m_startDateHasBeenSet = false;
196
197 Aws::Utils::DateTime m_endDate{};
198 bool m_endDateHasBeenSet = false;
199
200 FindingsFound m_findingsFound{FindingsFound::NOT_SET};
201 bool m_findingsFoundHasBeenSet = false;
202
203 int m_analyzedEniCount{0};
204 bool m_analyzedEniCountHasBeenSet = false;
205
206 Aws::Vector<Tag> m_tags;
207 bool m_tagsHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace EC2
212} // namespace Aws
NetworkInsightsAccessScopeAnalysis & WithStatus(AnalysisStatus value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NetworkInsightsAccessScopeAnalysis & WithAnalyzedEniCount(int value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT &&value)
NetworkInsightsAccessScopeAnalysis & WithEndDate(EndDateT &&value)
void SetNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT &&value)
void SetNetworkInsightsAccessScopeId(NetworkInsightsAccessScopeIdT &&value)
AWS_EC2_API NetworkInsightsAccessScopeAnalysis(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInsightsAccessScopeAnalysis & WithFindingsFound(FindingsFound value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisArn(NetworkInsightsAccessScopeAnalysisArnT &&value)
NetworkInsightsAccessScopeAnalysis & WithStartDate(StartDateT &&value)
NetworkInsightsAccessScopeAnalysis & WithStatusMessage(StatusMessageT &&value)
NetworkInsightsAccessScopeAnalysis & WithTags(TagsT &&value)
NetworkInsightsAccessScopeAnalysis & WithWarningMessage(WarningMessageT &&value)
NetworkInsightsAccessScopeAnalysis & AddTags(TagsT &&value)
AWS_EC2_API NetworkInsightsAccessScopeAnalysis & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNetworkInsightsAccessScopeAnalysisArn(NetworkInsightsAccessScopeAnalysisArnT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisId(NetworkInsightsAccessScopeAnalysisIdT &&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