7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/Location.h>
9#include <aws/accessanalyzer/model/ValidatePolicyFindingType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace AccessAnalyzer {
45 template <
typename FindingDetailsT = Aws::String>
47 m_findingDetailsHasBeenSet =
true;
48 m_findingDetails = std::forward<FindingDetailsT>(value);
50 template <
typename FindingDetailsT = Aws::String>
69 m_findingTypeHasBeenSet =
true;
70 m_findingType = value;
85 template <
typename IssueCodeT = Aws::String>
87 m_issueCodeHasBeenSet =
true;
88 m_issueCode = std::forward<IssueCodeT>(value);
90 template <
typename IssueCodeT = Aws::String>
103 template <
typename LearnMoreLinkT = Aws::String>
105 m_learnMoreLinkHasBeenSet =
true;
106 m_learnMoreLink = std::forward<LearnMoreLinkT>(value);
108 template <
typename LearnMoreLinkT = Aws::String>
122 template <
typename LocationsT = Aws::Vector<Location>>
124 m_locationsHasBeenSet =
true;
125 m_locations = std::forward<LocationsT>(value);
127 template <
typename LocationsT = Aws::Vector<Location>>
132 template <
typename LocationsT = Location>
134 m_locationsHasBeenSet =
true;
135 m_locations.emplace_back(std::forward<LocationsT>(value));
149 bool m_findingDetailsHasBeenSet =
false;
150 bool m_findingTypeHasBeenSet =
false;
151 bool m_issueCodeHasBeenSet =
false;
152 bool m_learnMoreLinkHasBeenSet =
false;
153 bool m_locationsHasBeenSet =
false;
ValidatePolicyFinding & WithLocations(LocationsT &&value)
void SetFindingDetails(FindingDetailsT &&value)
bool LearnMoreLinkHasBeenSet() const
const Aws::Vector< Location > & GetLocations() const
const Aws::String & GetFindingDetails() const
const Aws::String & GetIssueCode() const
void SetLocations(LocationsT &&value)
bool FindingDetailsHasBeenSet() const
void SetFindingType(ValidatePolicyFindingType value)
const Aws::String & GetLearnMoreLink() const
AWS_ACCESSANALYZER_API ValidatePolicyFinding()=default
ValidatePolicyFinding & AddLocations(LocationsT &&value)
ValidatePolicyFinding & WithIssueCode(IssueCodeT &&value)
bool LocationsHasBeenSet() const
void SetLearnMoreLink(LearnMoreLinkT &&value)
AWS_ACCESSANALYZER_API ValidatePolicyFinding & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
ValidatePolicyFinding & WithFindingType(ValidatePolicyFindingType value)
AWS_ACCESSANALYZER_API ValidatePolicyFinding(Aws::Utils::Json::JsonView jsonValue)
ValidatePolicyFinding & WithLearnMoreLink(LearnMoreLinkT &&value)
bool IssueCodeHasBeenSet() const
ValidatePolicyFinding & WithFindingDetails(FindingDetailsT &&value)
bool FindingTypeHasBeenSet() const
void SetIssueCode(IssueCodeT &&value)
ValidatePolicyFindingType GetFindingType() const
ValidatePolicyFindingType
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue