7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
63 inline void SetAllowCredentials(
bool value) { m_allowCredentialsHasBeenSet =
true; m_allowCredentials = value; }
89 inline void SetMaxAge(
int value) { m_maxAgeHasBeenSet =
true; m_maxAge = value; }
125 bool m_allowOriginsHasBeenSet =
false;
127 bool m_allowCredentials;
128 bool m_allowCredentialsHasBeenSet =
false;
131 bool m_exposeHeadersHasBeenSet =
false;
134 bool m_maxAgeHasBeenSet =
false;
137 bool m_allowMethodsHasBeenSet =
false;
140 bool m_allowHeadersHasBeenSet =
false;
AWS_SECURITYHUB_API AwsCorsConfiguration(Aws::Utils::Json::JsonView jsonValue)
AwsCorsConfiguration & WithAllowMethods(Aws::Vector< Aws::String > &&value)
AwsCorsConfiguration & AddAllowOrigins(const char *value)
AwsCorsConfiguration & WithAllowOrigins(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAllowMethods() const
void SetAllowHeaders(Aws::Vector< Aws::String > &&value)
void SetAllowOrigins(const Aws::Vector< Aws::String > &value)
AwsCorsConfiguration & AddAllowHeaders(const Aws::String &value)
bool MaxAgeHasBeenSet() const
const Aws::Vector< Aws::String > & GetExposeHeaders() const
AwsCorsConfiguration & WithAllowHeaders(Aws::Vector< Aws::String > &&value)
AwsCorsConfiguration & AddExposeHeaders(Aws::String &&value)
AwsCorsConfiguration & AddAllowMethods(Aws::String &&value)
AwsCorsConfiguration & AddAllowOrigins(Aws::String &&value)
AWS_SECURITYHUB_API AwsCorsConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetAllowOrigins() const
bool AllowHeadersHasBeenSet() const
AwsCorsConfiguration & WithMaxAge(int value)
void SetAllowHeaders(const Aws::Vector< Aws::String > &value)
void SetExposeHeaders(const Aws::Vector< Aws::String > &value)
AwsCorsConfiguration & AddExposeHeaders(const char *value)
AwsCorsConfiguration & WithAllowMethods(const Aws::Vector< Aws::String > &value)
AwsCorsConfiguration & WithExposeHeaders(Aws::Vector< Aws::String > &&value)
void SetMaxAge(int value)
AwsCorsConfiguration & WithExposeHeaders(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API AwsCorsConfiguration()
void SetAllowOrigins(Aws::Vector< Aws::String > &&value)
AwsCorsConfiguration & AddAllowOrigins(const Aws::String &value)
bool AllowMethodsHasBeenSet() const
AwsCorsConfiguration & WithAllowCredentials(bool value)
void SetAllowMethods(Aws::Vector< Aws::String > &&value)
void SetAllowCredentials(bool value)
AwsCorsConfiguration & AddAllowHeaders(const char *value)
AwsCorsConfiguration & AddAllowMethods(const Aws::String &value)
AwsCorsConfiguration & AddAllowHeaders(Aws::String &&value)
AwsCorsConfiguration & WithAllowOrigins(Aws::Vector< Aws::String > &&value)
AwsCorsConfiguration & AddAllowMethods(const char *value)
bool AllowOriginsHasBeenSet() const
bool AllowCredentialsHasBeenSet() const
AwsCorsConfiguration & WithAllowHeaders(const Aws::Vector< Aws::String > &value)
bool GetAllowCredentials() const
AwsCorsConfiguration & AddExposeHeaders(const Aws::String &value)
void SetAllowMethods(const Aws::Vector< Aws::String > &value)
void SetExposeHeaders(Aws::Vector< Aws::String > &&value)
bool ExposeHeadersHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< Aws::String > & GetAllowHeaders() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue