AWS SDK for C++  1.9.157
AWS SDK for C++
ValidatePolicyFinding.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace AccessAnalyzer
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetFindingDetails() const{ return m_findingDetails; }
49 
54  inline bool FindingDetailsHasBeenSet() const { return m_findingDetailsHasBeenSet; }
55 
60  inline void SetFindingDetails(const Aws::String& value) { m_findingDetailsHasBeenSet = true; m_findingDetails = value; }
61 
66  inline void SetFindingDetails(Aws::String&& value) { m_findingDetailsHasBeenSet = true; m_findingDetails = std::move(value); }
67 
72  inline void SetFindingDetails(const char* value) { m_findingDetailsHasBeenSet = true; m_findingDetails.assign(value); }
73 
78  inline ValidatePolicyFinding& WithFindingDetails(const Aws::String& value) { SetFindingDetails(value); return *this;}
79 
84  inline ValidatePolicyFinding& WithFindingDetails(Aws::String&& value) { SetFindingDetails(std::move(value)); return *this;}
85 
90  inline ValidatePolicyFinding& WithFindingDetails(const char* value) { SetFindingDetails(value); return *this;}
91 
92 
101  inline const ValidatePolicyFindingType& GetFindingType() const{ return m_findingType; }
102 
111  inline bool FindingTypeHasBeenSet() const { return m_findingTypeHasBeenSet; }
112 
121  inline void SetFindingType(const ValidatePolicyFindingType& value) { m_findingTypeHasBeenSet = true; m_findingType = value; }
122 
131  inline void SetFindingType(ValidatePolicyFindingType&& value) { m_findingTypeHasBeenSet = true; m_findingType = std::move(value); }
132 
141  inline ValidatePolicyFinding& WithFindingType(const ValidatePolicyFindingType& value) { SetFindingType(value); return *this;}
142 
151  inline ValidatePolicyFinding& WithFindingType(ValidatePolicyFindingType&& value) { SetFindingType(std::move(value)); return *this;}
152 
153 
158  inline const Aws::String& GetIssueCode() const{ return m_issueCode; }
159 
164  inline bool IssueCodeHasBeenSet() const { return m_issueCodeHasBeenSet; }
165 
170  inline void SetIssueCode(const Aws::String& value) { m_issueCodeHasBeenSet = true; m_issueCode = value; }
171 
176  inline void SetIssueCode(Aws::String&& value) { m_issueCodeHasBeenSet = true; m_issueCode = std::move(value); }
177 
182  inline void SetIssueCode(const char* value) { m_issueCodeHasBeenSet = true; m_issueCode.assign(value); }
183 
188  inline ValidatePolicyFinding& WithIssueCode(const Aws::String& value) { SetIssueCode(value); return *this;}
189 
194  inline ValidatePolicyFinding& WithIssueCode(Aws::String&& value) { SetIssueCode(std::move(value)); return *this;}
195 
200  inline ValidatePolicyFinding& WithIssueCode(const char* value) { SetIssueCode(value); return *this;}
201 
202 
206  inline const Aws::String& GetLearnMoreLink() const{ return m_learnMoreLink; }
207 
211  inline bool LearnMoreLinkHasBeenSet() const { return m_learnMoreLinkHasBeenSet; }
212 
216  inline void SetLearnMoreLink(const Aws::String& value) { m_learnMoreLinkHasBeenSet = true; m_learnMoreLink = value; }
217 
221  inline void SetLearnMoreLink(Aws::String&& value) { m_learnMoreLinkHasBeenSet = true; m_learnMoreLink = std::move(value); }
222 
226  inline void SetLearnMoreLink(const char* value) { m_learnMoreLinkHasBeenSet = true; m_learnMoreLink.assign(value); }
227 
231  inline ValidatePolicyFinding& WithLearnMoreLink(const Aws::String& value) { SetLearnMoreLink(value); return *this;}
232 
236  inline ValidatePolicyFinding& WithLearnMoreLink(Aws::String&& value) { SetLearnMoreLink(std::move(value)); return *this;}
237 
241  inline ValidatePolicyFinding& WithLearnMoreLink(const char* value) { SetLearnMoreLink(value); return *this;}
242 
243 
248  inline const Aws::Vector<Location>& GetLocations() const{ return m_locations; }
249 
254  inline bool LocationsHasBeenSet() const { return m_locationsHasBeenSet; }
255 
260  inline void SetLocations(const Aws::Vector<Location>& value) { m_locationsHasBeenSet = true; m_locations = value; }
261 
266  inline void SetLocations(Aws::Vector<Location>&& value) { m_locationsHasBeenSet = true; m_locations = std::move(value); }
267 
272  inline ValidatePolicyFinding& WithLocations(const Aws::Vector<Location>& value) { SetLocations(value); return *this;}
273 
278  inline ValidatePolicyFinding& WithLocations(Aws::Vector<Location>&& value) { SetLocations(std::move(value)); return *this;}
279 
284  inline ValidatePolicyFinding& AddLocations(const Location& value) { m_locationsHasBeenSet = true; m_locations.push_back(value); return *this; }
285 
290  inline ValidatePolicyFinding& AddLocations(Location&& value) { m_locationsHasBeenSet = true; m_locations.push_back(std::move(value)); return *this; }
291 
292  private:
293 
294  Aws::String m_findingDetails;
295  bool m_findingDetailsHasBeenSet;
296 
297  ValidatePolicyFindingType m_findingType;
298  bool m_findingTypeHasBeenSet;
299 
300  Aws::String m_issueCode;
301  bool m_issueCodeHasBeenSet;
302 
303  Aws::String m_learnMoreLink;
304  bool m_learnMoreLinkHasBeenSet;
305 
306  Aws::Vector<Location> m_locations;
307  bool m_locationsHasBeenSet;
308  };
309 
310 } // namespace Model
311 } // namespace AccessAnalyzer
312 } // namespace Aws
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetLearnMoreLink
void SetLearnMoreLink(const Aws::String &value)
Definition: ValidatePolicyFinding.h:216
ValidatePolicyFindingType.h
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::GetLearnMoreLink
const Aws::String & GetLearnMoreLink() const
Definition: ValidatePolicyFinding.h:206
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::IssueCodeHasBeenSet
bool IssueCodeHasBeenSet() const
Definition: ValidatePolicyFinding.h:164
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::operator=
ValidatePolicyFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::LocationsHasBeenSet
bool LocationsHasBeenSet() const
Definition: ValidatePolicyFinding.h:254
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetFindingDetails
void SetFindingDetails(const Aws::String &value)
Definition: ValidatePolicyFinding.h:60
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithIssueCode
ValidatePolicyFinding & WithIssueCode(const Aws::String &value)
Definition: ValidatePolicyFinding.h:188
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithFindingDetails
ValidatePolicyFinding & WithFindingDetails(Aws::String &&value)
Definition: ValidatePolicyFinding.h:84
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithLearnMoreLink
ValidatePolicyFinding & WithLearnMoreLink(Aws::String &&value)
Definition: ValidatePolicyFinding.h:236
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetLocations
void SetLocations(const Aws::Vector< Location > &value)
Definition: ValidatePolicyFinding.h:260
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetFindingType
void SetFindingType(ValidatePolicyFindingType &&value)
Definition: ValidatePolicyFinding.h:131
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetIssueCode
void SetIssueCode(Aws::String &&value)
Definition: ValidatePolicyFinding.h:176
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithLearnMoreLink
ValidatePolicyFinding & WithLearnMoreLink(const Aws::String &value)
Definition: ValidatePolicyFinding.h:231
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetLocations
void SetLocations(Aws::Vector< Location > &&value)
Definition: ValidatePolicyFinding.h:266
AWSVector.h
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetIssueCode
void SetIssueCode(const Aws::String &value)
Definition: ValidatePolicyFinding.h:170
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithLocations
ValidatePolicyFinding & WithLocations(Aws::Vector< Location > &&value)
Definition: ValidatePolicyFinding.h:278
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::GetIssueCode
const Aws::String & GetIssueCode() const
Definition: ValidatePolicyFinding.h:158
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::ValidatePolicyFinding
ValidatePolicyFinding(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::GetFindingType
const ValidatePolicyFindingType & GetFindingType() const
Definition: ValidatePolicyFinding.h:101
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetFindingDetails
void SetFindingDetails(const char *value)
Definition: ValidatePolicyFinding.h:72
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetFindingType
void SetFindingType(const ValidatePolicyFindingType &value)
Definition: ValidatePolicyFinding.h:121
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetLearnMoreLink
void SetLearnMoreLink(Aws::String &&value)
Definition: ValidatePolicyFinding.h:221
Location.h
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::AddLocations
ValidatePolicyFinding & AddLocations(Location &&value)
Definition: ValidatePolicyFinding.h:290
Aws::AccessAnalyzer::Model::ValidatePolicyFinding
Definition: ValidatePolicyFinding.h:36
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithIssueCode
ValidatePolicyFinding & WithIssueCode(Aws::String &&value)
Definition: ValidatePolicyFinding.h:194
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::GetFindingDetails
const Aws::String & GetFindingDetails() const
Definition: ValidatePolicyFinding.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::GetLocations
const Aws::Vector< Location > & GetLocations() const
Definition: ValidatePolicyFinding.h:248
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::FindingTypeHasBeenSet
bool FindingTypeHasBeenSet() const
Definition: ValidatePolicyFinding.h:111
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetIssueCode
void SetIssueCode(const char *value)
Definition: ValidatePolicyFinding.h:182
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithFindingType
ValidatePolicyFinding & WithFindingType(ValidatePolicyFindingType &&value)
Definition: ValidatePolicyFinding.h:151
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetFindingDetails
void SetFindingDetails(Aws::String &&value)
Definition: ValidatePolicyFinding.h:66
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::ValidatePolicyFinding
ValidatePolicyFinding()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithFindingDetails
ValidatePolicyFinding & WithFindingDetails(const Aws::String &value)
Definition: ValidatePolicyFinding.h:78
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithLocations
ValidatePolicyFinding & WithLocations(const Aws::Vector< Location > &value)
Definition: ValidatePolicyFinding.h:272
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithLearnMoreLink
ValidatePolicyFinding & WithLearnMoreLink(const char *value)
Definition: ValidatePolicyFinding.h:241
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::FindingDetailsHasBeenSet
bool FindingDetailsHasBeenSet() const
Definition: ValidatePolicyFinding.h:54
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::AddLocations
ValidatePolicyFinding & AddLocations(const Location &value)
Definition: ValidatePolicyFinding.h:284
Aws::AccessAnalyzer::Model::Location
Definition: Location.h:35
Aws::AccessAnalyzer::Model::ValidatePolicyFindingType
ValidatePolicyFindingType
Definition: ValidatePolicyFindingType.h:17
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::SetLearnMoreLink
void SetLearnMoreLink(const char *value)
Definition: ValidatePolicyFinding.h:226
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithFindingDetails
ValidatePolicyFinding & WithFindingDetails(const char *value)
Definition: ValidatePolicyFinding.h:90
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithFindingType
ValidatePolicyFinding & WithFindingType(const ValidatePolicyFindingType &value)
Definition: ValidatePolicyFinding.h:141
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::WithIssueCode
ValidatePolicyFinding & WithIssueCode(const char *value)
Definition: ValidatePolicyFinding.h:200
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AccessAnalyzer::Model::ValidatePolicyFinding::LearnMoreLinkHasBeenSet
bool LearnMoreLinkHasBeenSet() const
Definition: ValidatePolicyFinding.h:211