7#include <aws/mediastore/MediaStore_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediastore/model/MethodName.h>
62 inline CorsRule&
AddAllowedOrigins(
const char* value) { m_allowedOriginsHasBeenSet =
true; m_allowedOrigins.push_back(value);
return *
this; }
98 inline CorsRule&
AddAllowedHeaders(
const char* value) { m_allowedHeadersHasBeenSet =
true; m_allowedHeaders.push_back(value);
return *
this; }
109 inline void SetMaxAgeSeconds(
int value) { m_maxAgeSecondsHasBeenSet =
true; m_maxAgeSeconds = value; }
128 inline CorsRule&
AddExposeHeaders(
const char* value) { m_exposeHeadersHasBeenSet =
true; m_exposeHeaders.push_back(value);
return *
this; }
133 bool m_allowedOriginsHasBeenSet =
false;
136 bool m_allowedMethodsHasBeenSet =
false;
139 bool m_allowedHeadersHasBeenSet =
false;
142 bool m_maxAgeSecondsHasBeenSet =
false;
145 bool m_exposeHeadersHasBeenSet =
false;
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue