7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AccessAnalyzer {
31 AWS_ACCESSANALYZER_API
Trail() =
default;
43 template <
typename CloudTrailArnT = Aws::String>
45 m_cloudTrailArnHasBeenSet =
true;
46 m_cloudTrailArn = std::forward<CloudTrailArnT>(value);
48 template <
typename CloudTrailArnT = Aws::String>
62 template <
typename RegionsT = Aws::Vector<Aws::String>>
64 m_regionsHasBeenSet =
true;
65 m_regions = std::forward<RegionsT>(value);
67 template <
typename RegionsT = Aws::Vector<Aws::String>>
72 template <
typename RegionsT = Aws::String>
74 m_regionsHasBeenSet =
true;
75 m_regions.emplace_back(std::forward<RegionsT>(value));
89 m_allRegionsHasBeenSet =
true;
102 bool m_allRegions{
false};
103 bool m_cloudTrailArnHasBeenSet =
false;
104 bool m_regionsHasBeenSet =
false;
105 bool m_allRegionsHasBeenSet =
false;
void SetAllRegions(bool value)
Trail & WithAllRegions(bool value)
Trail & WithRegions(RegionsT &&value)
AWS_ACCESSANALYZER_API Trail & operator=(Aws::Utils::Json::JsonView jsonValue)
bool GetAllRegions() const
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool RegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
Trail & AddRegions(RegionsT &&value)
AWS_ACCESSANALYZER_API Trail(Aws::Utils::Json::JsonView jsonValue)
void SetCloudTrailArn(CloudTrailArnT &&value)
const Aws::String & GetCloudTrailArn() const
bool CloudTrailArnHasBeenSet() const
Trail & WithCloudTrailArn(CloudTrailArnT &&value)
void SetRegions(RegionsT &&value)
bool AllRegionsHasBeenSet() const
AWS_ACCESSANALYZER_API Trail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue