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); }
70 inline Trail&
AddRegions(
const char* value) { m_regionsHasBeenSet =
true; m_regions.push_back(value);
return *
this; }
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;
Trail & AddRegions(Aws::String &&value)
Trail & AddRegions(const char *value)
void SetAllRegions(bool value)
AWS_ACCESSANALYZER_API Trail()
Trail & WithAllRegions(bool value)
Trail & WithRegions(Aws::Vector< Aws::String > &&value)
Trail & WithCloudTrailArn(const char *value)
void SetCloudTrailArn(const char *value)
Trail & WithRegions(const Aws::Vector< Aws::String > &value)
AWS_ACCESSANALYZER_API Trail & operator=(Aws::Utils::Json::JsonView jsonValue)
Trail & WithCloudTrailArn(const Aws::String &value)
void SetRegions(const Aws::Vector< Aws::String > &value)
bool GetAllRegions() const
void SetRegions(Aws::Vector< Aws::String > &&value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCloudTrailArn(Aws::String &&value)
bool RegionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetRegions() const
AWS_ACCESSANALYZER_API Trail(Aws::Utils::Json::JsonView jsonValue)
Trail & AddRegions(const Aws::String &value)
const Aws::String & GetCloudTrailArn() const
bool CloudTrailArnHasBeenSet() const
void SetCloudTrailArn(const Aws::String &value)
bool AllRegionsHasBeenSet() const
Trail & 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