7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/CacheType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/codebuild/model/CacheMode.h>
67 template<
typename LocationT = Aws::String>
68 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
69 template<
typename LocationT = Aws::String>
103 template<
typename ModesT = Aws::Vector<CacheMode>>
104 void SetModes(ModesT&& value) { m_modesHasBeenSet =
true; m_modes = std::forward<ModesT>(value); }
105 template<
typename ModesT = Aws::Vector<CacheMode>>
119 template<
typename CacheNamespaceT = Aws::String>
120 void SetCacheNamespace(CacheNamespaceT&& value) { m_cacheNamespaceHasBeenSet =
true; m_cacheNamespace = std::forward<CacheNamespaceT>(value); }
121 template<
typename CacheNamespaceT = Aws::String>
127 bool m_typeHasBeenSet =
false;
130 bool m_locationHasBeenSet =
false;
133 bool m_modesHasBeenSet =
false;
136 bool m_cacheNamespaceHasBeenSet =
false;
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CODEBUILD_API ProjectCache()=default
bool LocationHasBeenSet() const
const Aws::String & GetCacheNamespace() const
ProjectCache & WithModes(ModesT &&value)
ProjectCache & WithLocation(LocationT &&value)
const Aws::Vector< CacheMode > & GetModes() const
void SetModes(ModesT &&value)
const Aws::String & GetLocation() const
CacheType GetType() const
bool CacheNamespaceHasBeenSet() const
bool ModesHasBeenSet() const
ProjectCache & WithType(CacheType value)
AWS_CODEBUILD_API ProjectCache & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCacheNamespace(CacheNamespaceT &&value)
void SetLocation(LocationT &&value)
ProjectCache & AddModes(CacheMode value)
void SetType(CacheType value)
bool TypeHasBeenSet() const
ProjectCache & WithCacheNamespace(CacheNamespaceT &&value)
AWS_CODEBUILD_API ProjectCache(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue