7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/ValidatePolicyFindingType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/accessanalyzer/model/Location.h>
24namespace AccessAnalyzer
51 template<
typename FindingDetailsT = Aws::String>
52 void SetFindingDetails(FindingDetailsT&& value) { m_findingDetailsHasBeenSet =
true; m_findingDetails = std::forward<FindingDetailsT>(value); }
53 template<
typename FindingDetailsT = Aws::String>
79 template<
typename IssueCodeT = Aws::String>
80 void SetIssueCode(IssueCodeT&& value) { m_issueCodeHasBeenSet =
true; m_issueCode = std::forward<IssueCodeT>(value); }
81 template<
typename IssueCodeT = Aws::String>
91 template<
typename LearnMoreLinkT = Aws::String>
92 void SetLearnMoreLink(LearnMoreLinkT&& value) { m_learnMoreLinkHasBeenSet =
true; m_learnMoreLink = std::forward<LearnMoreLinkT>(value); }
93 template<
typename LearnMoreLinkT = Aws::String>
104 template<
typename LocationsT = Aws::Vector<Location>>
105 void SetLocations(LocationsT&& value) { m_locationsHasBeenSet =
true; m_locations = std::forward<LocationsT>(value); }
106 template<
typename LocationsT = Aws::Vector<Location>>
108 template<
typename LocationsT = Location>
114 bool m_findingDetailsHasBeenSet =
false;
117 bool m_findingTypeHasBeenSet =
false;
120 bool m_issueCodeHasBeenSet =
false;
123 bool m_learnMoreLinkHasBeenSet =
false;
126 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