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>
22namespace AccessAnalyzer
51 inline void SetCloudTrailArn(
const char* value) { m_cloudTrailArnHasBeenSet =
true; m_cloudTrailArn.assign(value); }
81 inline void SetAllRegions(
bool value) { m_allRegionsHasBeenSet =
true; m_allRegions = value; }
87 bool m_cloudTrailArnHasBeenSet =
false;
90 bool m_regionsHasBeenSet =
false;
93 bool m_allRegionsHasBeenSet =
false;
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ACCESSANALYZER_API TrailProperties()
TrailProperties & WithCloudTrailArn(const char *value)
TrailProperties & AddRegions(Aws::String &&value)
void SetAllRegions(bool value)
void SetCloudTrailArn(const char *value)
AWS_ACCESSANALYZER_API TrailProperties(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API TrailProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCloudTrailArn() const
TrailProperties & WithRegions(const Aws::Vector< Aws::String > &value)
bool GetAllRegions() const
TrailProperties & WithCloudTrailArn(const Aws::String &value)
bool RegionsHasBeenSet() const
void SetCloudTrailArn(const Aws::String &value)
TrailProperties & AddRegions(const Aws::String &value)
void SetRegions(Aws::Vector< Aws::String > &&value)
TrailProperties & WithRegions(Aws::Vector< Aws::String > &&value)
bool AllRegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
void SetCloudTrailArn(Aws::String &&value)
bool CloudTrailArnHasBeenSet() const
void SetRegions(const Aws::Vector< Aws::String > &value)
TrailProperties & AddRegions(const char *value)
TrailProperties & WithAllRegions(bool value)
TrailProperties & WithCloudTrailArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue