7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/accessanalyzer/model/FindingSource.h>
24namespace AccessAnalyzer
86 inline void SetIsPublic(
bool value) { m_isPublicHasBeenSet =
true; m_isPublic = value; }
128 bool m_actionHasBeenSet =
false;
131 bool m_conditionHasBeenSet =
false;
134 bool m_isPublicHasBeenSet =
false;
137 bool m_principalHasBeenSet =
false;
140 bool m_sourcesHasBeenSet =
false;
ExternalAccessDetails & WithAction(Aws::Vector< Aws::String > &&value)
bool ConditionHasBeenSet() const
ExternalAccessDetails & AddSources(FindingSource &&value)
const Aws::Vector< FindingSource > & GetSources() const
ExternalAccessDetails & AddCondition(const Aws::String &key, const Aws::String &value)
bool PrincipalHasBeenSet() const
ExternalAccessDetails & AddCondition(Aws::String &&key, const char *value)
ExternalAccessDetails & AddCondition(const char *key, const char *value)
ExternalAccessDetails & AddPrincipal(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetCondition() const
bool SourcesHasBeenSet() const
ExternalAccessDetails & WithSources(const Aws::Vector< FindingSource > &value)
ExternalAccessDetails & AddPrincipal(const Aws::String &key, const Aws::String &value)
AWS_ACCESSANALYZER_API ExternalAccessDetails()
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalAccessDetails & AddAction(const Aws::String &value)
ExternalAccessDetails & AddPrincipal(const char *key, const char *value)
AWS_ACCESSANALYZER_API ExternalAccessDetails(Aws::Utils::Json::JsonView jsonValue)
bool IsPublicHasBeenSet() const
ExternalAccessDetails & WithAction(const Aws::Vector< Aws::String > &value)
ExternalAccessDetails & AddCondition(const Aws::String &key, Aws::String &&value)
void SetSources(const Aws::Vector< FindingSource > &value)
const Aws::Vector< Aws::String > & GetAction() const
ExternalAccessDetails & WithIsPublic(bool value)
ExternalAccessDetails & WithPrincipal(Aws::Map< Aws::String, Aws::String > &&value)
ExternalAccessDetails & AddCondition(Aws::String &&key, Aws::String &&value)
void SetPrincipal(const Aws::Map< Aws::String, Aws::String > &value)
ExternalAccessDetails & AddPrincipal(Aws::String &&key, Aws::String &&value)
ExternalAccessDetails & WithCondition(Aws::Map< Aws::String, Aws::String > &&value)
ExternalAccessDetails & AddCondition(Aws::String &&key, const Aws::String &value)
void SetCondition(const Aws::Map< Aws::String, Aws::String > &value)
void SetPrincipal(Aws::Map< Aws::String, Aws::String > &&value)
ExternalAccessDetails & AddCondition(const char *key, Aws::String &&value)
ExternalAccessDetails & AddAction(const char *value)
void SetAction(Aws::Vector< Aws::String > &&value)
ExternalAccessDetails & AddSources(const FindingSource &value)
bool ActionHasBeenSet() const
ExternalAccessDetails & AddPrincipal(const char *key, Aws::String &&value)
ExternalAccessDetails & AddAction(Aws::String &&value)
ExternalAccessDetails & WithSources(Aws::Vector< FindingSource > &&value)
AWS_ACCESSANALYZER_API ExternalAccessDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAction(const Aws::Vector< Aws::String > &value)
void SetCondition(Aws::Map< Aws::String, Aws::String > &&value)
ExternalAccessDetails & WithCondition(const Aws::Map< Aws::String, Aws::String > &value)
ExternalAccessDetails & AddPrincipal(const Aws::String &key, Aws::String &&value)
ExternalAccessDetails & WithPrincipal(const Aws::Map< Aws::String, Aws::String > &value)
void SetSources(Aws::Vector< FindingSource > &&value)
void SetIsPublic(bool value)
const Aws::Map< Aws::String, Aws::String > & GetPrincipal() const
ExternalAccessDetails & AddPrincipal(Aws::String &&key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue