AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetNetworkInsightsAccessScopeAnalysisId(const Aws::String& value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId = value; }
54 inline void SetNetworkInsightsAccessScopeAnalysisId(Aws::String&& value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId = std::move(value); }
55 inline void SetNetworkInsightsAccessScopeAnalysisId(const char* value) { m_networkInsightsAccessScopeAnalysisIdHasBeenSet = true; m_networkInsightsAccessScopeAnalysisId.assign(value); }
60
62
65 inline const Aws::String& GetNetworkInsightsAccessScopeAnalysisArn() const{ return m_networkInsightsAccessScopeAnalysisArn; }
66 inline bool NetworkInsightsAccessScopeAnalysisArnHasBeenSet() const { return m_networkInsightsAccessScopeAnalysisArnHasBeenSet; }
67 inline void SetNetworkInsightsAccessScopeAnalysisArn(const Aws::String& value) { m_networkInsightsAccessScopeAnalysisArnHasBeenSet = true; m_networkInsightsAccessScopeAnalysisArn = value; }
68 inline void SetNetworkInsightsAccessScopeAnalysisArn(Aws::String&& value) { m_networkInsightsAccessScopeAnalysisArnHasBeenSet = true; m_networkInsightsAccessScopeAnalysisArn = std::move(value); }
69 inline void SetNetworkInsightsAccessScopeAnalysisArn(const char* value) { m_networkInsightsAccessScopeAnalysisArnHasBeenSet = true; m_networkInsightsAccessScopeAnalysisArn.assign(value); }
74
76
79 inline const Aws::String& GetNetworkInsightsAccessScopeId() const{ return m_networkInsightsAccessScopeId; }
80 inline bool NetworkInsightsAccessScopeIdHasBeenSet() const { return m_networkInsightsAccessScopeIdHasBeenSet; }
81 inline void SetNetworkInsightsAccessScopeId(const Aws::String& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = value; }
82 inline void SetNetworkInsightsAccessScopeId(Aws::String&& value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId = std::move(value); }
83 inline void SetNetworkInsightsAccessScopeId(const char* value) { m_networkInsightsAccessScopeIdHasBeenSet = true; m_networkInsightsAccessScopeId.assign(value); }
88
90
93 inline const AnalysisStatus& GetStatus() const{ return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(const AnalysisStatus& value) { m_statusHasBeenSet = true; m_status = value; }
96 inline void SetStatus(AnalysisStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
97 inline NetworkInsightsAccessScopeAnalysis& WithStatus(const AnalysisStatus& value) { SetStatus(value); return *this;}
98 inline NetworkInsightsAccessScopeAnalysis& WithStatus(AnalysisStatus&& value) { SetStatus(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
106 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
107 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
108 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
109 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
111 inline NetworkInsightsAccessScopeAnalysis& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
112 inline NetworkInsightsAccessScopeAnalysis& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
114
116
119 inline const Aws::String& GetWarningMessage() const{ return m_warningMessage; }
120 inline bool WarningMessageHasBeenSet() const { return m_warningMessageHasBeenSet; }
121 inline void SetWarningMessage(const Aws::String& value) { m_warningMessageHasBeenSet = true; m_warningMessage = value; }
122 inline void SetWarningMessage(Aws::String&& value) { m_warningMessageHasBeenSet = true; m_warningMessage = std::move(value); }
123 inline void SetWarningMessage(const char* value) { m_warningMessageHasBeenSet = true; m_warningMessage.assign(value); }
125 inline NetworkInsightsAccessScopeAnalysis& WithWarningMessage(Aws::String&& value) { SetWarningMessage(std::move(value)); return *this;}
126 inline NetworkInsightsAccessScopeAnalysis& WithWarningMessage(const char* value) { SetWarningMessage(value); return *this;}
128
130
133 inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
134 inline bool StartDateHasBeenSet() const { return m_startDateHasBeenSet; }
135 inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDateHasBeenSet = true; m_startDate = value; }
136 inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDateHasBeenSet = true; m_startDate = std::move(value); }
138 inline NetworkInsightsAccessScopeAnalysis& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
140
142
145 inline const Aws::Utils::DateTime& GetEndDate() const{ return m_endDate; }
146 inline bool EndDateHasBeenSet() const { return m_endDateHasBeenSet; }
147 inline void SetEndDate(const Aws::Utils::DateTime& value) { m_endDateHasBeenSet = true; m_endDate = value; }
148 inline void SetEndDate(Aws::Utils::DateTime&& value) { m_endDateHasBeenSet = true; m_endDate = std::move(value); }
150 inline NetworkInsightsAccessScopeAnalysis& WithEndDate(Aws::Utils::DateTime&& value) { SetEndDate(std::move(value)); return *this;}
152
154
157 inline const FindingsFound& GetFindingsFound() const{ return m_findingsFound; }
158 inline bool FindingsFoundHasBeenSet() const { return m_findingsFoundHasBeenSet; }
159 inline void SetFindingsFound(const FindingsFound& value) { m_findingsFoundHasBeenSet = true; m_findingsFound = value; }
160 inline void SetFindingsFound(FindingsFound&& value) { m_findingsFoundHasBeenSet = true; m_findingsFound = std::move(value); }
162 inline NetworkInsightsAccessScopeAnalysis& WithFindingsFound(FindingsFound&& value) { SetFindingsFound(std::move(value)); return *this;}
164
166
169 inline int GetAnalyzedEniCount() const{ return m_analyzedEniCount; }
170 inline bool AnalyzedEniCountHasBeenSet() const { return m_analyzedEniCountHasBeenSet; }
171 inline void SetAnalyzedEniCount(int value) { m_analyzedEniCountHasBeenSet = true; m_analyzedEniCount = value; }
174
176
179 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
180 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
181 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
182 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
183 inline NetworkInsightsAccessScopeAnalysis& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
184 inline NetworkInsightsAccessScopeAnalysis& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
185 inline NetworkInsightsAccessScopeAnalysis& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
186 inline NetworkInsightsAccessScopeAnalysis& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
188 private:
189
190 Aws::String m_networkInsightsAccessScopeAnalysisId;
191 bool m_networkInsightsAccessScopeAnalysisIdHasBeenSet = false;
192
193 Aws::String m_networkInsightsAccessScopeAnalysisArn;
194 bool m_networkInsightsAccessScopeAnalysisArnHasBeenSet = false;
195
196 Aws::String m_networkInsightsAccessScopeId;
197 bool m_networkInsightsAccessScopeIdHasBeenSet = false;
198
199 AnalysisStatus m_status;
200 bool m_statusHasBeenSet = false;
201
202 Aws::String m_statusMessage;
203 bool m_statusMessageHasBeenSet = false;
204
205 Aws::String m_warningMessage;
206 bool m_warningMessageHasBeenSet = false;
207
208 Aws::Utils::DateTime m_startDate;
209 bool m_startDateHasBeenSet = false;
210
211 Aws::Utils::DateTime m_endDate;
212 bool m_endDateHasBeenSet = false;
213
214 FindingsFound m_findingsFound;
215 bool m_findingsFoundHasBeenSet = false;
216
217 int m_analyzedEniCount;
218 bool m_analyzedEniCountHasBeenSet = false;
219
220 Aws::Vector<Tag> m_tags;
221 bool m_tagsHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace EC2
226} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NetworkInsightsAccessScopeAnalysis & AddTags(const Tag &value)
NetworkInsightsAccessScopeAnalysis & WithWarningMessage(const Aws::String &value)
NetworkInsightsAccessScopeAnalysis & WithAnalyzedEniCount(int value)
NetworkInsightsAccessScopeAnalysis & WithWarningMessage(const char *value)
NetworkInsightsAccessScopeAnalysis & WithEndDate(Aws::Utils::DateTime &&value)
NetworkInsightsAccessScopeAnalysis & WithStatusMessage(Aws::String &&value)
NetworkInsightsAccessScopeAnalysis & WithStartDate(const Aws::Utils::DateTime &value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisId(const char *value)
NetworkInsightsAccessScopeAnalysis & WithStatusMessage(const Aws::String &value)
NetworkInsightsAccessScopeAnalysis & WithFindingsFound(const FindingsFound &value)
NetworkInsightsAccessScopeAnalysis & WithWarningMessage(Aws::String &&value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeId(const char *value)
AWS_EC2_API NetworkInsightsAccessScopeAnalysis(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInsightsAccessScopeAnalysis & WithStartDate(Aws::Utils::DateTime &&value)
NetworkInsightsAccessScopeAnalysis & WithTags(const Aws::Vector< Tag > &value)
NetworkInsightsAccessScopeAnalysis & WithStatusMessage(const char *value)
NetworkInsightsAccessScopeAnalysis & WithStatus(const AnalysisStatus &value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisArn(const Aws::String &value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisArn(const char *value)
NetworkInsightsAccessScopeAnalysis & WithStatus(AnalysisStatus &&value)
AWS_EC2_API NetworkInsightsAccessScopeAnalysis & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
NetworkInsightsAccessScopeAnalysis & WithFindingsFound(FindingsFound &&value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisArn(Aws::String &&value)
NetworkInsightsAccessScopeAnalysis & AddTags(Tag &&value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeId(Aws::String &&value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeId(const Aws::String &value)
NetworkInsightsAccessScopeAnalysis & WithEndDate(const Aws::Utils::DateTime &value)
NetworkInsightsAccessScopeAnalysis & WithNetworkInsightsAccessScopeAnalysisId(const Aws::String &value)
NetworkInsightsAccessScopeAnalysis & WithTags(Aws::Vector< Tag > &&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